Articles → MACHINE LEARNING → Perceptron In Machine Learning

Perceptron In Machine Learning






Purpose







Example




CriteriaInput (xi = 0 or 1)Weight (wi)
Phone is Affordablex1 = 0 or 1w1 = 0.8
Has a Better Camerax2 = 0 or 1w2 = 0.6
Battery Life is Goodx3 = 0 or 1w3 = 0.7
Friends Recommend Itx4 = 0 or 1w4 = 0.4
Attractive Designx5 = 0 or 1w5 = 0.3



Steps Of How A Perceptron Works


  1. Set a threshold value
  2. Multiply all inputs by their weights
  3. Sum all the results
  4. Activate the output

Set A Threshold Value





Multiply All Inputs By Their Weights


CriteriaInput (xi = 0 or 1)Weight (wi)xi X wi
Phone is Affordablex1 = 1w1 = 0.80.8
Has a Better Camerax2 = 0w2 = 0.60
Battery Life is Goodx3 = 1w3 = 0.70.7
Friends Recommend Itx4 = 0w4 = 0.40
Attractive Designx5 = 1w5 = 0.30.3



Sum All The Results





Activate The Output





Transition And Rotation






  1. If you increase bias, the line moves upward.
  2. If you decrease bias, the line moves downward.









Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, September 30, 2025

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250