Consider the Gini index, classification error, and cross-entropy in a simple classification setting with two classes. Create a single plot that displays each of these quantities as a function of ˆpm1. The xaxis should display ˆpm1, ranging from 0 to 1, and the y-axis should display the value of the Gini index, classification error, and entropy. Hint: In a setting with two classes, pˆm1 = 1 ? pˆm2. You could make this plot by hand, but it will be much easier to make in R?
Consider the Gini index, classification error, and cross-entropy in a simple classification setting with two classes. Create a single plot…
07
Aug