Home > @josh-brown/vector > LeastSquaresApproximation
The result of a least squares approximation.
Signature:
export interface LeastSquaresApproximation<S>
Property | Type | Description |
---|---|---|
approximationFunction | ApproximationFunction<S> | A function which takes a vector of the independent variable values, and returns the predicted value of the dependent variable |
coefficients | Vector<S> | A vector whose entries correspond to the coefficients which must be plugged into the function template to yield the best approximation function |