Logistic regression and Adaline algorithms demo.