2013年11月3日

Python实现ID3算法

摘要: 自己用Python写的数据挖掘中的ID3算法,现在觉得Python是实现算法的最好工具: 先贴出ID3算法的介绍地址http://wenku.baidu.com/view/cddddaed0975f46527d3e14f.html 自己写的ID3算法 1 from __future__ import division 2 import math 3 4 table = {'age': {'young', 'middle', 'old'}, 'income': {'high', 'middle 阅读全文

posted @ 2013-11-03 17:16 Arts&Crafts 阅读(1668) 评论(0) 推荐(0) 编辑

导航