Class MovieLensSQLExample
- java.lang.Object
-
- org.apache.ignite.examples.ml.recommendation.MovieLensSQLExample
-
public class MovieLensSQLExample extends java.lang.ObjectExample of recommendation system based on MovieLens dataset (see https://grouplens.org/datasets/movielens/) and SQL. In this example we create a cache with MovieLens rating data. Each entry in this cache represents a rating point (rating set by a single user to a single movie). Then we pass this cache toRecommendationTrainerand so that trainRecommendationModel. This model predicts rating with assumed to be set by any user to any movie. When model is ready we calculate R2 score.
-
-
Constructor Summary
Constructors Constructor Description MovieLensSQLExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Run example.
-