Skip to content

Commit b0954f5

Browse files
committed
Implement passing of correct aggregation data
1 parent 8794ce2 commit b0954f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/autotuning_methodology/report_experiments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def get_strategies_aggregated_performance(
133133
strategies_performance_lower_err = [list() for _ in aggregation_data[0][1]]
134134
strategies_performance_upper_err = [list() for _ in aggregation_data[0][1]]
135135
strategies_performance_real_stopping_point_fraction = [list() for _ in range(len(aggregation_data[0][1]))]
136-
for random_baseline, strategies_curves, searchspace_stats, time_range in aggregation_data:
136+
for random_baseline, strategies_curves, searchspace_stats, time_range, _ in aggregation_data:
137137
dist = searchspace_stats.objective_performances_total_sorted
138138
for strategy_index, strategy_curve in enumerate(strategies_curves):
139139
# get the real and fictional performance curves

src/autotuning_methodology/visualize_experiments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ def plot_strategies_aggregated(
874874
strategies_lower_err,
875875
strategies_upper_err,
876876
strategies_real_stopping_point_fraction,
877-
) = get_strategies_aggregated_performance(aggregation_data, confidence_level)
877+
) = get_strategies_aggregated_performance(list(aggregation_data.values()), confidence_level)
878878

879879
# plot each strategy
880880
y_axis_size = strategies_performance[0].shape[0]

0 commit comments

Comments
 (0)