Class encoding a member of a ranked set of labels.
RankPair
01 Syntax
Microsoft.VisualBasic.DataMining.Evaluation.RankPair
02 Methods
03 Properties
04 Members
#ctor(
Double, Double)Constructor.
Parameters
| Name | Type | Description |
|---|---|---|
score | Double | Score for this pair |
label | Double | Label associated with the given score |
CompareTo(RankPair)
Compares this pair to another. It will end up in a sorted list in descending score order.
Parameters
| Name | Type | Description |
|---|---|---|
other | RankPair | The pair to compare to |
Returns
Whether this should come before or after the argument
ToString
Returns a string representation of this pair.
Returns
A string in the for Score:Label
Score
The score for this pair.
Label
The Label for this pair.