Question
Please read the entire description and goal. Then write answer the question in the end. Use this link for data set: https : // gist.
Please read the entire description and goal. Then write answer the question in the end. Use this link for data set: https : // gist. github. com / chaityacshah / 899a95deaf8b1930003ae93944fd17d7
Goal: In this assignment, you will implement Artificial Neural Network (ANN). The goal of this assignment is to give you experience in implementation of ANN and analyze the problem of overfitting and underfitting based on the different structures of ANN. Data sets: The dataset that you use in this project is pima-indians-diabetes. Use this link for data set: https : // gist. github. com / chaityacshah / 899a95deaf8b1930003ae93944fd17d7 This dataset describes the medical records for Pima Indians and whether or not each patient will have an onset of diabetes within year. Fields description follow: preg = Number of times pregnant plas = Plasma glucose concentration a 2 hours in an oral glucose tolerance test pres = Diastolic blood pressure (mm Hg) skin = Triceps skin fold thickness (mm) test = 2-Hour serum insulin (mu U/ml) mass = Body mass index (weight in kg/(height in m)^2) pedi = Diabetes pedigree function age = Age (years) class = Class variable (1:tested positive for diabetes, 0: tested negative for diabetes) 1. Implementing ANN with 1- input layer with 8 neurons, 0 hidden layer and 1- output layer. 2. Implementing ANN with 1- input layer with 8 neurons, 1 hidden layer with 5 neurons and 1-output layer. 3. Implementing ANN with 1- input layer with 8 neurons, 2 hidden layers with 5 & 5 neurons and 1-output layer.
Please solve the following question below: Question: Compare the results of 1.(Implementing ANN with 1- input layer with 8 neurons, 0 hidden layer and 1- output layer.),
2. (Implementing ANN with 1- input layer with 8 neurons, 1 hidden layer with 5 neurons and 1-output layer.) &
3. (Implementing ANN with 1- input layer with 8 neurons, 2 hidden layers with 5 & 5 neurons and 1-output layer.)
with respect to these 3 different structures. You can use Python for comparison.
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