Class is an abstract class implementing interface of regression. More...
#include <regression.hpp>
Public Member Functions | |
Regression () | |
Constructor. More... | |
virtual void | estimate (const std::vector< double > &x, const std::vector< double > &y)=0 |
Estimates regression coefficients. More... | |
virtual std::vector< double > | getCoefficient () const =0 |
return coefficients of the regression More... | |
virtual double | operator() (double) const =0 |
Operator performing calculation. More... | |
virtual Regression * | clone () const =0 |
Virtual copy constructor. More... | |
virtual | ~Regression () |
Destructor. More... | |
Detailed Description
Class is an abstract class implementing interface of regression.
This class is a interface of all regression techniques.
Constructor & Destructor Documentation
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
Member Function Documentation
|
pure virtual |
Virtual copy constructor.
Implemented in julian::DeeplyCopyableRegression< T >, julian::DeeplyCopyableRegression< RobustRegression >, julian::DeeplyCopyableRegression< PolynomialRegression >, julian::DeeplyCopyableRegression< RegressionWithoutIntercept >, and julian::DeeplyCopyableRegression< SimpleLinearRegression >.
|
pure virtual |
Estimates regression coefficients.
Implemented in julian::RobustRegression, julian::PolynomialRegression, julian::RegressionWithoutIntercept, and julian::SimpleLinearRegression.
|
pure virtual |
return coefficients of the regression
The i-th term of vector represents coefficient of
Implemented in julian::RobustRegression, julian::PolynomialRegression, julian::SimpleLinearRegression, and julian::RegressionWithoutIntercept.
|
pure virtual |
Operator performing calculation.
This operator returns the value for a given regressor.
Implemented in julian::RobustRegression, julian::PolynomialRegression, julian::SimpleLinearRegression, and julian::RegressionWithoutIntercept.
The documentation for this class was generated from the following file:
- C:/Unix/home/OEM/jULIAN/src/mathematics/regressions/regression.hpp