You are here: Symbol Reference > Classifier Namespace > Classes > TClassifier Class > TClassifier Methods > TClassifier.Prune Method
Data Miner
ContentsIndex
PreviousUpNext
TClassifier.Prune Method

Performs pre-pruning and post-pruning and enables only those attributes giving best classification accuracy towards the test dataset.

Pascal
function Prune: double;

The method calls the ClassifyTest method, if internalPrunging is True. Otherwise, the classification results must be returned via the OnClassifyTest event.

Copyright (c) 1999-2017 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!