confidence property

double confidence
getter/setter pair

An indicator of the quality of the fit.

Larger values indicate greater quality. The value ranges from 0.0 to 1.0.

The confidence is defined as the fraction of the dataset's variance that is captured by variance in the fit polynomial. In statistics textbooks this is often called "r-squared".

Implementation

late double confidence;