Polynomial Regression in weighted fashion.
More...
#include <yat/regression/PolynomialWeighted.h>
Polynomial Regression in weighted fashion.
◆ PolynomialWeighted()
theplu::yat::regression::PolynomialWeighted::PolynomialWeighted |
( |
size_t |
power | ) |
|
- Parameters
-
power | degree of polynomial model |
◆ fit()
◆ fit_parameters()
const utility::Vector& theplu::yat::regression::PolynomialWeighted::fit_parameters |
( |
void |
| ) |
const |
◆ predict()
double theplu::yat::regression::PolynomialWeighted::predict |
( |
const double |
x | ) |
const |
|
virtual |
◆ prediction_error2()
double theplu::yat::regression::OneDimensionalWeighted::prediction_error2 |
( |
const double |
x, |
|
|
const double |
w = 1.0 |
|
) |
| const |
|
inherited |
◆ r2()
double theplu::yat::regression::OneDimensionalWeighted::r2 |
( |
void |
| ) |
const |
|
inherited |
r2 is defined as or the fraction of the variance explained by the regression model.
◆ standard_error2()
double theplu::yat::regression::PolynomialWeighted::standard_error2 |
( |
const double |
x | ) |
const |
|
virtual |
◆ ap_
Averager for pair of x and y
◆ chisq_
double theplu::yat::regression::OneDimensionalWeighted::chisq_ |
|
protectedinherited |
Chi-squared.
Chi-squared is defined as the
The documentation for this class was generated from the following file: