C# Класс MCAEmotiv.GUI.Animation.ClassifierManager

Показать файл Открыть проект

Открытые методы

Метод Описание
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