Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Dupre <[email protected]>
  • Loading branch information
xadupre committed Aug 1, 2023
2 parents 9f0ca6f + f4cd5fa commit c4027e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions onnxmltools/convert/xgboost/_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def _get_attributes(booster):

if "base_score" not in kwargs:
kwargs["base_score"] = 0.5
elif isinstance(kwargs["base_score"], str):
kwargs["base_score"] = float(kwargs["base_score"])
return kwargs


Expand Down

0 comments on commit c4027e2

Please sign in to comment.