Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem Statement: Consider yourself to be Jeff, who is a Deep Learning Engineer at a prestigious company. Your company is working with a Cancer Institute

Problem Statement:
Consider yourself to be Jeff, who is a Deep Learning Engineer at a prestigious company. Your company is working with a Cancer Institute to find out what are the factors which lead up to a patient having cancer.
Dataset Used:
\table[[diagnosis **,radius_mean **,texture_mean **,perimeter_mean *,area_mean **,smoothness_mean **,compactness_mean *],[M,17.990,10.38,122.80,1001.0,0.11840,0.27760],[M,20.570,17.77,132.90,1326.0,0.08474,0.07864],[M,19.690,21.25,130.00,1203.0,0.10960,0.15990],[M,11.420,20.38,77.58,386.1,0.14250,0.28390],[M,20.290,14.34,135.10,1297.0,0.10030,0.13280],[M,12.450,15.70,82.57,477.1,0.12780,0.17000],[M,18.250,19.98,119.60,1040.0,0.09463,0.10900],[M,13.710,20.83,90.20,577.9,0.11890,0.16450],[M,13.000,21.82,87,50,519.8,0.12730,0.19320]]
Tasks to be Done:
A. Start off by loading the 'breast_cancer' dataset from 'sklearn'
a. Print the number of samples and number of features in the data
b. Divide the data into train & test sets with with test set size to be equal to 0.33
c. Create the network:
i. Start with the input layer
ii. Add two hidden layers, where each layer has 32 nodes
iii. The final layer's activation should be 'softmax'
iv. Fit the model on the train set
v. Evaluate the accuracy for train and test set
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

Students also viewed these Databases questions

Question

Explain the steps of a criminal prosecution.

Answered: 1 week ago

Question

=+5. What do you want them to think?

Answered: 1 week ago

Question

=+What the product does for the end-user.)

Answered: 1 week ago