Issue with sklearn version 1.1.1
Hi guys!I have an issue when creating a space in HuggingFace, since the sklearn version used in HuggingFace is 1.1.1, but it is not possible to use that version in neither Colab or Kaggle, which only support version 1.0.2.Also, if I try to force HuggingFace to use version 1.0.2 in requirements.txt, an error is raised.Any ideas how to solve this?Thanks!PS: This the space I’m having the issue withPredict_client - a Hugging Face Space by jemole
2022-05-25T06:12:10Z
Hi!Thanks to Omar Sanseviero, who gave me a hand in the Discord channel, the issue is fixed now.The way to use sklearn version 1.0.2 was to changesklearntoscikit-learn==1.0.2in requirements.txt.More info:scikit-learnInstalling scikit-learnThere are different ways to install scikit-learn: Install the latest official release. This is the best approach for most users. It will provide a stable version and pre-built packages are availabl...stackoverflow.comDifference between scikit-learn and sklearnpython, python-2.7, scikit-learnasked byBarryon02:07AM - 03 Aug 16 UTC