FINETUNE
feature.SHOW ML_ENGINES
.
Now let’s create a LightFM model specifying the necessary input parameters.
item_id
parameter that stores items to be recommended; here, these are movies.user_id
parameter that stores users to whom items are recommended.threshold
parameter is used when score of interaction is provided in the input data. It defines the threshold for the recommendation.n_recommendations
parameter stores the number of recommendations to be returned.evaluation
parameter if you want to store the evaluation metrics. It is set to false
by default.
mysql_demo_db
used for training the model: