changed random forest classifier to have dataframe