Question: in python Data provided: dataset.csv , the date doesnt have labels Classes are in the last column. Use K - fold = 5 Design using

in python
Data provided: dataset.csv, the date doesnt have labels
Classes are in the last column.
Use K-fold =5
Design using tensorflow and keras
Procedure
1. Design an MLP-perceptron and classify the assigned dataset using K-fold=5:
a) Learning rate: 0.1
b) Number of hidden layers: 4
Number of neurons per layer: 50
Activation function: Relu
c) Hyperparameters
optimizer = SGD
loss = 'mse'
metrics = accuracy
batch_size =64
Epoh =5
d) Plot Accuracy vs Epoh (X-axis: Epoh, Y-axis: Accuracy)
e) Perform the test, that is, the classification with the test data and print the accuracy
2. now change the layout as follows
a) Learning rate: 0.01
b) Number of hidden layers: 6
Number of neurons per layer: 60
Activation function: Relu
c) Hyperparameters
optimizer = Adam
loss = 'binary_crossentropy'
metrrics =accuracy
batch_size =128
Epoh =5
d) Plot Accuracy vs Epoh (X-axis: Epoh, Y-axis: Accuracy)
e) Perform the test after training and print the accuracy

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 Accounting Questions!