Skip to content

Commit

Permalink
Allow multiple seeds (parallel coordinates)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Krebs committed Feb 16, 2024
1 parent aa400f6 commit 4001a7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deepcave/plugins/objective/parallel_coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ def load_dependency_inputs(self, run, _, inputs):
def process(run, inputs):
budget = run.get_budget(inputs["budget_id"])
objective = run.get_objective(inputs["objective_id"])
df = serialize(run.get_encoded_data(objective, budget))
df = run.get_encoded_data(objective, budget)
df = df.groupby(df.columns.drop(objective.name).to_list(), as_index=False).mean()
df = serialize(df)
result = {"df": df}

if inputs["show_important_only"]:
Expand Down

0 comments on commit 4001a7e

Please sign in to comment.