SYNOPSIS

Public Member Functions

ValidationRMSETermination (MatType &V, size_t num_test_points, double tolerance=1e-5, size_t maxIterations=10000, size_t reverseStepTolerance=3)

const double & Index ()

void Initialize (const MatType &)

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

size_t num_test_points

size_t reverseStepCount

size_t reverseStepTolerance

double rmse

double rmseOld

arma::Mat< double > test_points

double tolerance

arma::mat W

Detailed Description

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

Definition at line 32 of file validation_RMSE_termination.hpp.

Constructor & Destructor Documentation

template<class MatType > \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::\fBValidationRMSETermination\fP (MatType &V, size_tnum_test_points, doubletolerance = \fC1e-5\fP, size_tmaxIterations = \fC10000\fP, size_treverseStepTolerance = \fC3\fP)\fC [inline]\fP

Definition at line 35 of file validation_RMSE_termination.hpp.

References mlpack::amf::ValidationRMSETermination< MatType >::num_test_points, and mlpack::amf::ValidationRMSETermination< MatType >::test_points.

Member Function Documentation

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

Definition at line 142 of file validation_RMSE_termination.hpp.

References mlpack::amf::ValidationRMSETermination< MatType >::rmse.

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

Definition at line 68 of file validation_RMSE_termination.hpp.

References mlpack::amf::ValidationRMSETermination< MatType >::c_index, mlpack::amf::ValidationRMSETermination< MatType >::c_indexOld, mlpack::amf::ValidationRMSETermination< MatType >::isCopy, mlpack::amf::ValidationRMSETermination< MatType >::iteration, mlpack::amf::ValidationRMSETermination< MatType >::reverseStepCount, mlpack::amf::ValidationRMSETermination< MatType >::rmse, and mlpack::amf::ValidationRMSETermination< MatType >::rmseOld.

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

Definition at line 82 of file validation_RMSE_termination.hpp.

References mlpack::amf::ValidationRMSETermination< MatType >::c_index, mlpack::amf::ValidationRMSETermination< MatType >::c_indexOld, mlpack::amf::ValidationRMSETermination< MatType >::H, mlpack::amf::ValidationRMSETermination< MatType >::isCopy, mlpack::amf::ValidationRMSETermination< MatType >::iteration, mlpack::amf::ValidationRMSETermination< MatType >::maxIterations, mlpack::amf::ValidationRMSETermination< MatType >::num_test_points, mlpack::amf::ValidationRMSETermination< MatType >::reverseStepCount, mlpack::amf::ValidationRMSETermination< MatType >::reverseStepTolerance, mlpack::amf::ValidationRMSETermination< MatType >::rmse, mlpack::amf::ValidationRMSETermination< MatType >::rmseOld, mlpack::amf::ValidationRMSETermination< MatType >::test_points, and mlpack::amf::ValidationRMSETermination< MatType >::W.

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

Definition at line 144 of file validation_RMSE_termination.hpp.

References mlpack::amf::ValidationRMSETermination< MatType >::iteration.

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

Definition at line 146 of file validation_RMSE_termination.hpp.

References mlpack::amf::ValidationRMSETermination< MatType >::maxIterations.

Member Data Documentation

template<class MatType > double \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::c_index\fC [private]\fP

Definition at line 166 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::Initialize(), and mlpack::amf::ValidationRMSETermination< MatType >::IsConverged().

template<class MatType > double \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::c_indexOld\fC [private]\fP

Definition at line 165 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::Initialize(), and mlpack::amf::ValidationRMSETermination< MatType >::IsConverged().

template<class MatType > arma::mat \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::H\fC [private]\fP

Definition at line 164 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::IsConverged().

template<class MatType > bool \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::isCopy\fC [private]\fP

Definition at line 162 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::Initialize(), and mlpack::amf::ValidationRMSETermination< MatType >::IsConverged().

template<class MatType > size_t \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::iteration\fC [private]\fP

Definition at line 152 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::Initialize(), mlpack::amf::ValidationRMSETermination< MatType >::IsConverged(), and mlpack::amf::ValidationRMSETermination< MatType >::Iteration().

template<class MatType > size_t \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::maxIterations\fC [private]\fP

Definition at line 150 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::IsConverged(), and mlpack::amf::ValidationRMSETermination< MatType >::MaxIterations().

template<class MatType > size_t \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::num_test_points\fC [private]\fP

Definition at line 151 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::IsConverged(), and mlpack::amf::ValidationRMSETermination< MatType >::ValidationRMSETermination().

template<class MatType > size_t \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::reverseStepCount\fC [private]\fP

Definition at line 160 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::Initialize(), and mlpack::amf::ValidationRMSETermination< MatType >::IsConverged().

template<class MatType > size_t \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::reverseStepTolerance\fC [private]\fP

Definition at line 159 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::IsConverged().

template<class MatType > double \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::rmse\fC [private]\fP

Definition at line 157 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::Index(), mlpack::amf::ValidationRMSETermination< MatType >::Initialize(), and mlpack::amf::ValidationRMSETermination< MatType >::IsConverged().

template<class MatType > double \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::rmseOld\fC [private]\fP

Definition at line 156 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::Initialize(), and mlpack::amf::ValidationRMSETermination< MatType >::IsConverged().

template<class MatType > arma::Mat<double> \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::test_points\fC [private]\fP

Definition at line 154 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::IsConverged(), and mlpack::amf::ValidationRMSETermination< MatType >::ValidationRMSETermination().

template<class MatType > double \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::tolerance\fC [private]\fP

Definition at line 149 of file validation_RMSE_termination.hpp.

template<class MatType > arma::mat \fBmlpack::amf::ValidationRMSETermination\fP< MatType >::W\fC [private]\fP

Definition at line 163 of file validation_RMSE_termination.hpp.

Referenced by mlpack::amf::ValidationRMSETermination< MatType >::IsConverged().

Author

Generated automatically by Doxygen for MLPACK from the source code.