from sklearn.datasets import fetch_mldata
mnist = fetch_mldata('MNIST original', data_home=custom_data_home)
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
mnist = fetch_mldata('MNIST original', data_home=custom_data_home)
NameError: name 'custom_data_home' is not defined
我收到了NameError
,我在網絡搜索解決方案,我沒有得到任何相關答案。 我甚至會嘗試使用easy_install安裝「custom_data_home」。它說它無法找到。 請幫我解決這個問題。NameError:未定義名稱'custom_data_home'
你有'custom_data_home'參數嗎?嘗試在'mnist = ....'行之前打印它。 – 2014-11-04 15:20:15
請解釋.....我不明白你的意思 – Sarah 2014-11-04 15:24:42
對不起,我不明白什麼「custom_data_home參數」是.......請解釋... – Sarah 2014-11-04 15:28:33