Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this question, use the Wisconsin Breast Cancer Dataset (WBCD) to build a logistic regression (LR) model. use the entire data set to build the
For this question, use the Wisconsin Breast Cancer Dataset (WBCD) to build a logistic regression (LR) model. use the entire data set to build the model (no need to split into training and test sets). However for the predictive features use ONLY the following 7 variables: "radius_mean","texture_mean","perimeter_mean", "area_mean", "smoothness_mean","compactness_mean","concavity_mean" Once you have built the model (use 2000 iterations for fitting the model), make sure you follow through with the usual LR model activities (print variable coefficients BETA(i), the constant term BETA(0), Odds ratios for variables, the accuracy of the model overall, the ability to predict for a NEW feature vector XN New and so on..). Unless specifically altered, use all default run parameters as discussed in class. Answer the following question with respect to the Jupyter notebook you have built. - What is the predicted PROBABILITY of Malignancy for a patient with a feature vector as below? \[ \text { X_new }=[[15.54,12.36,95.46,763.3,0.10,0.15,0.08664]] \] Approx. 0.05 , prediction benign Approx. 0.55 , prediction malignant Approx. 0.25 , prediction benign Approx. 0.91 , prediction malignant
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started