From: James Anderson on
Hi,

I am new to classification and regression tree, I have one classification task, which needs to output the posterior probability of the classification results.

Say I have training set as A_train (n by p) and test set as A_test (m by p), p is the number of variables, n is the sample size of training set and m is the sample size of the test set, Label_train is the class label of training set, Label_test is the class label of test set. I wanna use classregtree to classify A_test, using A_train as training set. What should be the command that can output the posterior probability of each sample in test set?

Thanks,

-James