BootstrapFitDetector<T, TInput, TOutput>
Models & Types · AiDotNet.FitDetectors
A fit detector that uses bootstrap resampling to assess model fit and stability.
Inheritance: FitDetectorBase<T, TInput, TOutput> → BootstrapFitDetector<T, TInput, TOutput>
For Beginners
Bootstrap resampling is a statistical technique that creates multiple versions of your dataset by randomly sampling with replacement. This allows you to estimate the variability and stability of your model’s performance metrics.
How It Works
This detector uses bootstrap resampling to determine if a model is underfitting, overfitting, or has a good fit, while also assessing the confidence in this determination. Think of it like testing your model on many slightly different versions of your data to see how consistently it performs.
Constructors
| Constructor | Summary |
|---|---|
BootstrapFitDetector(BootstrapFitDetectorOptions options) |
Initializes a new instance of the BootstrapFitDetector class. |
Methods
| Method | Summary |
|---|---|
FitDetectorResult<T> DetectFit(ModelEvaluationData<T, TInput, TOutput> evaluationData) |
Detects the fit type of a model based on bootstrap resampling. |