Question: write in python The dataset bdiag.csv, included several imaging details from patients that had a biopsy to test for breast cancer. The variable diagnosis classifies

write in python

write in python The dataset bdiag.csv, included several imaging details from patients

The dataset bdiag.csv, included several imaging details from patients that had a biopsy to test for breast cancer. The variable diagnosis classifies the biopsied tissue as M = malignant or B = benign. a. Use a KNN with k = 5 to predict Diagnosis using texture_mean and radius_mean. b. Build the confusion matrix for the classification above c. Plot the scatter plot for texture_mean and radius_mean and draw the border line for the prediction of Diagnosis based on the model in a) d. Plot the scatter plot for texture_mean and radius_mean and draw the border line for the prediction of Diagnosis based knn, k=15 The dataset bdiag.csv, included several imaging details from patients that had a biopsy to test for breast cancer. The variable diagnosis classifies the biopsied tissue as M = malignant or B = benign. a. Use a KNN with k = 5 to predict Diagnosis using texture_mean and radius_mean. b. Build the confusion matrix for the classification above c. Plot the scatter plot for texture_mean and radius_mean and draw the border line for the prediction of Diagnosis based on the model in a) d. Plot the scatter plot for texture_mean and radius_mean and draw the border line for the prediction of Diagnosis based knn, k=15

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!