Struct PrecisionRecall
Struct which holds the precision and recall
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Learners
Assembly: Microsoft.ML.Probabilistic.Learners.dll
Syntax
public struct PrecisionRecall
Constructors
PrecisionRecall(Double, Double)
Initializes a new instance of the PrecisionRecall struct.
Declaration
public PrecisionRecall(double precision, double recall)
Parameters
Type | Name | Description |
---|---|---|
Double | precision | The precision (positive predictive value) |
Double | recall | The recall (sensitivity) |
Fields
Precision
Gets the Precision
Declaration
public readonly double Precision
Field Value
Type | Description |
---|---|
Double |
Recall
Gets the Recall.
Declaration
public readonly double Recall
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 PrecisionRecall.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The string representation of the PrecisionRecall. |