SYNOPSIS

Public Member Functions

CompleteIncrementalTermination (TerminationPolicy t_policy=TerminationPolicy())

const double & Index ()

template<class MatType > void Initialize (const MatType &V)

void Initialize (const arma::sp_mat &V)

bool IsConverged (arma::mat &W, arma::mat &H)

const size_t & Iteration ()

const size_t & MaxIterations ()

Private Attributes

size_t incrementalIndex

size_t iteration

TerminationPolicy t_policy

Detailed Description

template<class TerminationPolicy>class mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >

Definition at line 31 of file complete_incremental_termination.hpp.

Constructor & Destructor Documentation

template<class TerminationPolicy > \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::\fBCompleteIncrementalTermination\fP (TerminationPolicyt_policy = \fCTerminationPolicy()\fP)\fC [inline]\fP

Definition at line 34 of file complete_incremental_termination.hpp.

Member Function Documentation

template<class TerminationPolicy > const double& \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::Index ()\fC [inline]\fP

Definition at line 62 of file complete_incremental_termination.hpp.

References mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::t_policy.

template<class TerminationPolicy > template<class MatType > void \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::Initialize (const MatType &V)\fC [inline]\fP

Definition at line 38 of file complete_incremental_termination.hpp.

References mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::incrementalIndex, mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::iteration, and mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::t_policy.

template<class TerminationPolicy > void \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::Initialize (const arma::sp_mat &V)\fC [inline]\fP

Definition at line 46 of file complete_incremental_termination.hpp.

References mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::incrementalIndex, mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::iteration, and mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::t_policy.

template<class TerminationPolicy > bool \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::IsConverged (arma::mat &W, arma::mat &H)\fC [inline]\fP

Definition at line 54 of file complete_incremental_termination.hpp.

References mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::incrementalIndex, mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::iteration, and mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::t_policy.

template<class TerminationPolicy > const size_t& \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::Iteration ()\fC [inline]\fP

Definition at line 66 of file complete_incremental_termination.hpp.

References mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::iteration.

template<class TerminationPolicy > const size_t& \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::MaxIterations ()\fC [inline]\fP

Definition at line 71 of file complete_incremental_termination.hpp.

References mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::t_policy.

Member Data Documentation

template<class TerminationPolicy > size_t \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::incrementalIndex\fC [private]\fP

Definition at line 79 of file complete_incremental_termination.hpp.

Referenced by mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::Initialize(), and mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::IsConverged().

template<class TerminationPolicy > size_t \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::iteration\fC [private]\fP

Definition at line 80 of file complete_incremental_termination.hpp.

Referenced by mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::Initialize(), mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::IsConverged(), and mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::Iteration().

template<class TerminationPolicy > TerminationPolicy \fBmlpack::amf::CompleteIncrementalTermination\fP< TerminationPolicy >::t_policy\fC [private]\fP

Definition at line 77 of file complete_incremental_termination.hpp.

Referenced by mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::Index(), mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::Initialize(), mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::IsConverged(), and mlpack::amf::CompleteIncrementalTermination< TerminationPolicy >::MaxIterations().

Author

Generated automatically by Doxygen for MLPACK from the source code.