- 博客(2)
- 资源 (5)
- 收藏
- 关注
原创 诡异错误一: ValueError: embedded null character
使用如下语句读取名为0_xx.txt 文件时,遇到错误 ValueError: embedded null characterif __name__ == '__main__': fr = open("F:\eclipse_workspace\machine_learning_example\Ch02\trainningDigits\0_38.txt") for i in rang
2017-08-18 16:08:38 20804 8
原创 诡异错误二:TypeError: data type not understood
如何使用Python产生一个数组,数组的长度为1024,数组的元素全为0?很简单啊, 使用zeros(1024) 即可实现!如何产生一个2×1024的全0矩阵呢?是否是zeros(2,1024) ?若是上述这种写法就会出现 TypeError: data type not understood 这种错误; 正确的写法是 zeros((2,1024)),python的二维数据表示要用二层括号来进
2017-08-18 15:13:27 48713 5
Data Mining Practical Machine Learning Tools and Techniques Third Edition
2012-11-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人