AttributeError: 'Bunch' object has no attribute 'data'
来源:互联网 发布:三洋微波炉怎么样知乎 编辑:程序博客网 时间:2024/05/20 14:40
本博文仅仅针对《python机器学习及实践》中的第三章的第一个案例
这个故障的报错是在C:\Users\appleyuchi\scikit_learn_data下放置数据集
20news-bydate.pkz
后导致报错的。
正确做法是在该路径下面放置20news-bydate.tar.gz,而不是20news-bydate.pkz
然后
根据如下链接更新相关库文件:
http://blog.csdn.net/appleyuchi/article/details/73720156
最终可以让第三章的第一个代码
Chapter_3.1.1.1.py
无故障运行
阅读全文
0 0
- AttributeError: 'Bunch' object has no attribute 'data'
- AttributeError: 'classmethod' object has no attribute '__module__'
- AttributeError: 'module' object has no attribute 'getpass'
- AttributeError: ‘NoneType’ object has no attribute ‘clone’
- AttributeError: 'module' object has no attribute 'Serial'
- AttributeError: 'NoneType' object has no attribute 'clone'
- AttributeError: 'tuple' object has no attribute 'Multi'
- AttributeError: 'Response' object has no attribute 'json'
- AttributeError: 'module' object has no attribute(转)
- AttributeError: 'Connection' object has no attribute 'connection_errors'
- AttributeError: 'module' object has no attribute 'randint'
- AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC'
- AttributeError: 'WebDriver' object has no attribute
- AttributeError: 'NoneType' object has no attribute
- AttributeError: 'DisabledBackend' object has no attribute '_get_task_meta_for'
- AttributeError: 'module' object has no attribute 'Serial'
- AttributeError: 'module' object has no attribute 'LabelMap'
- AttributeError: 'module' object has no attribute 'XXX'
- markdown基础
- 动态参数
- solrCloud 在window上简单模拟搭建环境
- React笔记加报错
- 数据结构之串
- AttributeError: 'Bunch' object has no attribute 'data'
- 自然常数e
- 谈谈Spring中的IOC和AOP概念
- Photoshop抠图(磁性套索工具及几个常用案例)
- Java-算法分析及其优劣判断
- Dcm4chee学习笔记(三)--StoreSCP服务流程剖析
- Apache Kafka 入门
- Golang 服务器端对客户端的证书进行校验(双向证书校验)
- 适用于<python机器学习与实践>的twenty_newsgroups.py文件内容