Performs pruning starting from the root node of a tree @param root the root node of a decision tree @param method the pruning method to use @param testSet the test set of data points to use for pruning
(TreeNodeVisitor root, PruningMethod method, ClassificationDataSet testSet)
| 63 | * @param testSet the test set of data points to use for pruning |
| 64 | */ |
| 65 | public static void prune(TreeNodeVisitor root, PruningMethod method, ClassificationDataSet testSet) |
| 66 | { |
| 67 | prune(root, method, testSet.getAsDPPList()); |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Performs pruning starting from the root node of a tree |
no test coverage detected