How to download datasets for sklearn? - python

后端 未结 1 1614
耶瑟儿~
耶瑟儿~ 2021-01-12 15:02

In NLTK there is a nltk.download() function to download the datasets that are comes with the NLP suite.

In sklearn, it talks about loading data sets (ht

相关标签:
1条回答
  • 2021-01-12 15:41

    A network connection problem has probably corrupted the source archive on your drive. Delete the twenty groups related files or folders from you scikit_learn_data folder in your user's home directory and try again.

    $ cd ~/scikit_learn_data'
    $ rm -rf 20news_home
    $ rm 20news-bydate.pkz
    
    0 讨论(0)
提交回复
热议问题