SVDCompleteIncrementalLearning< arma::sp_mat > Class Template Reference

TODO : Merge this template specialized function for sparse matrix using common row_col_iterator. More...

Public Member Functions

 SVDCompleteIncrementalLearning (double u=0.01, double kw=0, double kh=0)
 
 ~SVDCompleteIncrementalLearning ()
 
void HUpdate (const arma::sp_mat &, 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...

 

Detailed Description


template
<
>

class mlpack::amf::SVDCompleteIncrementalLearning< arma::sp_mat >

TODO : Merge this template specialized function for sparse matrix using common row_col_iterator.

template specialiazed functions for sparse matrices

Definition at line 169 of file svd_complete_incremental_learning.hpp.

Constructor & Destructor Documentation

◆ SVDCompleteIncrementalLearning()

SVDCompleteIncrementalLearning ( double  u = 0.01,
double  kw = 0,
double  kh = 0 
)
inline

Definition at line 172 of file svd_complete_incremental_learning.hpp.

◆ ~SVDCompleteIncrementalLearning()

Member Function Documentation

◆ HUpdate()

void HUpdate ( const arma::sp_mat &  ,
const arma::mat &  W,
arma::mat &  H 
)
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.

Parameters
*(V) Input matrix to be factorized.
WBasis matrix.
HEncoding matrix to be updated.

Definition at line 238 of file svd_complete_incremental_learning.hpp.

◆ Initialize()

void Initialize ( const arma::sp_mat &  dataset,
const size_t  rank 
)
inline

Definition at line 183 of file svd_complete_incremental_learning.hpp.

◆ WUpdate()

void WUpdate ( const arma::sp_mat &  V,
arma::mat &  W,
const arma::mat &  H 
)
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.

Parameters
VInput matrix to be factorized.
WBasis matrix to be updated.
HEncoding matrix.

Definition at line 202 of file svd_complete_incremental_learning.hpp.


The documentation for this class was generated from the following file: