Skip to content

Commit

Permalink
Merge pull request #3 from scottwedge/master
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
yihong-chen authored Feb 22, 2020
2 parents c676b71 + ca360b6 commit 75cf131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xgb_train_eval_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pickle
from time import time
from copy import deepcopy
from importlib imMport reload
from importlib import reload

import numpy as np
import pandas as pd
Expand Down Expand Up @@ -104,4 +104,4 @@
with open(constants.XGB_DIR + 'xgb_vip_{}_{:.6f}_{:.6f}'.format(param['booster'],
test_auc_score,
res.f1score.mean()), 'wb') as f:
pickle.dump(bst, f, pickle.HIGHEST_PROTOCOL)
pickle.dump(bst, f, pickle.HIGHEST_PROTOCOL)

0 comments on commit 75cf131

Please sign in to comment.