A signed cover sheet for Homework 4 must be submitted with your homework.
P(+|cancer)*P(cancer) and P(+ | !cancer) * P(!cancer)
so that they summed to one. Use Bayes theorem and the theorem of total probability (see Table 6.1) to prove that this method is valid (i.e. that normalizing in this way yields the correct value for P(cancer|+)).
After running the provided install program you will need to edit the Makefile to modify the line that begins with "CC =" to be
CC = /pkg/gnu/bin/gccThen to compile it use the command
/pkg/gnu/bin/makeAlso, in svm_base.c you may need to change the call to sqrtf to sqrt. There are many interesting variations to this. For example, you can combine NB with EM to make use of unlabeled data. If you are interested in any of these variations please talk to me.
Consider the Fire Alarm example from the following applet except remove the attribute "reporting." For each of the following three sets of observations, show your computation for obtaining the posterior probabilities of all variables.
85,84,70,82,87,94,88,76,65,79,93,68,70,59,78,99,95,58,85,82,83,61Only 3 different letter grades, {A,B,C} will be assigned. Use the k-means algorithm to assign grades (with k=3) Explore how changing the initial values for the mean of the three clusters (using standard deviation of 1) will affect both the speed of convergence and also the resulting clusters. As just one possibility, you could suppose that the instructor begins the semester with the initial expectation that the mean grade for an A to be a 90, for a B to be an 80, for a C to be a 70. Try a lot of variations and report upon and discuss your findings.