PrecisionRecallCurveFitDetector<T, TInput, TOutput>
Models & Types · AiDotNet.FitDetectors
A detector that evaluates model fit quality using precision-recall curve metrics.
Inheritance: FitDetectorBase<T, TInput, TOutput> → PrecisionRecallCurveFitDetector<T, TInput, TOutput>
For Beginners
This class helps you understand how well your classification model is performing by analyzing two important metrics:
- AUC (Area Under the Curve): A number between 0 and 1 that tells you how well your model can
distinguish between classes. Higher is better, with 1.0 being perfect.
- F1 Score: A number between 0 and 1 that balances precision (how many of your positive
predictions were correct) and recall (how many actual positives your model found). Higher is better, with 1.0 being perfect.
This detector is especially useful for classification problems where you’re trying to identify specific categories or classes.
Constructors
| Constructor | Summary |
|---|---|
PrecisionRecallCurveFitDetector(PrecisionRecallCurveFitDetectorOptions options) |
Initializes a new instance of the PrecisionRecallCurveFitDetector class. |
Methods
| Method | Summary |
|---|---|
FitDetectorResult<T> DetectFit(ModelEvaluationData<T, TInput, TOutput> evaluationData) |
Analyzes the model’s performance data and determines the quality of fit. |