hacktoberfest icon indicating copy to clipboard operation
hacktoberfest copied to clipboard

Adding Perceptron.py into Python

Open Mahos-H opened this issue 1 year ago • 0 comments

Problem

Visualization of how backpropagation works with weights. Considering a input vector of length 2 for able to plot the input/output.

Solution

Perceptron.py shows a simple Perceptron model capable of backpropagation and how exactly the weights are updated and visualization of the same, considering 2 input nodes and 1 output nodes. Activation function is sigmoid and loss function is mean squared error.

Mahos-H avatar Oct 19 '24 05:10 Mahos-H