联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Java编程Java编程

日期:2020-03-17 11:21

STAT 430 Homework 6

(due Sunday March 15, by 11:59PM)

This assignment will use the wbca data we have been using in class. Assume

throughout that the prior probability of sampling a malignant tumor is π0 =

1/3 and the prior probability for sampling a benign tumor is π1 = 2/3.

1. Using all 9 features to classify in the wbca data, find the confusion table

of the naive Bayes classifier using multinomial distributions for each variable

like we did in class, but doing LOOCV.

2. Once again use the naive Bayes classifier with multinomials, but use

whatever techniques you choose to see if you can find a good subset of the 9

features that classifies better than the full set. Again, use LOOCV.

3. Using the full set of features do LOOCV this time doing naive Bayes

classification assuming independent normal distributions for the 9 features.

4. Now assess the performance of the Bayes classifier assuming multivariate

normal distributions for the 9 variables, again using LOOCV.

5. Add all 9 features for each case, w =P9

j=1 xi

. Inspect histograms of w

for both cases and controls. Assess the performance of the Bayes classifier

assuming w has a normal distribution for both malignant and benign tumors.

1


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp