Closed jayahm closed 3 years ago
Hello,
Without having an example and an explanation of what you were trying to do I cannot help you since the error stack alone is not informative enough. Are you loading a previously saved SVC? Methods saved with different sklearn versions may not be compatible with new ones.
Very sorry for the lack of information. Because I thought it has something to with DESLIB compatibility with scikit learn.
To make it short, actually, I run the code with the latest version of scikit-learn.
But, that error came out.
If I downgrade to an older version, it is okay.
Can you confirm whether deslib is still compatible with the latest version of scikit-learn.
If yes, that means, the root of the problem is the saved SVM model from the older version of scikit-learn and not related to DESlib.
Yes, the library is compatible with scikit-learn=0.24.1
I'm pretty sure your problem is the saved model. It is already known that SVM saved from previous sklearn versions are not compatible with the new ones. You can find some more information about that on stack overflow or even in the sklearn documentation/issues.
I see. I'll check my scikit-learn. Thanks
Hi,
I got the follwoing error:
scikit-learn version '0.24.1'
I tried to downgrade scikit-learn to older versions, but doing that may make the other libraries not work.