Comments (7)
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
from hmni.
@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 training dataset and code is included in the dev
folder for other developers to build their own unique models and compare benchmarks.
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.
from hmni.
@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.
from hmni.
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
from hmni.
I solved this issue by:
pip uninstall scikit-learn
pip install scikit-learn==0.23.1
from hmni.
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.
from hmni.
Faced the same issue still.
from hmni.
Related Issues (19)
- Tensorflow Dependency Error HOT 6
- matcher.similarity gives an error HOT 1
- pandas fuzzy merge with particular distance algorithm HOT 1
- ImportError: cannot import name 'Iterable' from 'collections' HOT 4
- Code from your tutorial HOT 1
- ModuleNotFoundError: No module named 'syllable_tokenizer' HOT 1
- AttributeError: module 'hmni.syllable_tokenizer' has no attribute 'tokenize' HOT 1
- UserWarning: Trying to unpickle estimator MinMaxScaler from version 0.23.1 when using version 1.0.2. HOT 3
- ImportError: cannot import name 'MyVocabularyProcessor' from 'preprocess' (D:\Anaconda\lib\site-packages\preprocess.py) HOT 1
- TypeError: 'Matcher' object is not callable
- licence compatibility HOT 2
- Can we alter this model such that the recall is prioritised instead?
- Cannot import name 'float' from 'numpy' HOT 2
- Slow, even with small dataset HOT 6
- Could you share the training part? HOT 1
- fuzzymerge throws float indexing error HOT 1
- fuzzymerge throws error if match cannot be found
- featurize(df) throwing error: AttributeError: module hmni.syllable_tokenizer has no attribute 'tokenize' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hmni.