剪枝-广东工业大学.PPT

剪枝-广东工业大学

* * * * * 朴素贝叶斯分类算法演示 对weather数据集使用朴素贝叶斯算法预测未知样本X={rainy,hot,normal,weak,?}的play ball类标号属性的值。 outlook temperature humidity wind play ball sunny hot high weak no sunny hot high strong no overcast hot high weak yes rain mild high weak yes rain cool normal weak yes rain cool normal strong no overcast cool normal strong yes sunny mild high weak no sunny cool normal weak yes rain mild normal weak yes sunny mild normal strong yes overcast mild high strong yes overcast hot normal weak yes rain mild high strong no 该问题描述如下: 样本X={rain, hot, normal, weak, ?} 类标号play ball有2个取值{yes, no} 题目即求:

文档评论(0)

1亿VIP精品文档

相关文档