Coding the Perceptron Forward Propagation

Learn how to code the single-layer feedforward operation.

Calculate the perceptron output

Given the two data points: x1x_1 and x2x_2 with values 2 and 3 respectively, compute the predicted value with the given weights of w1=2w_1=2 and w2=3w_2=3 and bias b=0.1b=0.1.

Get hands-on with 1400+ tech skills courses.