tree with prediction