Answered step by step
Verified Expert Solution
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:
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
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