-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Incompatability with Sklearn (and PyOD) #14
Comments
Hi, |
Hi @a-kole , thanks for the suggestion! |
yzhao062
added a commit
that referenced
this issue
Feb 2, 2024
it caused by sklearn update -- the latest version 0.1.2 should fix it. |
yzhao062
added a commit
that referenced
this issue
Feb 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUOD with PyOD does not function. An issue within
sklearn/base
preventsSUOD().fit()
from working.I have created several conda environments to try to resolve the sklearn compatibility issue with no luck. An environment with this issue can be created easily from a new env that only specifies PyOD and SUOD as dependencies. Here versions of Sklearn and other deps are set by conda, but I have also manually specified the versions listed in in SUOD and PyOD docs, but to no avail. The .yml file I have used in this example is (note my only hard requirement for this project is python 3.11):
To reproduce the error, all you need to do is call the suod fit method. Code to reproduce:
Note that I have tried this above code with both
pyod.models.suod.SUOD
andsuod.models.base.SUOD
with the same result.The entire resulting error trace is as follows:
The text was updated successfully, but these errors were encountered: