Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
richardc7
/
test
like
0
Joblib
Model card
Files
Files and versions
Community
main
test
/
main.py
Richard Saavedra
First model version
5210ded
over 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
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'
)