MLPACK  1.0.10
Public Member Functions | Private Attributes | List of all members
mlpack::amf::SimpleToleranceTermination< MatType > Class Template Reference

Public Member Functions

 SimpleToleranceTermination (const double tolerance=1e-5, const size_t maxIterations=10000, const size_t reverseStepTolerance=3)
 
const double & Index ()
 
void Initialize (const MatType &V)
 
bool IsConverged (arma::mat &W, arma::mat &H)
 
const size_t & Iteration ()
 
const size_t & MaxIterations ()
 

Private Attributes

double c_index
 
double c_indexOld
 
arma::mat H
 
bool isCopy
 
size_t iteration
 
size_t maxIterations
 
double normOld
 
double residue
 
double residueOld
 
size_t reverseStepCount
 
size_t reverseStepTolerance
 
double tolerance
 
const MatType * V
 
arma::mat W
 

Detailed Description

template<class MatType>
class mlpack::amf::SimpleToleranceTermination< MatType >

Definition at line 29 of file simple_tolerance_termination.hpp.

Constructor & Destructor Documentation

template<class MatType >
mlpack::amf::SimpleToleranceTermination< MatType >::SimpleToleranceTermination ( const double  tolerance = 1e-5,
const size_t  maxIterations = 10000,
const size_t  reverseStepTolerance = 3 
)
inline

Definition at line 32 of file simple_tolerance_termination.hpp.

Member Function Documentation

template<class MatType >
const double& mlpack::amf::SimpleToleranceTermination< MatType >::Index ( )
inline
template<class MatType >
void mlpack::amf::SimpleToleranceTermination< MatType >::Initialize ( const MatType &  V)
inline
template<class MatType >
bool mlpack::amf::SimpleToleranceTermination< MatType >::IsConverged ( arma::mat &  W,
arma::mat &  H 
)
inline
template<class MatType >
const size_t& mlpack::amf::SimpleToleranceTermination< MatType >::Iteration ( )
inline
template<class MatType >
const size_t& mlpack::amf::SimpleToleranceTermination< MatType >::MaxIterations ( )
inline

Member Data Documentation

template<class MatType >
double mlpack::amf::SimpleToleranceTermination< MatType >::c_index
private
template<class MatType >
double mlpack::amf::SimpleToleranceTermination< MatType >::c_indexOld
private
template<class MatType >
arma::mat mlpack::amf::SimpleToleranceTermination< MatType >::H
private
template<class MatType >
bool mlpack::amf::SimpleToleranceTermination< MatType >::isCopy
private
template<class MatType >
size_t mlpack::amf::SimpleToleranceTermination< MatType >::iteration
private
template<class MatType >
size_t mlpack::amf::SimpleToleranceTermination< MatType >::maxIterations
private
template<class MatType >
double mlpack::amf::SimpleToleranceTermination< MatType >::normOld
private

Definition at line 132 of file simple_tolerance_termination.hpp.

template<class MatType >
double mlpack::amf::SimpleToleranceTermination< MatType >::residue
private
template<class MatType >
double mlpack::amf::SimpleToleranceTermination< MatType >::residueOld
private
template<class MatType >
size_t mlpack::amf::SimpleToleranceTermination< MatType >::reverseStepCount
private
template<class MatType >
size_t mlpack::amf::SimpleToleranceTermination< MatType >::reverseStepTolerance
private
template<class MatType >
double mlpack::amf::SimpleToleranceTermination< MatType >::tolerance
private

Definition at line 124 of file simple_tolerance_termination.hpp.

template<class MatType >
const MatType* mlpack::amf::SimpleToleranceTermination< MatType >::V
private
template<class MatType >
arma::mat mlpack::amf::SimpleToleranceTermination< MatType >::W
private

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