Random forest classifier method