FeatureImportanceFitDetector<T, TInput, TOutput>
Models & Types · AiDotNet.FitDetectors
A fit detector that analyzes feature importances and correlations to assess model fit.
Inheritance: FitDetectorBase<T, TInput, TOutput> → FeatureImportanceFitDetector<T, TInput, TOutput>
For Beginners
Feature importance measures how much each input variable (feature) contributes to a model’s predictions. This detector uses permutation importance, which works by randomly shuffling each feature and measuring how much the model’s performance degrades as a result.
How It Works
By analyzing both feature importances and correlations between features, this detector can identify issues like overfitting (relying too heavily on specific features) or underfitting (not effectively using the available features).
Constructors
| Constructor | Summary |
|---|---|
FeatureImportanceFitDetector(FeatureImportanceFitDetectorOptions options) |
Initializes a new instance of the FeatureImportanceFitDetector class. |
Methods
| Method | Summary |
|---|---|
FitDetectorResult<T> DetectFit(ModelEvaluationData<T, TInput, TOutput> evaluationData) |
Detects the fit type of a model based on feature importance analysis. |