Trait for least squares solvers applied to the normal equation.
Common params for ALS.
Alternating Least Squares (ALS) matrix factorization.
Cholesky solver for least square problems.
In-link block for computing src (user/item) factors.
Encoder for storing (blockId, localIndex) into a single integer.
Representing a normal equation to solve the following weighted least squares problem:
Rating class for better code readability.
A rating block that contains src IDs, dst IDs, and ratings, stored in primitive arrays.
A block of (srcId, dstEncodedIndex, rating) tuples stored in primitive arrays.
Builder for uncompressed in-blocks of (srcId, dstEncodedIndex, rating) tuples.
Model fitted by ALS.