Question: This assignment is a programming assignment. You can use your favorite computer language. Do not use Machine learning libraries for this question. Program the following

 This assignment is a programming assignment. You can use your favorite

This assignment is a programming assignment. You can use your favorite computer language. Do not use Machine learning libraries for this question. Program the following questions Your program should print down how the given initial weights are changed along with actual outputs until you finish your computation, that is, you should print the process of updated weights and the actual outputs. Submit the followings to have full score: (1) program source file (2) printed program list (3) printed output by running your program. Screenshots are accepted if I can read them. Stop training if you don't get the final weights within 10 epochs or if you find an infinite loop in your training (1). Program to simulate OR operation by Perceptron model learning process. There are two input units and one output unit. Input patterns are (0, 0), (0, 1), (1, 0), and (1, 1). The output will be either 1 or 0. The given parameters are as follow. The initial weight for W1 is 0.4 and the initial weight for W2 is 0.7. The learning coefficient is 0.8. The Threshold value is 2.2. (2). Program to simulate NOR (Not OR) operation by Perceptron model learning process. There are two input units and one output unit. Input patterns are (0, 0), (0, 1), (1, 0), and (1, 1). The output will be either 1 or 0. The given parameters are as follows. The initial weight for W1 is 0.8 and the initial weight for W2 is 0.7. The learning coefficient is 0.5. The Threshold value is 1.5. (3). Program to simulate NOR (Not OR) operation by Perceptron model learning process. There are two input units and one output unit. Input patterns are (0,0), (0, 1), (1, 0), and (1, 1). The output will be either 1 or 0. The given parameters are as follows. The initial weight for W1 is 0.8 and the initial weight for W2 is 0.7. The learning coefficient is 0.5. The Threshold value is -1.0

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!