[Solved] CS436 Assignment 4 -Perceptrons, and Neural Networks

$25

File Name: CS436_Assignment_4__Perceptrons__and_Neural_Networks.zip
File Size: 489.84 KB

SKU: [Solved] CS436 Assignment 4 -Perceptrons, and Neural Networks Category: Tag:
5/5 - (1 vote)

1 Perceptrons, and Neural Networks

In this question, you will implement the Perceptron algorithm and compare it with your own implementations of Naive Bayes. If you are unsure of whether your implementation is correct, then you may compare them with WEKA/Scikit-Learn implementations of Naive Bayes. As in homework 2, the classification task is spam/ham (use the same dataset made available as part of homework 2).

80 points Implement the perceptron algorithm (use the perceptron training rule and not the gradient descent rule). Your task here is to experiment with different values of number of iterations and the learning rate. Report the accuracy for 20 suitable combinations of number of iterations and the learning rate. Repeat your experiment by filtering out the stop words. Compare the accuracy of your perceptron implementation with that of Naive Bayes (implemented in Homework 2).

20 points Consider the data set given below. Assume that the co-ordinates of the points are (1,1), (1,-1), (-1,1) and (-1,-1).

Construct a neural network that will have zero training error on this dataset. Write down and explain the solution (no programming is necessary for this part).

(Hint: Think XOR. You will need exactly one hidden layer and two hidden nodes.).

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS436 Assignment 4 -Perceptrons, and Neural Networks[Solved] CS436 Assignment 4 -Perceptrons, and Neural Networks
$25