Package
weka.classifiers.trees
Synopsis
Class for generating a grafted (pruned or unpruned) C4.5 decision tree. For more information, see
Geoff Webb: Decision Tree Grafting From the All-Tests-But-One Partition. In: , San Francisco, CA, 1999.
Available in Weka 3.6.x - 3.7.1. Available via the package management system for Weka >= 3.7.2 (J48graft)
Options
The table below describes the options available for J48graft.
Option | Description |
---|---|
binarySplits | Whether to use binary splits on nominal attributes when building the trees. |
confidenceFactor | The confidence factor used for pruning (smaller values incur more pruning). |
debug | If set to true, classifier may output additional info to the console. |
minNumObj | The minimum number of instances per leaf. |
relabel | Whether relabelling is allowed during grafting. |
saveInstanceData | Whether to save the training data for visualization. |
subtreeRaising | Whether to consider the subtree raising operation when pruning. |
unpruned | Whether pruning is performed. |
useLaplace | Whether counts at leaves are smoothed based on Laplace. |
Capabilities
The table below describes the capabilites of J48graft.
Capability | Supported |
---|---|
Class | Binary class, Missing class values, Nominal class |
Attributes | Nominal attributes, Missing values, Empty nominal attributes, Numeric attributes, Unary attributes, Binary attributes |
Min # of instances | 0 |