text_plain_output_1.png
from sklearn.externals import joblib

from sklearn.linear_model import LogisticRegression

LR_Model = LogisticRegression(C=0.1, max_iter=20, fit_intercept=True, n_jobs=3, solver='liblinear')
LR_Model.fit(Xtrain, Ytrain)

joblib_file = 'joblib_RL_Model.pkl'
joblib.dump(LR_Model, joblib_file)

joblib_LR_model = joblib.load(joblib_file)
joblib_LR_model