Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 354 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 354 Bytes

Perceptron algorithm in python

  1. perceptron.py is the general step function activation, with threshold 0.5.

  2. or-gate-implemntation is carried out using perceptron algorithm, 3 inputs and bias is given and weights are found using the perceptron algorithm. Graph is plot to show how the perceptron could linearly seperate the or-gate truth values