Single-layer Neural Networks (Perceptrons)