C# Class MCAEmotiv.Classification.DecisionStump

Inheritance: AbstractBinaryClassifier, IWeightedClassifier
Show file Open project: madelson/Emotiv-Experimenter

Private Properties

Property Type Description
TrainBinary void

Public Methods

Method Description
Train ( IArrayView labeledExamples, IArrayView weights ) : void

Trains the classifier using weighted examples

Protected Methods

Method Description
PredictBinary ( Example binaryExample, double &confidence ) : int

Classifies the example

TrainBinary ( IArrayView binaryExamples ) : void

Trains the classifier

Private Methods

Method Description
TrainBinary ( IArrayView binaryExamples, IArrayView weights ) : void

Method Details

PredictBinary() protected method

Classifies the example
protected PredictBinary ( Example binaryExample, double &confidence ) : int
binaryExample Example
confidence double
return int

Train() public method

Trains the classifier using weighted examples
public Train ( IArrayView labeledExamples, IArrayView weights ) : void
labeledExamples IArrayView
weights IArrayView
return void

TrainBinary() protected method

Trains the classifier
protected TrainBinary ( IArrayView binaryExamples ) : void
binaryExamples IArrayView
return void