Question: 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:
tablediagnosis radiusmean texturemean perimetermean areamean smoothnessmean compactnessmean
Tasks to be Done:
A Start off by loading the 'breastcancer' 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
c Create the network:
i Start with the input layer
ii Add two hidden layers, where each layer has 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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
