C# Class MCAEmotiv.Classification.AdaBoost

Inheritance: AbstractBinaryClassifier
Datei anzeigen Open project: madelson/Emotiv-Experimenter

Private Properties

Property Type Description
GetAlpha double
SelectFeatures IArrayView
TrainWeakLearner double

Protected Methods

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

Predicts the binary class of the binary example using the weighted vote of each weak learner

TrainBinary ( IArrayView binaryExamples ) : void

Trains the classifier on the supplied binary examples

Private Methods

Method Description
GetAlpha ( double trainingError ) : double
SelectFeatures ( IArrayView binaryExamples, int round ) : IArrayView
TrainWeakLearner ( IArrayView binaryExamples, IArrayView weights, int round, bool predictionResults ) : double

Method Details

PredictBinary() protected method

Predicts the binary class of the binary example using the weighted vote of each weak learner
protected PredictBinary ( Example binaryExample, double &confidence ) : int
binaryExample Example
confidence double
return int

TrainBinary() protected method

Trains the classifier on the supplied binary examples
protected TrainBinary ( IArrayView binaryExamples ) : void
binaryExamples IArrayView
return void