|
mlpack
|
TODO : Merge this template specialized function for sparse matrix using common row_col_iterator. More...
#include <svd_complete_incremental_learning.hpp>
Public Member Functions | |
| SVDCompleteIncrementalLearning (double u=0.01, double kw=0, double kh=0) | |
| 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... | |
| void | HUpdate (const arma::sp_mat &, const arma::mat &W, arma::mat &H) |
| The update rule for the encoding matrix H. More... | |
TODO : Merge this template specialized function for sparse matrix using common row_col_iterator.
template specialiazed functions for sparse matrices
|
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. |
|
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. |
1.8.13