-
Notifications
You must be signed in to change notification settings - Fork 50
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
AttributeError: MinMaxScaler Error #6
Comments
This is likely a version compatibility issue with sklearn, can you let me know what version you have installed? I don’t have the bandwidth to fix this right now, try installing an earlier version of sklearn for now. |
Thanks, @Christopher-Thornton just wanted to bring this to your attention. This is a great package, if I have some capacity, I can help address the above issue. I have installed an earlier version of scikit-learn. The fix is here if anyone faced this issue ->https://stackoverflow.com/questions/65635575/attributeerror-minmaxscaler-object-has-no-attribute-clip |
@Christopher-Thornton consider maybe hosting the training dataset. This way we could help you retrain the model with the newest sklearn version and upload the artifact. I would also like to develop a pytorch version of it and would be super-useful. To solve the issue for now, in the meantime you can change the install requirements in requirements.txt. 0.23.1 is the required version with the current model training. |
@gloriamacia I've pinned the sklearn version to 0.23.1 in the requirements.txt. Hopefully I will have the time in the next few weeks to train a new model using the latest version of sklearn. The ultimate goal for this package is to be lightweight and high performance. Pytorch lightning might be a better framework in this regard, or I could make the inference part of the package entirely independent of a DL framework. I think a change to pytorch would improve the usability of the package, if you are able to translate the model definitions that would really help me out. |
Happy to help out @Christopher-Thornton. Let me have a look this weekend at the training dataset to maybe start improving this first for ES/FR languages |
Faced the same issue still. |
I solved this issue by:
|
Getting the following error message.
'MinMaxScaler' object has no attribute 'clip'
Can you please review it?
The text was updated successfully, but these errors were encountered: