|
Learning Curve Plus Plus (LCPP)
|
Public Member Functions | |
| template<typename... Ts> | |
| Kernel (const arma::Mat< T > &inputs, const arma::Row< T > &labels, const Ts &... args) | |
| template<typename... Ts> | |
| Kernel (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 |
| template<typename Archive > | |
| void | serialize (Archive &ar, const unsigned int) |
Definition at line 101 of file kernelridge.h.
| algo::regression::Kernel< KERNEL, T >::Kernel | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< T > & | labels, | ||
| const Ts &... | args | ||
| ) |
| inputs | X |
| labels | y |
| args | for the kernel |
Definition at line 82 of file kernelridge_impl.h.
References algo::regression::Kernel< KERNEL, T >::Train().
Here is the call graph for this function:
|
inline |
| T algo::regression::Kernel< KERNEL, T >::ComputeError | ( | const arma::Mat< T > & | points, |
| const arma::Row< T > & | responses | ||
| ) | const |
Calculate the L2 squared error
| inputs | |
| labels |
Definition at line 111 of file kernelridge_impl.h.
| void algo::regression::Kernel< KERNEL, T >::Predict | ( | const arma::Mat< T > & | inputs, |
| arma::Row< T > & | labels | ||
| ) | const |
| inputs | X* |
| labels | y* |
Definition at line 98 of file kernelridge_impl.h.
|
inline |
Serialize the model.
Definition at line 149 of file kernelridge.h.
| void algo::regression::Kernel< KERNEL, T >::Train | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< T > & | labels | ||
| ) |
| inputs | X |
| labels | y |
| args | for the kernel |
Definition at line 90 of file kernelridge_impl.h.
Referenced by algo::regression::Kernel< KERNEL, T >::Kernel().
Here is the caller graph for this function: