C# Class MCAEmotiv.Classification.VotedPerceptron

Inheritance: AbstractOnlineBinaryClassifier, IWeightedClassifier
显示文件 Open project: madelson/Emotiv-Experimenter

Private Properties

Property Type Description
DoTrainingStep void
TrainBinary void

Public Methods

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

Trains the classifier

Protected Methods

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

Computes the classifier's binary prediction

TrainBinary ( IArrayView binaryExamples ) : void

Trains the classifier in an online manner

TrainMoreBinary ( IArrayView binaryExamples ) : void

Trains the classifier in an online manner

Private Methods

Method Description
DoTrainingStep ( Example binaryExample, double weight ) : void
TrainBinary ( IArrayView binaryExamples, IArrayView weights ) : void

Trains the classifier

Method Details

PredictBinary() protected method

Computes the classifier's binary prediction
protected PredictBinary ( Example binaryExample, double &confidence ) : int
binaryExample Example
confidence double
return int

Train() public method

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

TrainBinary() protected method

Trains the classifier in an online manner
protected TrainBinary ( IArrayView binaryExamples ) : void
binaryExamples IArrayView
return void

TrainMoreBinary() protected method

Trains the classifier in an online manner
protected TrainMoreBinary ( IArrayView binaryExamples ) : void
binaryExamples IArrayView
return void