Question: Write a Python program to train the model and use the following multilayer ANN to predict the output for class Die_Live: Die_Live1:1, 0 Die_Live2:0, 1
Write a Python program to train the model and use the following multilayer ANN to predict the output for class Die_Live:
- Die_Live1:1, 0
- Die_Live2:0, 1
The set of data is fromhttp://archive.ics.uci.edu/ml/datasets/Hepatitis.
Number of Instances: 155
Number of Attributes: 20 (including the class attribute)
Replace all missing records with a single and unique value, which is the mean value of that attribute.
Use a multilayer ANN (19-30-15-2).
Input layer - 19 neurons
Second layer - 30 neurons
Third layer - 15 neurons
Output layer - 2 neurons
Activation function for all layers - sigmoid.
Make the necessary adjustments to the net architecture to achieve a high accuracy.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
