|
Learning Curve Plus Plus (LCPP)
|
Public Member Functions | |
| template<class... Args> | |
| SVM (const size_t num_class, const T &C, const Args &... args) | |
| template<class... Args> | |
| SVM (const size_t num_class, const std::string solver, const T &C, const Args &... args) | |
| template<class... Args> | |
| SVM (const arma::Mat< T > &inputs, const arma::Row< size_t > &labels, const size_t num_class, const T &C, const Args &... args) | |
| template<class... Args> | |
| SVM (const arma::Mat< T > &inputs, const arma::Row< size_t > &labels, const size_t num_class, const Args &... args) | |
| void | Train (const arma::Mat< T > &inputs, const arma::Row< size_t > &labels, const size_t num_class) |
| void | Train (const arma::Mat< T > &inputs, const arma::Row< size_t > &labels) |
| void | Classify (const arma::Mat< T > &inputs, arma::Row< size_t > &labels) const |
| void | Classify (const arma::Mat< T > &inputs, arma::Row< size_t > &labels, arma::Mat< T > &dec_func) const |
| T | ComputeError (const arma::Mat< T > &points, const arma::Row< size_t > &responses) |
| T | ComputeAccuracy (const arma::Mat< T > &points, const arma::Row< size_t > &responses) |
| template<typename Archive > | |
| void | serialize (Archive &ar, const unsigned int) |
|
inline |
|
inline |
| algo::classification::SVM< KERNEL, SOLVER, T >::SVM | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< size_t > & | labels, | ||
| const size_t | num_class, | ||
| const T & | C, | ||
| const Args &... | args | ||
| ) |
| num_class | : number of classes |
| inputs | : X |
| labels | : y |
| C | : regularization |
| args | : kernel parameters |
Definition at line 19 of file svm_impl.h.
References algo::classification::SVM< KERNEL, SOLVER, T >::Train().
Here is the call graph for this function:| algo::classification::SVM< KERNEL, SOLVER, T >::SVM | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< size_t > & | labels, | ||
| const size_t | num_class, | ||
| const Args &... | args | ||
| ) |
| num_class | : number of classes |
| inputs | : X |
| labels | : y |
| args | : kernel parameters |
Definition at line 51 of file svm_impl.h.
References algo::classification::SVM< KERNEL, SOLVER, T >::Train().
Here is the call graph for this function:| void algo::classification::SVM< KERNEL, SOLVER, T >::Classify | ( | const arma::Mat< T > & | inputs, |
| arma::Row< size_t > & | labels | ||
| ) | const |
| inputs | : X* |
| labels | : y* |
Definition at line 212 of file svm_impl.h.
| void algo::classification::SVM< KERNEL, SOLVER, T >::Classify | ( | const arma::Mat< T > & | inputs, |
| arma::Row< size_t > & | labels, | ||
| arma::Mat< T > & | dec_func | ||
| ) | const |
| T algo::classification::SVM< KERNEL, SOLVER, T >::ComputeAccuracy | ( | const arma::Mat< T > & | points, |
| const arma::Row< size_t > & | responses | ||
| ) |
Calculate the Accuracy
| inputs | : X* |
| labels | : y* |
Definition at line 292 of file svm_impl.h.
| T algo::classification::SVM< KERNEL, SOLVER, T >::ComputeError | ( | const arma::Mat< T > & | points, |
| const arma::Row< size_t > & | responses | ||
| ) |
Calculate the Error Rate
| inputs | : X* |
| labels | : y* |
Definition at line 282 of file svm_impl.h.
|
inline |
| void algo::classification::SVM< KERNEL, SOLVER, T >::Train | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< size_t > & | labels | ||
| ) |
| inputs | : X |
| labels | : y |
| num_class | : y |
Definition at line 75 of file svm_impl.h.
| void algo::classification::SVM< KERNEL, SOLVER, T >::Train | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< size_t > & | labels, | ||
| const size_t | num_class | ||
| ) |
| inputs | : X |
| labels | : y |
Definition at line 85 of file svm_impl.h.
Referenced by algo::classification::SVM< KERNEL, SOLVER, T >::SVM().
Here is the caller graph for this function: