Method | Description | |
---|---|---|
Equals ( object obj ) : bool |
Checks for identity equality or type and parameter equality.
|
|
GetHashCode ( ) : int |
Returns the hash code of this classifier's type.
|
|
Predict ( |
Throws an execption is the classifier has not been trained, then calls PredictHelper.
|
|
Train ( IArrayView |
Checks that the classifiers parameters are valid and calls TrainHelper. Sets IsTrained to true.
|
Method | Description | |
---|---|---|
AbstractClassifier ( ) : System |
Construct an abstract classifier
|
|
PredictHelper ( |
Called by Predict
|
|
TrainHelper ( IArrayView |
Called by Train
|
public Predict ( |
||
example | ||
confidence | double | |
return | int |
protected abstract PredictHelper ( |
||
example | ||
confidence | double | |
return | int |
public Train ( IArrayView |
||
labeledExamples | IArrayView |
|
return | void |
protected abstract TrainHelper ( IArrayView |
||
labeledExamples | IArrayView |
|
return | void |