3
我在Python數據科學基礎的書中運行了chapter2的例子。它出現了:沒有處理程序可以發現記錄「sklearn.datasets.twenty_newsgroups」
No handlers could be found for logger "sklearn.datasets.twenty_newsgroups"
這裏是例子的代碼:
from sklearn.datasets import fetch_20newsgroups
categories = ['sci.med', 'sci.space']
twenty_sci_news = fetch_20newsgroups(categories=categories)