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

Error-based pruning.

References: Lior Rokach, Oded Maimon. The Data Mining and Knowledge Discovery Handbook, Chapter 9, Decision Trees. Springer, 2nd ed. 2010, XX, 1285 p. 40 illus. Available at: http://www.ise.bgu.ac.il/faculty/liorr/hbchap9.pdf .

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

공개 메소드들

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

Initializes a new instance of the ErrorBasedPruning class.

Run ( ) : double

Computes one pass of the pruning algorithm.

비공개 메소드들

메소드 설명
compute ( DecisionNode node ) : bool

Attempts to prune a node's subtrees.

computeError ( ) : double
computeErrorReplacingSubtrees ( DecisionNode tree, DecisionNode child ) : double
computeErrorWithoutSubtree ( DecisionNode tree, int mostCommon ) : double
getMaxChild ( DecisionNode tree ) : DecisionNode
trackDecisions ( DecisionNode root, double input, int index ) : void
upperBound ( double error, int size ) : double

메소드 상세

ErrorBasedPruning() 공개 메소드

Initializes a new instance of the ErrorBasedPruning class.
public ErrorBasedPruning ( 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