Mlpack::svd::regularizedsvd optimizertype -
RegularizedSVD (const arma::mat &data, arma::mat &u, arma::mat &v, const size_t rank, const size_t iterations=10, const double alpha=0.01, const double lambda=0.02)
Constructor for Regularized SVD.
double alpha
Learning rate for the SGD optimizer. const arma::mat & data
Rating data. size_t iterations
Number of optimization iterations. double lambda
Regularization parameter for the optimization. mlpack::optimization::SGD
< RegularizedSVDFunction > optimizer"
Default SGD optimizer for the class. size_t rank
Rank used for matrix factorization. RegularizedSVDFunction rSVDFunc
Function that will be held by the optimizer.
Definition at line 37 of file regularized_svd.hpp.
Constructor for Regularized SVD. Obtains the user and item matrices after training on the passed data. The constructor initiates an object of class RegularizedSVDFunction for optimization. It uses the SGD optimizer by default. The optimizer uses a template specialization of Optimize().
Parameters:
data Dataset for which SVD is calculated.
u User matrix in the matrix decomposition.
v Item matrix in the matrix decomposition.
rank Rank used for matrix factorization.
iterations Number of optimization iterations.
lambda Regularization parameter for the optimization.
Learning rate for the SGD optimizer.
Definition at line 70 of file regularized_svd.hpp.
Rating data.
Definition at line 64 of file regularized_svd.hpp.
Number of optimization iterations.
Definition at line 68 of file regularized_svd.hpp.
Regularization parameter for the optimization.
Definition at line 72 of file regularized_svd.hpp.
Default SGD optimizer for the class.
Definition at line 76 of file regularized_svd.hpp.
Rank used for matrix factorization.
Definition at line 66 of file regularized_svd.hpp.
Function that will be held by the optimizer.
Definition at line 74 of file regularized_svd.hpp.
Generated automatically by Doxygen for MLPACK from the source code.