function Prune: double;
Performs pre-pruning and post-pruning and enables only those attributes giving best classification accuracy towards the test dataset.
Returns: double
Remarks:
The method calls the ClassifyTest method, if internalPrunging is True. Otherwise, the classification results must be returned via the OnClassifyTest event.