|
| | CosanPCRRidge () |
| |
| | CosanPCRRidge (std::vector< NumericType > params, bool bias=false) |
| |
| | CosanPCRRidge (CosanRawData< NumericType > &RD, std::vector< NumericType > params, bool bias=false) |
| |
| | CosanPCRRidge (CosanData< NumericType > &CD, std::vector< NumericType > params, bool bias=false) |
| |
| template<class T , std::enable_if_t< std::is_same_v< std::decay_t< T >, CosanMatrix< NumericType >>, bool > = true> |
| | CosanPCRRidge (T &&X, const CosanMatrix< NumericType > &Y, std::vector< NumericType > params, bool bias=false) |
| |
| virtual EModelType | GetModelType () override |
| |
| virtual EProblemType | GetProblemType () |
| |
| virtual const std::string | GetName () const override |
| | Get the name of the objects. More...
|
| |
| template<class T , std::enable_if_t< std::is_same_v< std::decay_t< T >, CosanMatrix< NumericType >>, bool > = true> |
| void | fit (T &&X, const CosanMatrix< NumericType > &Y) |
| |
| void | SetParams (std::vector< NumericType > params) |
| |
| NumericType | GetParams () |
| |
| CosanMatrix< NumericType > & | GetPC () |
| |
| | CosanPrincipalComponentRegression () |
| |
| | CosanPrincipalComponentRegression (NumericType ncomp, bool bias=false) |
| |
| | CosanPrincipalComponentRegression (CosanRawData< NumericType > &RD, NumericType ncomp, bool bias=false) |
| |
| | CosanPrincipalComponentRegression (CosanData< NumericType > &CD, NumericType ncomp, bool bias=false) |
| |
| template<class T , std::enable_if_t< std::is_same_v< std::decay_t< T >, CosanMatrix< NumericType >>, bool > = true> |
| | CosanPrincipalComponentRegression (T &&X, const CosanMatrix< NumericType > &Y, NumericType ncomp, bool bias=false) |
| |
| template<class T , std::enable_if_t< std::is_same_v< std::decay_t< T >, CosanMatrix< NumericType >>, bool > = true> |
| void | fit (T &&X, const CosanMatrix< NumericType > &Y) |
| |
| virtual CosanMatrix< NumericType > | predict (const CosanMatrix< NumericType > &X) override |
| |
| CosanMatrix< NumericType > & | GetPC () |
| |
| void | SetParams (NumericType ncomp) |
| |
| NumericType | GetParams () |
| |
| | CosanLinearModel ()=delete |
| |
| | CosanLinearModel (bool Bias) |
| |
| void | SetBias (const bool NewBias) |
| |
| virtual void | SetBeta (CosanMatrix< NumericType > InitBeta) |
| |
| const CosanMatrix< NumericType > & | GetBeta () const |
| |
| bool | GetBias () const |
| |
| | CosanModel () |
| |
| virtual void | SetMaxTrainTime (double t) |
| |
| virtual double | GetMaxTrainTime () const |
| |
| virtual ESolverType | GetSolverType () const |
| |
| void | SetSolverType (ESolverType sr) |
| |
| | CosanBO () |
| | Default constructor. More...
|
| |
template<Numeric NumericType>
class Cosan::CosanPCRRidge< NumericType >
principal component regression with L2 square penaly term on coefficient beta.
- Template Parameters
-
Definition at line 19 of file CosanPCRRidge.h.