2020/12/15 08:19 该数据库包含14个属性,UCI 心脏病数据集克利夫兰数据库是迄今为止ML研究人员使用的唯一数据库。 分享 在线分析 概述 文件 相关项目 评论1UCI 心脏病数据集 heart.csv heart.csv 11.1 KB 文件内容 数据概览 行数:303 列数:14 agesexcptrestbpscholfbsrestecgthalachexangoldpeakslopecathaltarg...
lightbulb See what others are saying about this dataset What have you used this dataset for? How would you describe this dataset? text_snippet Metadata Oh no! Loading items failed. If the issue persists, it's likely a problem on our side. ...
def id3(self, dataset: pd.DataFrame = None): ''' 实现决策树的ID3算法 :param dataset: 输入的数据集 :return: dict 决策树节点 ''' if dataset is None: dataset = self.DataSet next_tree = {} result_count = dataset.iloc[:, -1].value_counts() result_max = result_count.idxmax() next_...