Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save and Load MABs #185

Merged
merged 31 commits into from
Sep 12, 2023
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ff02744
fix
maypink Mar 17, 2023
987cce0
fix#2
maypink Mar 17, 2023
022363c
minor
maypink Mar 21, 2023
d24dfa2
Merge branch 'main' of https://github.com/aimclub/GOLEM into 66-singl…
maypink Mar 27, 2023
4900e5f
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Mar 29, 2023
cc8729f
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Apr 4, 2023
f320cfa
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Apr 10, 2023
f3ca604
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Apr 21, 2023
b76b1c3
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink May 3, 2023
13a76bf
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Jun 1, 2023
df115e3
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Jun 9, 2023
4342573
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Jun 13, 2023
56db3a7
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Jun 15, 2023
5826890
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Jun 16, 2023
33339ef
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Jun 21, 2023
1863a1a
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Jul 3, 2023
da4eaad
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Jul 6, 2023
0959a02
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Aug 7, 2023
9543642
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Sep 4, 2023
a9885f4
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Sep 6, 2023
5d65d7d
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Sep 12, 2023
5834a0f
Merge branch 'main' of https://github.com/aimclub/GOLEM
maypink Sep 12, 2023
1a0e20f
save and load bandits
maypink Sep 7, 2023
3b39650
minor
maypink Sep 7, 2023
46241de
add tests
maypink Sep 8, 2023
3b9daa0
зуз8
maypink Sep 8, 2023
c6a1bfc
enhance path match
maypink Sep 11, 2023
8d664d2
modify saving
maypink Sep 11, 2023
72b8249
fixes after review
maypink Sep 11, 2023
b18f159
fixes after review #2
maypink Sep 11, 2023
23d640e
add comment
maypink Sep 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix#2
  • Loading branch information
maypink committed Mar 17, 2023
commit 987cce0719b19b7d4a15b99b3e21bff7b94dfc94
3 changes: 2 additions & 1 deletion golem/core/optimisers/genetic/operators/base_mutations.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ def single_drop_mutation(graph: OptGraph,
and node_name in n.descriptive_id]
graph.delete_node(node_to_del)
for child_node in nodes_to_delete:
graph.delete_node(child_node)
if child_node in graph.nodes:
graph.delete_node(child_node)
elif removal_type == RemoveType.with_parents:
graph.delete_subtree(node_to_del)
elif removal_type != RemoveType.forbidden:
Expand Down