C# 클래스 Accord.MachineLearning.Boosting.Learners.DecisionStump

상속: IWeakClassifier
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

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