Ch02

所属分类:其他
开发工具:Python
文件大小:343KB
下载次数:0
上传日期:2018-09-10 21:03:21
上 传 者金小
说明:  使用python 学习KNN算法,内包含测试数据,方便查看算法结果。
(using KNN algorithm by python)

文件列表:
Ch02\datingTestSet.txt (35725, 2012-03-01)
Ch02\datingTestSet2.txt (27067, 2012-03-01)
Ch02\digits.zip (739988, 2011-05-04)
Ch02\EXTRAS\createDist.py (2052, 2010-10-27)
Ch02\EXTRAS\createDist2.py (2162, 2011-05-31)
Ch02\EXTRAS\createFirstPlot.py (561, 2011-05-31)
Ch02\EXTRAS\testSet.txt (0, 2010-10-27)
Ch02\kNN.py (4268, 2011-05-31)
Ch02\kNN.pyc (4500, 2011-05-31)
Ch02\testSet.txt (0, 2011-05-31)
Ch02\EXTRAS (0, 2015-11-25)
Ch02 (0, 2015-11-25)

The code for the examples in Ch.1 is contained in the python module: kNN.py. The examples assume that datingTestSet.txt is in the current working directory. Folders testDigits, and trainingDigits are assumed to be in this folder also.

近期下载者

相关文件


收藏者