Linear regression

[code][pdf]

Logistic regression