sociocom / DNorm-J

Japanese version of DNorm
BSD 2-Clause "Simplified" License
9 stars 2 forks source link

use scikit-learn instead of sklearn #4

Closed shuntaroy closed 2 years ago

shuntaroy commented 4 years ago

sklearn is an alias of scikit-learn in PyPI, which always installs the latest version of scikit-learn. sklearn=0.0 in your requirements.txt is not very informative. It is recommended to use scikit-learn==0.20 or something like that, especially if you want to specify the version of scikit-learn.

shuntaroy commented 4 years ago

MedNER-J との組み合わせでWARNING(pipのエラー)が出ました. MedNER-Jと合わせて,requirementsの要件を緩和する必要があると思います(不等号を使う).

ERROR: dnorm-j 0.1.0 has requirement numpy==1.18.2, but you'll have numpy 1.19.0 which is incompatible.
ERROR: dnorm-j 0.1.0 has requirement scipy==1.4.1, but you'll have scipy 1.5.0 which is incompatible.
ERROR: dnorm-j 0.1.0 has requirement tqdm==4.45.0, but you'll have tqdm 4.48.1 which is incompatible.