partial_fit for incremental training of HT or EFDT in river #624
Piyushbalwani
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi @Piyushbalwani. The partial_fit method in skmultiflow simply did a loop over each input example and called a private method that trained in an instance-by-instance regimen. So there were no real mini-batching/vectorization speed-ups. It is in our plans to support real mini-batching capabilities in the trees in the future. But for now, the way to go is to iterate over instances and call |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
As it is mentioned in https://riverml.xyz/latest/user-guide/mini-batching/ ,
river
package learn with one sample at a time. But inskmultiflow
, there was implementation of partial_fit, which can fit multiple instances. In river , I found onlylearn_one
for HT andEFDT.Is there any equivalent function or alternative way to fit multiple instances?
https://scikit-multiflow.readthedocs.io/en/stable/api/generated/skmultiflow.trees.HoeffdingTreeClassifier.html
Regards,
Piyush
Beta Was this translation helpful? Give feedback.
All reactions