C# Class MCAEmotiv.Classification.KNN

Inheritance: AbstractClassifier, IOnlineClassifier
Show file Open project: madelson/Emotiv-Experimenter

Private Properties

Property Type Description

Public Methods

Method Description
TrainMore ( IArrayView labeledExamples ) : void

Adds the examples to the set of possible neighbor examples

Protected Methods

Method Description
PredictHelper ( Example example, double &confidence ) : int

Classifies the example

TrainHelper ( IArrayView labeledExamples ) : void

Trains the classifier

Method Details

PredictHelper() protected method

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

TrainHelper() protected method

Trains the classifier
protected TrainHelper ( IArrayView labeledExamples ) : void
labeledExamples IArrayView
return void

TrainMore() public method

Adds the examples to the set of possible neighbor examples
public TrainMore ( IArrayView labeledExamples ) : void
labeledExamples IArrayView
return void