Interface Summary<T>

Includes information about a best-fit for a curve.

interface Summary<T extends VariableType> {
    error: number;
    errorAvgAbs: number;
    f: (x: T) => number;
    params: number[];
}

Type Parameters

Properties

error: number

This is the residual sum of squared errors.

errorAvgAbs: number

The average absolute error per data point, comparing the given dataset to the model output with the set of best-fit parameters.

f: (x: T) => number

The model with best-fit parameters applied.

params: number[]

Contains the set of best-fit parameters for the function f(x)

MMNEPVFCICPMFPCPTTAAATR