Articles → MACHINE LEARNING → Perceptron In Machine Learning
Perceptron In Machine Learning
Purpose
Example
| Criteria | Input (xi = 0 or 1) | Weight (wi) |
|---|
| Phone is Affordable | x1 = 0 or 1 | w1 = 0.8 |
| Has a Better Camera | x2 = 0 or 1 | w2 = 0.6 |
| Battery Life is Good | x3 = 0 or 1 | w3 = 0.7 |
| Friends Recommend It | x4 = 0 or 1 | w4 = 0.4 |
| Attractive Design | x5 = 0 or 1 | w5 = 0.3 |
Steps Of How A Perceptron Works
- Set a threshold value
- Multiply all inputs by their weights
- Sum all the results
- Activate the output
Set A Threshold Value
Multiply All Inputs By Their Weights
| Criteria | Input (xi = 0 or 1) | Weight (wi) | xi X wi |
|---|
| Phone is Affordable | x1 = 1 | w1 = 0.8 | 0.8 |
| Has a Better Camera | x2 = 0 | w2 = 0.6 | 0 |
| Battery Life is Good | x3 = 1 | w3 = 0.7 | 0.7 |
| Friends Recommend It | x4 = 0 | w4 = 0.4 | 0 |
| Attractive Design | x5 = 1 | w5 = 0.3 | 0.3 |
Sum All The Results
Activate The Output
Transition And Rotation
- If you increase bias, the line moves upward.
- If you decrease bias, the line moves downward.
| Posted By - | Karan Gupta |
| |
| Posted On - | Tuesday, September 30, 2025 |