demo of pruning function in treepredict.py
the pruned tree based on the 2011 training set