C# 클래스 AIMA.Core.Learning.Inductive.DecisionTree

파일 보기 프로젝트 열기: PaulMineau/AIMA.Net 1 사용 예제들

공개 메소드들

메소드 설명
DecisionTree ( String attributeName ) : System
ToString ( ) : String
ToString ( int depth, StringBuilder buf ) : String
addLeaf ( String attributeValue, String decision ) : void
addNode ( String attributeValue, DecisionTree tree ) : void
getAttributeName ( ) : String
getStumpFor ( DataSet ds, String attributeName, String attributeValue, String returnValueIfMatched, List unmatchedValues, String returnValueIfUnmatched ) : DecisionTree
getStumpsFor ( DataSet ds, String returnValueIfMatched, String returnValueIfUnmatched ) : List
predict ( Example e ) : Object

보호된 메소드들

메소드 설명
DecisionTree ( ) : System

메소드 상세

DecisionTree() 보호된 메소드

protected DecisionTree ( ) : System
리턴 System

DecisionTree() 공개 메소드

public DecisionTree ( String attributeName ) : System
attributeName String
리턴 System

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

ToString() 공개 메소드

public ToString ( int depth, StringBuilder buf ) : String
depth int
buf StringBuilder
리턴 String

addLeaf() 공개 메소드

public addLeaf ( String attributeValue, String decision ) : void
attributeValue String
decision String
리턴 void

addNode() 공개 메소드

public addNode ( String attributeValue, DecisionTree tree ) : void
attributeValue String
tree DecisionTree
리턴 void

getAttributeName() 공개 메소드

public getAttributeName ( ) : String
리턴 String

getStumpFor() 공개 정적인 메소드

public static getStumpFor ( DataSet ds, String attributeName, String attributeValue, String returnValueIfMatched, List unmatchedValues, String returnValueIfUnmatched ) : DecisionTree
ds AIMA.Core.Learning.Framework.DataSet
attributeName String
attributeValue String
returnValueIfMatched String
unmatchedValues List
returnValueIfUnmatched String
리턴 DecisionTree

getStumpsFor() 공개 정적인 메소드

public static getStumpsFor ( DataSet ds, String returnValueIfMatched, String returnValueIfUnmatched ) : List
ds AIMA.Core.Learning.Framework.DataSet
returnValueIfMatched String
returnValueIfUnmatched String
리턴 List

predict() 공개 메소드

public predict ( Example e ) : Object
e AIMA.Core.Learning.Framework.Example
리턴 Object