C# Class MCAEmotiv.GUI.Animation.ClassifierManager

Afficher le fichier Open project: madelson/Emotiv-Experimenter

Méthodes publiques

Méthode Description
AddTrial ( IArrayView trial ) : void

Enqueues a trial

ClassifierManager ( ClassificationScheme classificationScheme ) : System

Constructs a manager for the given scheme

Predict ( IArrayView trial, double &confidence ) : int

Uses the classifier to predict the class of the trial

RecordResult ( int actual, int predicted, double confidence ) : void

Registers a prediction result to keep track of running accuracy

RemoveTrial ( IArrayView trial ) : void

Removes the trial if it was enqueued but not yet processed

Train ( ) : void

Trains the classifier on all enqueued examples

Private Methods

Méthode Description
GetExample ( IArrayView trial ) : Example

Method Details

AddTrial() public méthode

Enqueues a trial
public AddTrial ( IArrayView trial ) : void
trial IArrayView
Résultat void

ClassifierManager() public méthode

Constructs a manager for the given scheme
public ClassifierManager ( ClassificationScheme classificationScheme ) : System
classificationScheme MCAEmotiv.GUI.Configurations.ClassificationScheme
Résultat System

Predict() public méthode

Uses the classifier to predict the class of the trial
public Predict ( IArrayView trial, double &confidence ) : int
trial IArrayView
confidence double
Résultat int

RecordResult() public méthode

Registers a prediction result to keep track of running accuracy
public RecordResult ( int actual, int predicted, double confidence ) : void
actual int
predicted int
confidence double
Résultat void

RemoveTrial() public méthode

Removes the trial if it was enqueued but not yet processed
public RemoveTrial ( IArrayView trial ) : void
trial IArrayView
Résultat void

Train() public méthode

Trains the classifier on all enqueued examples
public Train ( ) : void
Résultat void