PolynomialRegressionResult
public struct PolynomialRegressionResultResult of a polynomial regression calculation.
Fields
Section titled “Fields”
Coefficients
Section titled “Coefficients”public float[] CoefficientsCoefficients [a₀, a₁, a₂, …, aₙ] for y = a₀ + a₁x + a₂x² + … + aₙxⁿ.
Returns
System.Single[] — No return description is available.
Degree
Section titled “Degree”public int DegreeDegree of the polynomial (number of coefficients - 1).
Returns
System.Int32 — No return description is available.
RSquared
Section titled “RSquared”public float RSquaredCoefficient of determination (R²), indicating fit quality (0-1).
Returns
System.Single — No return description is available.
Methods
Section titled “Methods”
ToFunction()
Section titled “ToFunction()”public Func<float, float> ToFunction()Creates a function that evaluates the polynomial at any x value.
Returns
System.Func{System.Single,System.Single} — No return description is available.