摘要:
features = [1,2,3,4] retDataSet=[] reducedFeatVec=features[:0] print(reducedFeatVec) reducedFeatVec.extend(features[1:]) #从1开始往 后加进来 print(reducedFeat 阅读全文
posted @ 2018-05-15 19:31
jude_python
阅读(905)
评论(0)
推荐(0)
摘要:
载请注明作者和出处: http://blog.csdn.net/c406495762 运行平台: Windows Python版本: Python3.x IDE: Sublime text3 一 前言 二 决策树 三 决策树构建的准备工作 1 特征选择 11 香农熵 12 编写代码计算经验熵 13 阅读全文
posted @ 2018-05-15 15:13
jude_python
阅读(329)
评论(0)
推荐(0)
浙公网安备 33010602011771号