|
Learning Curve Plus Plus (LCPP)
|
Public Member Functions | |
| template<typename... Ts> | |
| KernelRidge (const arma::Mat< T > &inputs, const arma::Row< T > &labels, const double &lambda, const Ts &... args) | |
| template<typename... Ts> | |
| KernelRidge (const arma::Mat< T > &inputs, const arma::Row< T > &labels) | |
| template<typename... Ts> | |
| KernelRidge (const Ts &... args) | |
| void | Train (const arma::Mat< T > &inputs, const arma::Row< T > &labels) |
| void | Predict (const arma::Mat< T > &inputs, arma::Row< T > &labels) const |
| T | ComputeError (const arma::Mat< T > &points, const arma::Row< T > &responses) const |
| const arma::Row< T > & | Parameters () const |
| arma::Row< T > & | Parameters () |
| double | Lambda () const |
| double & | Lambda () |
| template<typename Archive > | |
| void | serialize (Archive &ar, const unsigned int) |
Definition at line 21 of file kernelridge.h.
| algo::regression::KernelRidge< KERNEL, T >::KernelRidge | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< T > & | labels, | ||
| const double & | lambda, | ||
| const Ts &... | args | ||
| ) |
| inputs | X |
| labels | y |
| lambda | regularization hyper-parameter |
| args | for the kernel |
Definition at line 20 of file kernelridge_impl.h.
References algo::regression::KernelRidge< KERNEL, T >::Train().
Here is the call graph for this function:
|
inline |
| T algo::regression::KernelRidge< KERNEL, T >::ComputeError | ( | const arma::Mat< T > & | points, |
| const arma::Row< T > & | responses | ||
| ) | const |
Calculate the L2 squared error
| inputs | |
| labels |
Definition at line 63 of file kernelridge_impl.h.
| void algo::regression::KernelRidge< KERNEL, T >::Predict | ( | const arma::Mat< T > & | inputs, |
| arma::Row< T > & | labels | ||
| ) | const |
| inputs | X* |
| labels | y* |
Definition at line 54 of file kernelridge_impl.h.
|
inline |
Serialize the model.
Definition at line 81 of file kernelridge.h.
| void algo::regression::KernelRidge< KERNEL, T >::Train | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< T > & | labels | ||
| ) |
| inputs | X |
| labels | y |
Definition at line 39 of file kernelridge_impl.h.
Referenced by algo::regression::KernelRidge< KERNEL, T >::KernelRidge().
Here is the caller graph for this function: