Regression-and-Perceptron Implementation of linear regression, logistic regression, and binary perceptron for supervised learning problems.