Skip to content
Snippets Groups Projects
Commit be8b63d9 authored by pat-alt's avatar pat-alt
Browse files

fixed bug

parent bbbdcec8
No related branches found
No related tags found
1 merge request!8985 overshooting
......@@ -40,7 +40,7 @@ function grid_search(
# Filter out keyword parameters that are tuned:
not_these = keys(kwargs)[findall([k in map(k -> k[1], params) for k in keys(kwargs)])]
not_these = (not_these..., :n_individuals)
kwargs = filter(x -> !(x[1] not_these), Base.Pairs(params, keys(kwargs)))
kwargs = filter(x -> !(x[1] not_these), kwargs)
# Run experiment:
outcome = run_experiment(
......
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