메소드 | 설명 | |
---|---|---|
GetBinaryClass ( int cls ) : bool? |
Returns true if cls maps to a positive example, false if cls maps to a negative example, and null if there is no mapping for cls.
|
메소드 | 설명 | |
---|---|---|
ConvertToBinaryExample ( |
Returns an example whose class is the binary equivalent of the given example's class and whose features are the same as the given example's features
|
|
PredictBinary ( |
Classify as NegativeExampleValue or PositiveExampleValue
|
|
PredictHelper ( |
Calls PredictBinary, and then converts the prediction back to a regular class value.
|
|
TrainBinary ( IArrayView |
The values of the pairs are the labels mapped to either NegativeExampleValue or PositiveExampleValue.
|
|
TrainHelper ( IArrayView |
Converts the examples to have binary class values, then calls TrainBinary. The mappings from regular classes to binary classes are stored until future calls to TrainHelper.
|
protected ConvertToBinaryExample ( |
||
nonBinaryExample | ||
리턴 |
protected abstract PredictBinary ( |
||
binaryExample | ||
confidence | double | |
리턴 | int |
protected PredictHelper ( |
||
example | ||
confidence | double | |
리턴 | int |
protected abstract TrainBinary ( IArrayView |
||
binaryExamples | IArrayView |
|
리턴 | void |
protected TrainHelper ( IArrayView |
||
examples | IArrayView |
|
리턴 | void |