
public class PolynomialRegression extends MultipleLinearRegression
| Modifier and Type | Field and Description |
|---|---|
int |
p
The order of the polynom.
|
| Constructor and Description |
|---|
PolynomialRegression(Vector y,
Vector x,
int p)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
adaptedCoefficientOfDetermination()
Returns the adapted coefficient of determination
|
double |
estimateY(double x)
Performs an estimation of y on the specified x value.
|
private static Matrix |
xMatrix(Vector x,
int p) |
coefficientOfDetermination, estimateY, getEstimatedCoefficients, getEstimatedResiduals, getSumOfSquareResiduals, getSumOfSquaresTotal, getVariance, toStringpublic double adaptedCoefficientOfDetermination()
public double estimateY(double x)
x - the x-value for which y is estimatedCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.