Train a matrix factorization model given an RDD of ratings given by users to some products, in the form of (userID, productID, rating) pairs.
Train a matrix factorization model given an RDD of ratings given by users to some products,
in the form of (userID, productID, rating) pairs. We approximate the ratings matrix as the
product of two lower-rank matrices of a given rank (number of features). To solve for these
features, we run a given number of iterations of ALS. The level of parallelism is determined
automatically based on the number of partitions in ratings
.
RDD of (userID, productID, rating) pairs
number of features to use
number of iterations of ALS (recommended: 10-20)
Train a matrix factorization model given an RDD of ratings given by users to some products, in the form of (userID, productID, rating) pairs.
Train a matrix factorization model given an RDD of ratings given by users to some products,
in the form of (userID, productID, rating) pairs. We approximate the ratings matrix as the
product of two lower-rank matrices of a given rank (number of features). To solve for these
features, we run a given number of iterations of ALS. The level of parallelism is determined
automatically based on the number of partitions in ratings
.
RDD of (userID, productID, rating) pairs
number of features to use
number of iterations of ALS (recommended: 10-20)
regularization factor (recommended: 0.01)
Train a matrix factorization model given an RDD of ratings given by users to some products, in the form of (userID, productID, rating) pairs.
Train a matrix factorization model given an RDD of ratings given by users to some products,
in the form of (userID, productID, rating) pairs. We approximate the ratings matrix as the
product of two lower-rank matrices of a given rank (number of features). To solve for these
features, we run a given number of iterations of ALS. This is done using a level of
parallelism given by blocks
.
RDD of (userID, productID, rating) pairs
number of features to use
number of iterations of ALS (recommended: 10-20)
regularization factor (recommended: 0.01)
level of parallelism to split computation into
Top-level methods for calling Alternating Least Squares (ALS) matrix factorizaton.