prediction_df function

Apply the predicted tree on either new test data or training data.