【发布时间】:2017-08-18 01:36:06
【问题描述】:
我正在尝试使用 C4.5 算法为学校项目创建决策树。决策树为Haberman's Survival Data Set,属性信息如下。
Attribute Information:
1. Age of patient at time of operation (numerical)
2. Patient's year of operation (year - 1900, numerical)
3. Number of positive axillary nodes detected (numerical)
4. Survival status (class attribute)
1 = the patient survived 5 years or longer
2 = the patient died within 5 year
我们需要实现一个决策树,其中每个叶子都必须有一个不同的结果(意味着该叶子的熵应该为 0),但是有六个实例具有相同的属性,但结果不同。
例如:
66,58,0,2
66,58,0,1
C4.5算法在这种情况下是做什么的,我到处搜索了,但没有找到任何信息。
谢谢。
【问题讨论】:
-
Yazlab başa bela dimi :)
-
@EmreKantar 哈哈,阿南。 :)
标签: algorithm decision-tree j48 c4.5