Skip to content
Snippets Groups Projects
Commit 9999a005 authored by Pat Alt's avatar Pat Alt
Browse files

uff

parent 7c402fe0
No related branches found
No related tags found
1 merge request!7669 initial run including fmnist lenet and new method
......@@ -59,10 +59,10 @@ Returns the best outcome from grid search results. The best outcome is defined a
function best_outcome(outcomes::Dict; generator=["ECCCo", "ECCCo-Δ"], measure=["distance_from_energy", "distance_from_targets"])
ranks = []
for (params, outcome) in outcomes
ranks = generator_rank(outcome; generator=generator, measure=measure) |>
_ranks = generator_rank(outcome; generator=generator, measure=measure) |>
x -> x.avg_rank |>
x -> sum(x) / length(x)[1]
return ranks
push!(_ranks, ranks)
end
best_index = argmin(ranks)
best_outcome = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment