C# 클래스 Accord.MachineLearning.DecisionTrees.Pruning.ReducedErrorPruning

Reduced error pruning.
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
ReducedErrorPruning ( DecisionTree tree, double inputs, int outputs ) : System

Initializes a new instance of the ReducedErrorPruning class.

Run ( ) : double

Computes one pass of the pruning algorithm.

비공개 메소드들

메소드 설명
computeError ( ) : double
computeError ( DecisionNode node ) : double
computeGain ( DecisionNode node ) : double
trackDecisions ( DecisionNode root, double input, int index ) : void

메소드 상세

ReducedErrorPruning() 공개 메소드

Initializes a new instance of the ReducedErrorPruning class.
public ReducedErrorPruning ( DecisionTree tree, double inputs, int outputs ) : System
tree DecisionTree The tree to be pruned.
inputs double The pruning set inputs.
outputs int The pruning set outputs.
리턴 System

Run() 공개 메소드

Computes one pass of the pruning algorithm.
public Run ( ) : double
리턴 double