learnRPART function

Fit models and make predictions with a PCA-LR classifier