-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple calls of .fit() has inconsistent behavior with scikit-learn #167
Comments
Are this names ( |
Related to #113 |
No, but it would be weird if |
Then I would propose the following alternative since it seems that having three functions is redundant:
Mind |
I would try to be duck-consistent with |
And |
Currently,
AADForest.fit()
would do nothing when called second time, while withscikit-learn
it would would cause model retraining. The same applies forfit_known()
which just ignoresdata
argument, even if it differs fromdata
the model was previously trained with.Here I propose to modify the
Coniferest
interface to add an additional method,.tune_known(known_data, known_labels)
. In this case:.fit(data)
would refit every time it is called dropping all the previous training.fit_known(data, known_data, known_labels)
would also refit.tune_known(known_data, known_labels)
would use the same "base" (isolation forest) model and tune it for labeled data. It would fail if called before.fit
or.fit_known
The text was updated successfully, but these errors were encountered: