Skip to content

Commit

Permalink
revert change to fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eccabay committed Nov 17, 2021
1 parent 5351665 commit a06865b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evalml/pipelines/pipeline_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ def graph_json(self):
param_dict[f"{param}_name"] = val.name
param_dict[f"{param}_parameters"] = val.parameters
else:
if np.issubdtype(type(val), np.number):
val = val.item()
if isinstance(val, np.int64):
val = int(val)
param_dict[param] = val
nodes[comp_] = {"Parameters": param_dict, "Name": att_.name}

Expand Down

0 comments on commit a06865b

Please sign in to comment.