#save model using joblib joblib.dump(regr, 'lin_regress.sav')