Struct CalibrationPair
Struct which holds empirical and predicted probabilities for use in calibration.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Learners
Assembly: Microsoft.ML.Probabilistic.Learners.Classifier.dll
Syntax
public struct CalibrationPair
Constructors
CalibrationPair(Double, Double)
Initializes a new instance of the CalibrationPair struct.
Declaration
public CalibrationPair(double empiricalProbability, double predictedProbability)
Parameters
Type | Name | Description |
---|---|---|
Double | empiricalProbability | The empirical probability |
Double | predictedProbability | The predicted probability |
Fields
EmpiricalProbability
Gets the empirical probability.
Declaration
public readonly double EmpiricalProbability
Field Value
Type | Description |
---|---|
Double |
PredictedProbability
Gets the predicted probability.
Declaration
public readonly double PredictedProbability
Field Value
Type | Description |
---|---|
Double |
Methods
Equals(Object)
Checks if this object is equal to obj
.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare this object with. |
Returns
Type | Description |
---|---|
Boolean | true if this object is equal to |
Overrides
GetHashCode()
Computes the hash code of this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The computed hash code. |
Overrides
ToString()
Gets the string representation of this CalibrationPair.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The string representation of the CalibrationPair. |