|
@@ -39,6 +39,9 @@ class LinRegression : public RegressionAlgorithm
|
|
/** method to learn model parameters */
|
|
/** method to learn model parameters */
|
|
void teach ( const NICE::VVector & x, const NICE::Vector & y );
|
|
void teach ( const NICE::VVector & x, const NICE::Vector & y );
|
|
|
|
|
|
|
|
+ /** returns model parameters as a vector */
|
|
|
|
+ std::vector<double> getModelParams();
|
|
|
|
+
|
|
/** method to predict function value */
|
|
/** method to predict function value */
|
|
double predict ( const NICE::Vector & x );
|
|
double predict ( const NICE::Vector & x );
|
|
};
|
|
};
|