14#ifndef MLPACK_METHODS_BIAS_SVD_BIAS_SVD_HPP
15#define MLPACK_METHODS_BIAS_SVD_BIAS_SVD_HPP
18#include <ensmallen.hpp>
56template<
typename OptimizerType = ens::StandardSGD>
69 const double alpha = 0.02,
70 const double lambda = 0.05);
82 void Apply(
const arma::mat& data,
102#include "bias_svd_impl.hpp"
Bias SVD is an improvement on Regularized SVD which is a matrix factorization techniques.
BiasSVD(const size_t iterations=10, const double alpha=0.02, const double lambda=0.05)
Constructor of Bias SVD.
void Apply(const arma::mat &data, const size_t rank, arma::mat &u, arma::mat &v, arma::vec &p, arma::vec &q)
Trains the model and obtains user/item matrices and user/item bias.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.