![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
机器学习
Nereus_Li
这个作者很懒,什么都没留下…
展开
-
机器学习实战—决策树(二)
#-*-coding:utf-8-*- import ch ch.set_ch() import matplotlib.pyplot as plt decisionNode = dict(boxstyle = "sawtooth",fc="0.8") leafNode = dict(boxstyle="round4",fc = "0.8") arrow_args = dict(ar原创 2015-04-13 12:06:46 · 929 阅读 · 0 评论 -
机器学习实战——朴素贝叶斯
from numpy import * # 创建一个实验样本 def loadDataSet(): postingList = [['my','dog','has','flea','problems','help','please'], ['maybe','not','take','him','to','dog','park','stupid'原创 2015-04-15 18:24:14 · 860 阅读 · 0 评论