PolynomialRegression class
Polynomial least-squares regression, in which the relationship between the
independent elements xs
and the dependent elements ys
is modelled as a
polynomial of a given degree.
Constructors
- PolynomialRegression({required int degree})
- Constructs a polynomial least-squares regression model.
Properties
Methods
-
fit(
{required Vector< double> xs, required Vector<double> ys}) → PolynomialRegressionResult -
Fits a list of data points to the configured model.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited