C# Класс Accord.MachineLearning.Boosting.Learners.DecisionStump

Наследование: IWeakClassifier
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Compute ( double inputs ) : int

Computes the output class label for a given input.

DecisionStump ( int inputs ) : System

Initializes a new instance of the DecisionStump class.

Learn ( double inputs, int outputs, double weights ) : void

Teaches the stump classifier to recognize the class labels of the given input samples.

Описание методов

Compute() публичный Метод

Computes the output class label for a given input.
public Compute ( double inputs ) : int
inputs double The input vector.
Результат int

DecisionStump() публичный Метод

Initializes a new instance of the DecisionStump class.
public DecisionStump ( int inputs ) : System
inputs int The number of inputs for this classifier.
Результат System

Learn() публичный Метод

Teaches the stump classifier to recognize the class labels of the given input samples.
public Learn ( double inputs, int outputs, double weights ) : void
inputs double The input vectors.
outputs int The class labels corresponding to each input vector.
weights double The weights associated with each input vector.
Результат void