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 abstract base class that represents the result of an evaluation containing a value of type
T
.
generic <typename T>
public ref class EvaluationMetric abstract : Microsoft::Extensions::AI::Evaluation::EvaluationMetric
public abstract class EvaluationMetric<T> : Microsoft.Extensions.AI.Evaluation.EvaluationMetric
type EvaluationMetric<'T> = class
inherit EvaluationMetric
Public MustInherit Class EvaluationMetric(Of T)
Inherits EvaluationMetric
Type Parameters
- T
The type of the value
.
- Inheritance
- Derived
Constructors
EvaluationMetric<T>(String, T) |
An abstract base class that represents the result of an evaluation containing a value of type
|
Properties
Diagnostics |
A collection of zero or more EvaluationDiagnostics associated with the current EvaluationMetric. (Inherited from EvaluationMetric) |
Interpretation |
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 |
The name of the EvaluationMetric. (Inherited from EvaluationMetric) |
Value |
The value of the EvaluationMetric<T>. |
Methods
AddDiagnostic(EvaluationDiagnostic) |
Adds a EvaluationDiagnostic to the current EvaluationMetric's Diagnostics. (Inherited from EvaluationMetric) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
ContainsDiagnostics(EvaluationMetric, Func<EvaluationDiagnostic,Boolean>) |
Returns |