I am new to Machine Learning. But basically I want to train a Random Forest Model to identify the type of pages in many reports. Eg whether a page is a Content page or a glossary
For the training, I have > 1 feature. Some examples
Feature 1: Bag of Word
Feature 2: Boolean value if page contain the word "Content"
Label: 1 for Content page, 2 for Glossary
So after training the model, when I want to predict, do I just feed the entire text of a page into the predict method?
y_pred = RandomForestRegressor.predict(Text of a page)