mlpack
1.0.12
|
Public Member Functions | |
SVDCompleteIncrementalLearning (double u=0.01, double kw=0, double kh=0) | |
~SVDCompleteIncrementalLearning () | |
void | HUpdate (const arma::sp_mat &V, const arma::mat &W, arma::mat &H) |
The update rule for the encoding matrix H. More... | |
void | Initialize (const arma::sp_mat &dataset, const size_t rank) |
void | WUpdate (const arma::sp_mat &V, arma::mat &W, const arma::mat &H) |
The update rule for the basis matrix W. More... | |
Private Attributes | |
arma::sp_mat | dummy |
bool | isStart |
arma::sp_mat::const_iterator * | it |
double | kh |
double | kw |
size_t | m |
size_t | n |
double | u |
Definition at line 122 of file svd_complete_incremental_learning.hpp.
|
inline |
Definition at line 125 of file svd_complete_incremental_learning.hpp.
|
inline |
Definition at line 131 of file svd_complete_incremental_learning.hpp.
|
inline |
The update rule for the encoding matrix H.
The function takes in all the matrices and only changes the value of the H matrix.
V | Input matrix to be factorized. |
W | Basis matrix. |
H | Encoding matrix to be updated. |
Definition at line 190 of file svd_complete_incremental_learning.hpp.
References mlpack::amf::SVDCompleteIncrementalLearning< MatType >::currentItemIndex, mlpack::amf::SVDCompleteIncrementalLearning< MatType >::currentUserIndex, mlpack::amf::SVDCompleteIncrementalLearning< MatType >::kh, and mlpack::amf::SVDCompleteIncrementalLearning< MatType >::u.
|
inline |
Definition at line 136 of file svd_complete_incremental_learning.hpp.
References mlpack::amf::SVDCompleteIncrementalLearning< MatType >::m, and mlpack::amf::SVDCompleteIncrementalLearning< MatType >::n.
|
inline |
The update rule for the basis matrix W.
The function takes in all the matrices and only changes the value of the W matrix.
V | Input matrix to be factorized. |
W | Basis matrix to be updated. |
H | Encoding matrix. |
Definition at line 155 of file svd_complete_incremental_learning.hpp.
References mlpack::amf::SVDCompleteIncrementalLearning< MatType >::currentItemIndex, mlpack::amf::SVDCompleteIncrementalLearning< MatType >::currentUserIndex, mlpack::amf::SVDCompleteIncrementalLearning< MatType >::kw, and mlpack::amf::SVDCompleteIncrementalLearning< MatType >::u.
|
private |
Definition at line 217 of file svd_complete_incremental_learning.hpp.
|
private |
Definition at line 220 of file svd_complete_incremental_learning.hpp.
|
private |
Definition at line 218 of file svd_complete_incremental_learning.hpp.
|
private |
Definition at line 212 of file svd_complete_incremental_learning.hpp.
|
private |
Definition at line 211 of file svd_complete_incremental_learning.hpp.
|
private |
Definition at line 215 of file svd_complete_incremental_learning.hpp.
|
private |
Definition at line 214 of file svd_complete_incremental_learning.hpp.
|
private |
Definition at line 210 of file svd_complete_incremental_learning.hpp.