13 #ifndef MLPACK_METHODS_REGULARIZED_SVD_REGULARIZED_SVD_HPP 14 #define MLPACK_METHODS_REGULARIZED_SVD_REGULARIZED_SVD_HPP 57 template<
typename OptimizerType = mlpack::optimization::StandardSGD>
72 const double alpha = 0.01,
73 const double lambda = 0.02);
83 void Apply(
const arma::mat& data,
109 static const bool UsesCoordinateList =
true;
116 #include "regularized_svd_impl.hpp" Regularized SVD is a matrix factorization technique that seeks to reduce the error on the training se...
The core includes that mlpack expects; standard C++ includes and Armadillo.
RegularizedSVD(const size_t iterations=10, const double alpha=0.01, const double lambda=0.02)
Constructor for Regularized SVD.
void Apply(const arma::mat &data, const size_t rank, arma::mat &u, arma::mat &v)
Obtains the user and item matrices using the provided data and rank.
Template class for factorizer traits.