Property Confidence
- Namespace
- LMKit.TextAnalysis
- Assembly
- LM-Kit.NET.dll
Confidence
Gets the confidence score of the last detection process, ranging from 0 to 1. A score closer to 1 indicates higher confidence in the detection result.
public float Confidence { get; }
Property Value
- float
A floating-point value representing the confidence of the last detection.
Examples
// After performing detection
float confidence = sarcasmDetector.Confidence;
Console.WriteLine($"Confidence: {confidence}");
Remarks
This metric can be used to evaluate and filter predictions based on their reliability.