Help in C++ Question in 1 hour

Job ID: 31962467

Budget: ₹400 – ₹750 INR

PRODUCT RECOMMENDER SYSTEM

Mr. XYZ is appointed as a manager of an online shopping site. At the backend, the website is maintaining the data for two main entities namely, Customers and Products. Within the few days of the manager’s joining, he came to know about the challenge of decreasing sales of Products. Based on his knowledge and market survey analysis, he proposed to implement a recommender system on the website, that will utilize the Customers and Products data at the backend and will recommend Products to the Customers efficiently. After the approval of the proposed idea, the manager contacted Mr. ABC for efficient logic development. Once the logic was developed the manager approached you. As you are an efficient software engineer in the company, you are given the task of implementing the efficient Product recommendation system for the website. So, you need to implement the Product recommender system as per the following logic proposed by Mr. ABC.



INPUT: The Recommender System will take the following input as data:



Customer-Product Matrix: Binary 2-dimensional matrix containing the details of which Customer has purchased which Product. Value is 1 if the customer has purchased the corresponding product, else it is zero. Here, 0th index customer is considered as C1, 1 index customer as C2, 2 index as C3 and so on. Similarly, 0th index product is considered as P1, 1 index as P2, 2 index as P3 and so on.


Product-Product Matrix: A symmetric 2-dimensional, containing the similarity index (ranging between 0 to 1 inclusive) between the products.


STEPS: The following steps are proposed for implementation of the Product recommender system:

Generate Customer-Customer Similarity: Use the Customer-Product Matrix for generating the similarity between any two customers using the dot product. This needs to be generated for every customer, against every other customer existing within the system.
Related categories: C Programming C++ Programming Programming