Comments (4)
!pip install octis --no-dependencies
!pip install gensim==4.2.0
!pip install nltk
!pip install pandas
!pip install spacy
This fixed my issues. I have installed octis without dependencies and later imported the required ones. Don't know if its an ideal solution but hope it fixes your issue.
from octis.
This issue occur due to scikit-learn==0.24.2 version.
In my case, I installed scikit-learn==0.24.2 version first with these commands:
!git clone --branch 0.24.2 https://github.com/scikit-learn/scikit-learn.git
%cd scikit-learn
!python setup.py install
After installing scikit-learn, install octis library with (!pip install octis)
Note:I run all theses command on Colab with by default python version 3.10
from octis.
This issue occur due to scikit-learn==0.24.2 version. In my case, I installed scikit-learn==0.24.2 version first with these commands: !git clone --branch 0.24.2 https://github.com/scikit-learn/scikit-learn.git %cd scikit-learn !python setup.py install After installing scikit-learn, install octis library with (!pip install octis) Note:I run all theses command on Colab with by default python version 3.10
I am also encountering the same problem, and I am not able to solve it like this.
from octis.
Hi, not sure why this is happening. I have no problems on my laptop and I'm using python 3.10. Also I didn't have any issue on the GitHub server for python 3.10. However, it does seem all versions of scikit-learn prior to 1.1.0 do not support python 3.10 (https://github.com/scikit-learn/scikit-learn/releases/tag/1.0).
I'll push a new OCTIS release that uses scikit-learn v1.1.0. Hope it will solve this issue. Colab doesn't seem to complain with this version.
from octis.
Related Issues (20)
- Docker image failed with OCTIS in requirement HOT 7
- problems partitioning custom dataset
- Dependency incompatibility HOT 2
- AttributeError: module 'numpy' has no attribute 'int'. HOT 1
- Input contains NaN, infinity or a value too large for ('float64') HOT 2
- Attribute Error HOT 1
- OCTIS install error
- cy
- OCTIS install fails due to gensim version HOT 3
- Preprocessing custom dataset without removing punctuation HOT 1
- How do I handle this error
- Python 3.12.1 pip Installation Error HOT 3
- Can I get the original dataset?
- Error calculating coherence score for BERTopic model trained on Indic language HOT 1
- doc2bow error when running lda optimizer described in your docs HOT 1
- Memory issue with optimizer
- numpy memory error on a dataset with 4M tweets HOT 1
- Error get.vocabulary in optimizing results HOT 2
- AttributeError: 'list' object has no attribute 'lower' preprocessor.preprocess_dataset when num_processes != None 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 octis.