C# 클래스 MCAEmotiv.GUI.Animation.ClassifierManager

파일 보기 프로젝트 열기: madelson/Emotiv-Experimenter

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetExample ( IArrayView trial ) : Example

메소드 상세

AddTrial() 공개 메소드

Enqueues a trial
public AddTrial ( IArrayView trial ) : void
trial IArrayView
리턴 void

ClassifierManager() 공개 메소드

Constructs a manager for the given scheme
public ClassifierManager ( ClassificationScheme classificationScheme ) : System
classificationScheme MCAEmotiv.GUI.Configurations.ClassificationScheme
리턴 System

Predict() 공개 메소드

Uses the classifier to predict the class of the trial
public Predict ( IArrayView trial, double &confidence ) : int
trial IArrayView
confidence double
리턴 int

RecordResult() 공개 메소드

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
리턴 void

RemoveTrial() 공개 메소드

Removes the trial if it was enqueued but not yet processed
public RemoveTrial ( IArrayView trial ) : void
trial IArrayView
리턴 void

Train() 공개 메소드

Trains the classifier on all enqueued examples
public Train ( ) : void
리턴 void