Commit b6c36b42 authored by Mohammadreza's avatar Mohammadreza

nr: refactor

parent 63e3f20d
Pipeline #201 failed with stages
......@@ -161,7 +161,7 @@ plt.show()
# # save the classifier
# model = {'model': svclassifier, 'scaler': scaler}
# with open('svclassifier_new3.pkl', 'wb') as fid:
# with open('svclassifier_new.pkl', 'wb') as fid:
# pickle.dump(model, fid)
# rfc = RandomForestClassifier(max_depth=10, random_state=0)
......
......@@ -23,7 +23,7 @@ def feature_extraction(data_):
# load classifier
with open('svclassifier_new3.pkl', 'rb') as fid:
with open('svclassifier_new.pkl', 'rb') as fid:
my_model = pickle.load(fid)
model = my_model['model']
scaler = my_model['scaler']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment