|
Cosan
1.0
Data Analytics Library
|
Go to the documentation of this file.
5 #ifndef COSAN_COSANLINEARMODEL_H
6 #define COSAN_COSANLINEARMODEL_H
31 template<Numeric NumericType>
54 virtual const std::string
GetName()
const {
return "LinearModel";}
65 #endif //COSAN_COSANLINEARMODEL_H
CosanLinearModel()=delete
const CosanMatrix< NumericType > & GetBeta() const
CosanLinearModel(bool Bias)
Eigen::Matrix< NumericType, Eigen::Dynamic, Eigen::Dynamic > CosanMatrix
virtual void SetBeta(CosanMatrix< NumericType > InitBeta)
CosanMatrix< NumericType > MBeta
virtual const std::string GetName() const
Get the name of the objects.
CosanLinear Model. All linear model inherit this object.
Base Object for CosanModel.
virtual CosanMatrix< NumericType > predict(const CosanMatrix< NumericType > &X)=0
void SetBias(const bool NewBias)