Minimal random forest classifier