random forest exploration and prediction (separated from decision tree)