Spaces:
Sleeping
Sleeping
Nirmal vekariya
commited on
Commit
•
53c7361
1
Parent(s):
af17518
Update model.py
Browse files
model.py
CHANGED
@@ -29,7 +29,7 @@ regressor.fit(X_train, y_train)
|
|
29 |
# Predicting the Test set results
|
30 |
y_pred = regressor.predict(X_test)
|
31 |
|
32 |
-
# Saving model
|
33 |
pickle.dump(regressor, open('model.pkl','wb'))
|
34 |
|
35 |
# Loading model to compare the results
|
|
|
29 |
# Predicting the Test set results
|
30 |
y_pred = regressor.predict(X_test)
|
31 |
|
32 |
+
# Saving model using pickle
|
33 |
pickle.dump(regressor, open('model.pkl','wb'))
|
34 |
|
35 |
# Loading model to compare the results
|