can you show me this using python
Posted: Sun Jul 10, 2022 11:35 am
can you show me this using python
1. Make a program to train a shallow perceptron network as you did in a lab. Your shallow perceptron network must have 3 inputs and 1 output. And train the shallow perceptron network (i.e., train the parameters including a bias) using the delta learning rule for the following given data, where, in each bracket, the 1st, 2nd, 3rd, and 4th elements are respectively corresponding to Input1, Input2, Input3, and Output for your perceptron. [0.1,0.8,0.2,0],[0.4,0.3,0.7,0],[0.3.0.1,0.1,0],[0.2,0.5,0.4,0], [0.7,0.9,0.8,1],[0.9,0.6,0.8,1],[0.5,0.6,0.9,1],[0.9,0.5,0.8,1] Your program must print out given inputs and your estimated output from your shallow perceptron network at every 100 epochs. And, plot how the error is changing at every 100 epochs, in other words, plot an error figure for (Epoch vs Error).
1. Make a program to train a shallow perceptron network as you did in a lab. Your shallow perceptron network must have 3 inputs and 1 output. And train the shallow perceptron network (i.e., train the parameters including a bias) using the delta learning rule for the following given data, where, in each bracket, the 1st, 2nd, 3rd, and 4th elements are respectively corresponding to Input1, Input2, Input3, and Output for your perceptron. [0.1,0.8,0.2,0],[0.4,0.3,0.7,0],[0.3.0.1,0.1,0],[0.2,0.5,0.4,0], [0.7,0.9,0.8,1],[0.9,0.6,0.8,1],[0.5,0.6,0.9,1],[0.9,0.5,0.8,1] Your program must print out given inputs and your estimated output from your shallow perceptron network at every 100 epochs. And, plot how the error is changing at every 100 epochs, in other words, plot an error figure for (Epoch vs Error).