Question: Information Data provided: dataset.csv Classes are in the last column Use K - fold = 5 Design using tensorflow and keras Design an MLP -

Information Data provided: dataset.csv
Classes are in the last column
Use K-fold =5
Design using tensorflow and keras
Design an MLP-Perceptron and classify the assigned dataset using K-fold=5:
a) Learning rate: 0.1
b) Number of hidden layers: 4a. Number of neurons per layer: 50b. Activation function: Relu
c) Hyperparameterse. optimizer = SGDb. loss = 'mse'c. metrics = accuracyd. batch_size =64e. Epoch =5
d) Plot Accuracy vs Epoch (X-axis: Epoch, Y-axis: Accuracy)e) Perform the test, that is, the classification with the test data and print the accuracy
Now change the layout as follows
a) Learning rate: 0.01
b) Number of hidden layers: 6a. Number of neurons per layer: 60b. Activation function: Relu
c) Hyperparameterse. optimizer = Adamb. loss = 'binary_crossentropy'c. metrics = 'accuracy'd. batch_size =128e. Epoch =5
d) Plot Accuracy versus Epoch (X-axis: Epoch, Y-axis: Accuracy)e) Perform the test after training and print the accuracy
Answer the following questions:
1. Which is the best model, i.e. exercise-1 or 2? explain and present your arguments for your choice
2. Which of the training hyperparameters do you think has the most influence on accuracy? Why? List your arguments to defend your point.
3. Write down all the changes that have surprised you in this lab

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!