|
Learning Curve Plus Plus (LCPP)
|
Public Member Functions | |
| template<class... Ts> | |
| SemiParamKernelRidge (const arma::Mat< T > &inputs, const arma::Row< T > &labels, const T lambda, const size_t num_funcs, const Ts &... args) | |
| template<class... Ts> | |
| SemiParamKernelRidge (const arma::Mat< T > &inputs, const arma::Row< T > &labels, const T lambda, const T perc, const Ts &... args) | |
| template<typename... Ts> | |
| SemiParamKernelRidge (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) |
| T | ComputeError (const arma::Mat< T > &points, const arma::Row< T > &responses) |
| const arma::Row< T > & | Parameters () const |
| arma::Row< T > & | Parameters () |
| T | Lambda () const |
| T & | Lambda () |
| template<typename Archive > | |
| void | serialize (Archive &ar, const unsigned int) |
Definition at line 166 of file kernelridge.h.
| algo::regression::SemiParamKernelRidge< KERNEL, FUNC, T >::SemiParamKernelRidge | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< T > & | labels, | ||
| const T | lambda, | ||
| const size_t | num_funcs, | ||
| const Ts &... | args | ||
| ) |
| inputs | : X |
| labels | : y |
| lambda | : regularization hyper-parameter |
| num_funcs | : number of \psi |
| args | : for the kernel hyper-parameters |
Definition at line 130 of file kernelridge_impl.h.
References algo::regression::SemiParamKernelRidge< KERNEL, FUNC, T >::Train().
Here is the call graph for this function:
|
inline |
Non-working model
Definition at line 193 of file kernelridge.h.
| T algo::regression::SemiParamKernelRidge< KERNEL, FUNC, T >::ComputeError | ( | const arma::Mat< T > & | points, |
| const arma::Row< T > & | responses | ||
| ) |
Calculate the L2 squared error
| inputs | |
| labels |
Definition at line 199 of file kernelridge_impl.h.
| void algo::regression::SemiParamKernelRidge< KERNEL, FUNC, T >::Predict | ( | const arma::Mat< T > & | inputs, |
| arma::Row< T > & | labels | ||
| ) |
| inputs | X* |
| labels | y* |
Definition at line 189 of file kernelridge_impl.h.
|
inline |
| void algo::regression::SemiParamKernelRidge< KERNEL, FUNC, T >::Train | ( | const arma::Mat< T > & | inputs, |
| const arma::Row< T > & | labels | ||
| ) |
| inputs | X |
| labels | y |
Definition at line 161 of file kernelridge_impl.h.
Referenced by algo::regression::SemiParamKernelRidge< KERNEL, FUNC, T >::SemiParamKernelRidge().
Here is the caller graph for this function: