in Education by
I am developing a website, which will recommend recipes to the visitors based on their data. I am collecting data from their profile, website activity and facebook. Currently I have data like [username/userId, rating of recipes, age, gender, type(veg/Non veg), cuisine(Italian/Chinese.. etc.)]. With respect to above features I want to recommend new recipes which they have not visited. I have implemented ALS (alternating least squares) spark algorithm. In this we have to prepare csv which contains [userId,RecipesId,Rating] columns. Then we have to train this data and create the model by adjusting parameters like lamdas, Rank, iteration. This model generated recommendation, using pyspark model.recommendProducts(userId, numberOfRecommendations) The ALS algorithm accepts only three features userId, RecipesId, Rating. I am unable to include more features (like type, cuisine, gender etc.) apart from which I have mentioned above (userId, RecipesId, Rating). I want to include those features, then train the model and generate recommendations. Is there any other algorithm in which I can include above parameters and generate recommendation. Any help would be appreciated, Thanks. Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Firstly, I would like to suggest you the most widely used algorithm that is “Logistic Regression”. In this algorithm, the probabilities describing the possible outcomes of a single trial is modelled using a logistic function.One of the advantages of using logistic regression is, it is very useful in understanding the influence of several independent variables on a single outcome variable. You can use other algorithms also like: 1.Naive Bayes classifier 2.Support Vector Mechanism(SVM) 3.Collaborative filtering If you wish to know more about the Support Vector Machine visit this Support Vector Machine Tutorial.

Related questions

0 votes
    I'm working through my AI textbook I got and I've come to the last homework problem for my section: "Implement the ... in C# or Java? Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    We want to predict the probability of death from heart disease based on three risk factors: age, gender, and blood ... level. What is the most appropriate algorithm for this case?...
asked Apr 27, 2021 in Technology by JackTerrance
0 votes
    There are a lot of classifiers to choose from but how to understand which classifier to use and when? Is there ... I should follow ? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I'm hoping to use either Haskell or OCaml on a new project because R is too slow. I need to be able to ... in either Haskell or OCaml? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I'm hoping to use either Haskell or OCaml on a new project because R is too slow. I need to be able to ... in either Haskell or OCaml? Select the correct answer from above options...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    I'm trying to write a program that takes text(article) as input and outputs the polarity of this text, ... open-source implementation. Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    Recently i was doing the Machine Learning course at Coursera by Prof. Andrew Ng. After doing this course i ... be highly appreciated. Select the correct answer from above options...
asked Feb 3, 2022 in Education by JackTerrance
0 votes
    I have learned a Machine Learning course using Matlab as a prototyping tool. Since I got addicted to F#, I ... of resources? Thanks. Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    Here's a puzzle... I have two databases of the same 50000+ electronic products and I want to match products ... I tackle this problem? Select the correct answer from above options...
asked Jan 29, 2022 in Education by JackTerrance
0 votes
    I just started with machine learning. I want to know about the applications of machine learning. I know we ... recent applications. Select the correct answer from above options...
asked Jan 26, 2022 in Education by JackTerrance
0 votes
    Can someone tell me the difference between Data Analysis, Data Mining, Data Analytics, Data Science, Machine learning ... each other. Select the correct answer from above options...
asked Jan 24, 2022 in Education by JackTerrance
0 votes
    What is machine learning? State some applications of machine learning. What will the machine learning code do? When ... set of inputs? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    Previously, I have implemented a variety of machine learning & statistical algorithms in C++ and MATLAB but I ... learning in Python? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    While training my neural network using Theano or tensorflow, a variable called loss per epoch was reported. Now ... neural network? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I have noticed that when One Hot encoding is used on a particular data set (a matrix) and used as training data ... how does it happen? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
...