Method | Description | |
---|---|---|
AccuracyOn ( this classifier, IEnumerable |
Computes the classifier's accuracy in predicting the set of examples
|
|
AsOnlineClassifier ( this classifier ) : IOnlineClassifier |
Wraps the classifier in an online classifier which works by storing all input examples and retraining the classifier on the stored examples as well as the new examples on each call to TrainMore
|
|
ErrorOn ( this classifier, IEnumerable |
Computes the classifier's error in predicting the set of examples
|
|
IsNegative ( this classifier, |
As
|
|
IsNegative ( this classifier, int cls ) : bool |
Does cls currently map to a negative example in this classifier?
|
|
IsPositive ( this classifier, |
As
|
|
IsPositive ( this classifier, int cls ) : bool |
Does cls currently map to a positive example in this classifier?
|
|
Predict ( this classifier, IEnumerable |
Returns a Trio of (example, predicted class, confidence) for each example
|
|
Predict ( this classifier, |
Predict without the confidence parameter
|
|
TrainMore ( this classifier, |
TrainMore, but with a single example
|
public static AccuracyOn ( this classifier, IEnumerable |
||
classifier | this | |
labeledExamples | IEnumerable |
|
return | double |
public static AsOnlineClassifier ( this classifier ) : IOnlineClassifier | ||
classifier | this | |
return | IOnlineClassifier |
public static ErrorOn ( this classifier, IEnumerable |
||
classifier | this | |
labeledExamples | IEnumerable |
|
return | double |
public static IsNegative ( this classifier, |
||
classifier | this | |
example | ||
return | bool |
public static IsNegative ( this classifier, int cls ) : bool | ||
classifier | this | |
cls | int | |
return | bool |
public static IsPositive ( this classifier, |
||
classifier | this | |
example | ||
return | bool |
public static IsPositive ( this classifier, int cls ) : bool | ||
classifier | this | |
cls | int | |
return | bool |
public static Predict ( this classifier, IEnumerable |
||
classifier | this | |
examples | IEnumerable |
|
return | IEnumerable |
public static Predict ( this classifier, |
||
classifier | this | |
example | ||
return | int |
public static TrainMore ( this classifier, |
||
classifier | this | |
labeledExample | ||
return | void |