Richard Saavedra
commited on
Commit
•
5210ded
1
Parent(s):
c2cb4e2
First model version
Browse files- main.py +6 -0
- model.joblib +3 -0
main.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from sklearn import linear_model
|
2 |
+
reg = linear_model.LinearRegression()
|
3 |
+
reg.fit([[0, 0], [1, 1], [2, 2]], [0, 1, 2])
|
4 |
+
|
5 |
+
from joblib import dump, load
|
6 |
+
dump(reg, 'model.joblib')
|
model.joblib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdd6d21e9b1fc3243280669a93622b50b06cf2b5996c5a376ab2cf3f4d35fe12
|
3 |
+
size 578
|