how to use warm_start Parameters?

Home / Uncategorized / how to use warm_start Parameters?

Question:
I’d like to use the warm_start parameter to add training data to my random forest Regressor.Now, I have 100 different files.I don’t want to make these to a very big file and I expected it to be used like this:
regr_rf = RandomForestRegressor(warm_start=True)
for i in range(100):#rf_train and rf_target are created
regr_rf.fit(rf_train, rf_target)
joblib.dump(regr_rf, ‘reg_RF_train_QPE_model.pkl’)
I think the model will be bigger than last time,but it isn’t. how can I change this code to achieve my idea?


Answer:

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *