Overview
The OR function is a function that takes two inputs and returns 1 if either input is equal to 1.
{% f(0,0) = 0 %}
{% f(0,1) = 1 %}
{% f(1,0) = 1 %}
{% f(1,1) = 1 %}
The chart of the function looks like the following.
{% f(0,1) = 1 %}
{% f(1,0) = 1 %}
{% f(1,1) = 1 %}
Linear Separability
The linear perceptron can replicate the OR function by drawing a line that separates the points.
Some lines fail to separate the points correctly, however, there are an infinite number of lines that separate the points correctly.