EvaluationMetric<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An base class that represents the result of an evaluation containing a value of type
T
.
generic <typename T>
public ref class EvaluationMetric : Microsoft::Extensions::AI::Evaluation::EvaluationMetric
public class EvaluationMetric<T> : Microsoft.Extensions.AI.Evaluation.EvaluationMetric
type EvaluationMetric<'T> = class
inherit EvaluationMetric
Public Class EvaluationMetric(Of T)
Inherits EvaluationMetric
Type Parameters
- T
The type of the Value.
- Inheritance
- Derived
Constructors
EvaluationMetric<T>(String, T) |
Initializes a new instance of the EvaluationMetric<T> class. |
Properties
Diagnostics |
Gets or sets a collection of zero or more EvaluationDiagnostics associated with the current EvaluationMetric. (Inherited from EvaluationMetric) |
Interpretation |
Gets or sets an EvaluationMetricInterpretation that identifies whether the result of the evaluation represented by the current EvaluationMetric is considered good or bad, passed or failed etc. (Inherited from EvaluationMetric) |
Name |
Gets or sets the name of the EvaluationMetric. (Inherited from EvaluationMetric) |
Value |
Gets or sets the value of the EvaluationMetric<T>. |
Methods
AddDiagnostic(EvaluationDiagnostic) |
Adds a EvaluationDiagnostic to the current EvaluationMetric's Diagnostics. (Inherited from EvaluationMetric) |
Extension Methods
ContainsDiagnostics(EvaluationMetric, Func<EvaluationDiagnostic,Boolean>) |
Returns |