Skip to content

Commit

Permalink
good to go!
Browse files Browse the repository at this point in the history
  • Loading branch information
nkumar-bdai committed Apr 10, 2024
1 parent b895d7d commit 29e5d0c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/analyze_results_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,11 @@ def create_raw_dataframe(
run_data_defaultdict.update(config)
else:
run_data_defaultdict = outdata
(env, approach, seed, excluded_predicates, included_options,
experiment_id, online_learning_cycle) = filepath[8:-4].split("__")
try:
(env, approach, seed, excluded_predicates, included_options,
experiment_id, online_learning_cycle) = filepath[8:-4].split("__")
except ValueError:
import ipdb; ipdb.set_trace()
if not excluded_predicates:
excluded_predicates = "none"
run_data = dict(
Expand Down
6 changes: 6 additions & 0 deletions scripts/plotting/create_active_sampler_learning_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,18 +160,24 @@ def _derive_per_task_average(metric: str,
lambda v: "grid_row-planning_progress_explore_original" in v)),
("No Feature Eng.", "blue", lambda df: df["EXPERIMENT_ID"].apply(
lambda v: "grid_row-planning_progress_explore_no_feature_engineering" in v)),
("No Weight Sharing", "red", lambda df: df["EXPERIMENT_ID"].apply(
lambda v: "grid_row-planning_progress_explore_no_weight_sharing" in v)),
],
"Ball and Cup Sticky Table": [
("Original", "green", lambda df: df["EXPERIMENT_ID"].apply(
lambda v: "sticky_table-planning_progress_explore_original" in v)),
("No Feature Eng.", "blue", lambda df: df["EXPERIMENT_ID"].apply(
lambda v: "sticky_table-planning_progress_explore_no_feature_engineering" in v)),
("No Weight Sharing", "red", lambda df: df["EXPERIMENT_ID"].apply(
lambda v: "sticky_table-planning_progress_explore_no_weight_sharing" in v)),
],
"Cleanup Playroom": [
("Original", "green", lambda df: df["EXPERIMENT_ID"].apply(
lambda v: "spot_sweeping_sim-planning_progress_explore_original" in v)),
("No Feature Eng.", "blue", lambda df: df["EXPERIMENT_ID"].apply(
lambda v: "spot_sweeping_sim-planning_progress_explore_no_feature_engineering" in v)),
("No Weight Sharing", "red", lambda df: df["EXPERIMENT_ID"].apply(
lambda v: "spot_sweeping_sim-planning_progress_explore_no_weight_sharing" in v)),
],
}

Expand Down

0 comments on commit 29e5d0c

Please sign in to comment.