Skip to content

Commit

Permalink
update the default for compression and add some better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Wolbeck committed Aug 14, 2020
1 parent 8c9ccc3 commit 68f9a41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ngboost_tuner/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def build_cli():
"-ct",
"--compression-type",
type=str,
default=os.getenv("COMPRESSION"),
default=os.getenv("COMPRESSION", None),
help="Input data compression, i.e. gzip or None; defaults to $COMPRESSION if not set",
)
tune.add_argument(
Expand Down
2 changes: 2 additions & 0 deletions ngboost_tuner/tune.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ def objective(params):
Y_val=y_valid.values,
early_stopping_rounds=2,
)
log.info(f"Final LightGBM parameters {final_params_lightgbm}")
log.info(f"Final NGBoost parameters {final_ngboost_params}")

else:
base_models = [
Expand Down

0 comments on commit 68f9a41

Please sign in to comment.