test / main.py
Richard Saavedra
First model version
5210ded
raw
history blame contribute delete
173 Bytes
from sklearn import linear_model
reg = linear_model.LinearRegression()
reg.fit([[0, 0], [1, 1], [2, 2]], [0, 1, 2])
from joblib import dump, load
dump(reg, 'model.joblib')