Random Forest Text Classification Python, The code below first fits a random forest model.