-
Notifications
You must be signed in to change notification settings - Fork 48
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
Error with scikit-learn 1.2 : TypeError: Feature names #321
Comments
Thanks for this, I just encountered the problem as well. |
I'm running into this issue as well. I tried downgrading scikit-learn to 1.1 but this gives a warning:
|
I haven't tested it fully but I think I resolved this? The dockerfile is here, the key I think is installing libopenblas with conda for a specific build created using OpenMP: |
same |
I tried both of these fixes (downgrading sklearn + using the libopenblas openmp build) and they worked. Perhaps it would be worth it to pin the version of scikit-learn as Line 11 in 823dcd6
|
Hi Vini @vinisalazar , may I ask how to use the libopenblas openmp build ? anticipating your reply |
Hi @fallinwind, I'm installing concoct by creating a conda environment from a yaml file, here's how it looks like: channels:
- conda-forge
- bioconda
dependencies:
- concoct=1.1.0
- libopenblas=*=openmp*
- mkl
- python>=3
- samtools>=1.9
- scikit-learn=1.1.*
variables:
USE_OPENMP: 1 You can create the environment from such a file with the Best, |
I solved it by installing scikit-learn inside concoct_env |
Hello, I have encountered the same issue. Have you managed to resolve this problem? |
Not sure if this has been noted before, but I tried to install CONCOCT and it pulled scikit-learn 1.2. When running, i got the following error:
This appears to be changed from a warning in version 1.2.
Replacing scikit-learn 1.2 with scikit-learn 1.1 resolved the issue for me.
The text was updated successfully, but these errors were encountered: