楼主: 冯阳洋
1336 1

[有偿编程] 请问如何利用SAS软件实现朴素贝叶斯分类器 [推广有奖]

  • 0关注
  • 0粉丝

硕士生

63%

还不是VIP/贵宾

-

威望
0
论坛币
505 个
通用积分
14.1048
学术水平
1 点
热心指数
1 点
信用等级
1 点
经验
3660 点
帖子
78
精华
0
在线时间
162 小时
注册时间
2016-12-23
最后登录
2024-4-15

10论坛币
/*不是普通的贝叶斯判别噢,希望可以构造训练集和验证集进行分类研究*/
/*请以部分慢性肾病数据集为例实现*/
/*age年龄,bp血压,pc脓细胞,ba细菌,pe足水肿,class是否患有慢性肾病*/
data a;
input age bp pc $ ba $ pe $ class $;
cards;
48 80 normal notpresent no ckd
7 50 abnormal  notpresent yes ckd
62 80  normal  notpresent no ckd
48 80  normal  notpresent yes ckd
51 80  abnormal  notpresent no ckd
68 70  normal  notpresent yes ckd
48 80 abnormal notpresent yes ckd
27 70 normal  notpresent no notckd
62 60  normal  notpresent no notckd
35 70  normal  notpresent yes notckd
42 78  normal  notpresent no notckd
60 62  normal  notpresent no notckd;
run;

关键词:贝叶斯分类 朴素贝叶斯 sas软件 贝叶斯 分类器
沙发
冯阳洋 学生认证  发表于 2019-5-6 09:57:13 |只看作者 |坛友微信交流群
有木有小伙伴会呀

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-20 07:44