Replies: 2 comments 4 replies
-
Hi @mingwugmail, thanks for reaching out. You are asking a usage question. The issue tracker is for bugs and new features. |
Beta Was this translation helpful? Give feedback.
-
r.fit(X1, y1)
r.fit(X2, y2) # will this continue the model training, or will it start over from scratch again? This will start over from scratch
The correct way to do this would be to call You may be tempted to try this: rf = RandomForest(n_estimators=100, warm_start=True)
rf.fit(X1, y1)
rf.set_params(n_estimators=150)
rf.fit(X2, y2) which will fit 100 trees on |
Beta Was this translation helpful? Give feedback.
-
Describe the issue linked to the documentation
https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html#sklearn.ensemble.RandomForestClassifier.fit
Hi, suppose:
What I want to achieve is:
But in my app, the (Xn, yn) has to be generated in different loop.
Can we add this clarification to the doc?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions