Метод | Описание | |
---|---|---|
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 |
|
Результат | double |
public static AsOnlineClassifier ( this classifier ) : IOnlineClassifier | ||
classifier | this | |
Результат | IOnlineClassifier |
public static ErrorOn ( this classifier, IEnumerable |
||
classifier | this | |
labeledExamples | IEnumerable |
|
Результат | double |
public static IsNegative ( this classifier, |
||
classifier | this | |
example | ||
Результат | bool |
public static IsNegative ( this classifier, int cls ) : bool | ||
classifier | this | |
cls | int | |
Результат | bool |
public static IsPositive ( this classifier, |
||
classifier | this | |
example | ||
Результат | bool |
public static IsPositive ( this classifier, int cls ) : bool | ||
classifier | this | |
cls | int | |
Результат | bool |
public static Predict ( this classifier, IEnumerable |
||
classifier | this | |
examples | IEnumerable |
|
Результат | IEnumerable |
public static Predict ( this classifier, |
||
classifier | this | |
example | ||
Результат | int |
public static TrainMore ( this classifier, |
||
classifier | this | |
labeledExample | ||
Результат | void |