Skip to content

Commit

Permalink
Merge branch 'main' into feature/decision_tree
Browse files Browse the repository at this point in the history
  • Loading branch information
ipranjal authored Oct 7, 2023
2 parents 2f31693 + 3b6e2f9 commit ec08c35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def tune_hparams(X_train, Y_train, X_dev, y_dev, list_of_all_param_combination,
optimal_max_depth = param_combination['max_depth']
best_hparams = {'max_depth': optimal_max_depth}
best_model_path = "./models/{}".format(model_type)+"_".join(["{}:{}".format(k,v) for k,v in best_hparams.items()])+".joblib"

best_model = cur_model

# save the best model
Expand Down

0 comments on commit ec08c35

Please sign in to comment.