Skip to content

Instantly share code, notes, and snippets.

@firasmdar
firasmdar / LinearRegressionExample.py
Last active February 17, 2019 17:30
Simple Linear Regression example using Python & Scikit-Learn
# ai-wd.com
from sklearn import linear_model
ages = [
[18],[20],[22],[25],[27],[31],[34],[35],[37],[39],[42],[44],[50],[55],[61]
]
calories = [