摘要: 1.决策树理解比较简单,关键要自己把理论用笔实践一遍,推荐http://www.cise.ufl.edu/~ddd/cap6635/Fall-97/Short-papers/2.htm教程。自己把里面的数据用matlab或python辅助计算下。2.信息增益(Information Gain)和 (熵Entropy)3.list 3-1计算给定数据集的香农熵for featVec in dataSet: currentLabel=featVec[-1] if currentLabel not in labelCounts.keys(): ... 阅读全文
posted @ 2014-02-04 23:12 cdsj 阅读(482) 评论(0) 推荐(0)
摘要: 标记 阅读全文
posted @ 2014-02-04 23:06 cdsj 阅读(96) 评论(0) 推荐(0)
摘要: Python安装1.一定要注意版本匹配问题,python不是向下兼容的。 阅读全文
posted @ 2014-02-04 22:09 cdsj 阅读(118) 评论(0) 推荐(0)