Nirmal vekariya commited on
Commit
53c7361
1 Parent(s): af17518

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
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 to disk
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