Question: Title: Performance comparison and analysis on Perceptron with different activation functions and loss functions. Building two Perceptrons with the following two groups of activation functions

Title: Performance comparison and analysis on Perceptron with different activation functions and loss functions.
Building two Perceptrons with the following two groups of activation functions and loss functions on the training set (train_catvnoncat.h5)
Group 1:
Activation function:
aw,b(xi)=11+e-(wT5xi+3b)
Loss function:
J(w,b)=12mi=1m{(yi-(hat(yi)))2}
Group 2:
Activation function:
aw,b(xi)=11+e-(wTxi+b)
Loss function:
J(w,b)=1mi=1m{(yi-hat(y)i)2}
Testing these two implemented Perceptrons on the testing dataset (test'catvnoncat.h5), respectively, with the same hyper-parameters: learning rate: 0.01, iterations: 2000.
Calculate the training accuracies and compare their differences
Calculate the testing accuracies and compare their differences
Plot the learning curves for these two Perceptron, respectively and compare and analyze their differences.
Requirements:
Submitting the source code (Jupyter notebook files from Google Colab) and the data you use for the project, where the codes have no bugs.
Write and submit the project report with the following parts:
Project description
Model description.
Result analysis
 Title: Performance comparison and analysis on Perceptron with different activation functions

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