Answered step by step
Verified Expert Solution
Link Copied!

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 X_New and so on..).

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?

X_new = [[15.54, 12.36, 95.46, 763.3, 0.10, 0.15, 0.08664 ]]

Group of answer choices

Approx. 0.25, prediction benign

Approx. 0.91, prediction malignant

Approx. 0.05, prediction benign

Approx. 0.55, prediction malignant

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Frank Woods Business Accounting Volume 1

Authors: Frank Wood, Alan Sangster

11th Edition

0273712128, 978-0273712121

More Books

Students also viewed these Accounting questions

Question

What is artificial intelligence with drawing and examples

Answered: 1 week ago