Method | Description | |
---|---|---|
DecisionTree ( String attributeName ) : System | ||
ToString ( ) : String | ||
ToString ( int depth, StringBuilder buf ) : String | ||
addLeaf ( String attributeValue, String decision ) : void | ||
addNode ( String attributeValue, |
||
getAttributeName ( ) : String | ||
getStumpFor ( |
||
getStumpsFor ( |
||
predict ( |
Method | Description | |
---|---|---|
DecisionTree ( ) : System |
public DecisionTree ( String attributeName ) : System | ||
attributeName | String | |
return | System |
public ToString ( int depth, StringBuilder buf ) : String | ||
depth | int | |
buf | StringBuilder | |
return | String |
public addLeaf ( String attributeValue, String decision ) : void | ||
attributeValue | String | |
decision | String | |
return | void |
public addNode ( String attributeValue, |
||
attributeValue | String | |
tree | ||
return | void |
public static getStumpFor ( |
||
ds | ||
attributeName | String | |
attributeValue | String | |
returnValueIfMatched | String | |
unmatchedValues | List |
|
returnValueIfUnmatched | String | |
return |
public static getStumpsFor ( |
||
ds | ||
returnValueIfMatched | String | |
returnValueIfUnmatched | String | |
return | List |
public predict ( |
||
e | ||
return | Object |