rf_classifier function

construct a random forest wrapper classifier