There are five main steps that determine the learning of a perceptron:
Initialize thresholds and weights
Provide inputs
Calculate outputs
Update weights in each step
Repeat steps 2 to 4