文件名称:jiqixuexi
介绍说明--下载内容来自于网络,使用问题请自行百度
编写代码计算信息增益,splitDataSet函数是用来选择各个特征的子集的,比如选择年龄(第0个特征)的青年(用0代表)的自己,我们可以调用splitDataSet(dataSet,0,0)这样返回的子集就是年龄为青年的5个数据集。chooseBestFeatureToSplit是选择选择最优特征的函数。(Write code to calculate the information gain.SplitDataSet function is used to select the feature subset, such as the choice of age (0) young (0), we can call splitDataSet (dataSet, 0, 0) returns a subset of the five data sets is the age of youth. ChooseBestFeatureToSplit is a function that selects the best features.)
相关搜索: 决策树
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
jiqixuexi | 0 | 2018-03-11 |
jiqixuexi\.idea | 0 | 2018-03-11 |
jiqixuexi\.idea\inspectionProfiles | 0 | 2018-03-11 |
jiqixuexi\.idea\inspectionProfiles\profiles_settings.xml | 228 | 2018-03-11 |
jiqixuexi\.idea\jiqixuexi.iml | 474 | 2018-03-11 |
jiqixuexi\.idea\misc.xml | 228 | 2018-03-11 |
jiqixuexi\.idea\modules.xml | 270 | 2018-03-11 |
jiqixuexi\.idea\workspace.xml | 30521 | 2018-03-11 |
jiqixuexi\day1 | 0 | 2018-03-11 |
jiqixuexi\day1\ID3.py | 6266 | 2018-03-11 |
jiqixuexi\day1\Sklearn-Decision.py | 2028 | 2018-03-11 |
jiqixuexi\day1\tezhen.py | 1892 | 2018-03-11 |
jiqixuexi\day1\treePlotlib.py | 6487 | 2018-03-11 |
jiqixuexi\day1\trees.py | 7542 | 2018-03-11 |
jiqixuexi\day1\xinxishang.py | 4328 | 2018-03-11 |
jiqixuexi\day1\zz.py | 7217 | 2018-03-11 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.