analysiscenter / cardio

CardIO is a library for data science research of heart signals
https://analysiscenter.github.io/cardio/
Apache License 2.0
247 stars 78 forks source link

install_requires question #38

Closed Hunter0904 closed 4 years ago

Hunter0904 commented 4 years ago

HI all : When I am installing this project ,the install_requires needs scikit-learn=='0.19.1' but scikit-learn 0.19.1 I can't install correctly I think it's too old version? I user annaconda +python3.7 how could I do to work with this project~ thanks a lot image

dpodvyaznikov commented 4 years ago

Hi, @Hunter0904 !

It seems that the problem is in conflict of numpy and 'scikit-learn` version. I was unable to reproduce this issue on Ubuntu 18.04, so it seems that your OS also has something to do with it.

We had to fix scikit-learn version to keep segmentation pipelines working because scikit-learn had changes in its' API that were not supported by hmmlearn at the moment.

I did some tests and segmentation seems to work fine for me on Ubuntu 18.04 with hmmlearn==0.2.2, numpy==1.17.4 and scikit-learn==0.21.3.

So, I'd recommend to install latest versions of the libraries and try running your task.

Hunter0904 commented 4 years ago

HIHI I had solved this issue my python is 3.7 it's not work I change it to 3.6 is OK~~ thanks so much