Skip to content

Loess.Interface.LoessInterpolatorDiagInfo

Christian d'Heureuse edited this page Sep 25, 2026 · 1 revision

commons-math-interpolation / Loess / LoessInterpolatorDiagInfo

Interface: LoessInterpolatorDiagInfo

Defined in: Loess.ts:56

Diagnostics info returned by createLoessInterpolator.

To receive it, pass an object (e.g. {}) in LoessInterpolatorParms.diagInfo. The fields are set by createLoessInterpolator().

Extends

Properties

fitYVals

fitYVals: Float64Array;

Defined in: Loess.ts:61

The smoothed y values of all points, as returned by smooth.


knotFilter

knotFilter: boolean[];

Defined in: Loess.ts:66

For each point, true if the point is used as a knot for the interpolation, false if it is skipped.


knotXVals

knotXVals: Float64Array;

Defined in: Loess.ts:71

The x values of the knots.


knotYVals

knotYVals: Float64Array;

Defined in: Loess.ts:76

The y values (smoothed) of the knots.


lastMedianResidual?

optional lastMedianResidual?: number;

Defined in: Loess.ts:41

The median residual that stopped the iteration early because it was less than or equal to SmoothParms.accuracy. undefined if the iteration was not stopped early.

Inherited from

SmoothDiagInfo.lastMedianResidual


robustnessIters

robustnessIters: number;

Defined in: Loess.ts:29

The number of robustness iterations actually performed.

Inherited from

SmoothDiagInfo.robustnessIters


robustnessWeights?

optional robustnessWeights?: Float64Array<ArrayBufferLike>;

Defined in: Loess.ts:47

The robustness weights of the points that were used in the last iteration. undefined if no robustness iteration was performed.

Inherited from

SmoothDiagInfo.robustnessWeights


secondLastMedianResidual?

optional secondLastMedianResidual?: number;

Defined in: Loess.ts:35

The median residual from which the robustness weights of the last performed robustness iteration were computed. undefined if no robustness iteration was performed.

Inherited from

SmoothDiagInfo.secondLastMedianResidual

Clone this wiki locally