One technique that makes this possible is the perceptron learning algorithm ... For example, here’s an AND gate with two parallel perceptrons (assuming a threshold of 1): Before you start ...