ConfusionMatrixFitDetector<T, TInput, TOutput>
Models & Types · AiDotNet.FitDetectors
A fit detector that analyzes confusion matrix metrics to assess classification model fit.
Inheritance: FitDetectorBase<T, TInput, TOutput> → ConfusionMatrixFitDetector<T, TInput, TOutput>
For Beginners
A confusion matrix is a table that summarizes the performance of a classification model by showing the counts of true positives, false positives, true negatives, and false negatives. This detector uses metrics derived from the confusion matrix to evaluate how well a model is performing.
How It Works
Unlike other fit detectors that focus on underfitting and overfitting, this detector primarily assesses the overall quality of the model’s predictions and can identify issues like class imbalance that might affect performance.
Constructors
| Constructor | Summary |
|---|---|
ConfusionMatrixFitDetector(ConfusionMatrixFitDetectorOptions options) |
Initializes a new instance of the ConfusionMatrixFitDetector class. |
Methods
| Method | Summary |
|---|---|
FitDetectorResult<T> DetectFit(ModelEvaluationData<T, TInput, TOutput> evaluationData) |
Detects the fit type of a model based on confusion matrix analysis. |