final less print
This commit is contained in:
parent
a6136b1bf3
commit
a154c3726f
@ -99,13 +99,10 @@ class AI:
|
|||||||
|
|
||||||
|
|
||||||
def bfs(self):
|
def bfs(self):
|
||||||
#goal_state = [route[i][0], route[i][1]]
|
|
||||||
goal_stateZ = [5, 5]
|
|
||||||
goal_state = [0,0]
|
goal_state = [0,0]
|
||||||
goal_stateTemp = self.giveNextDestination()
|
goal_stateTemp = self.giveNextDestination()
|
||||||
goal_state[0] = goal_stateTemp[0]
|
goal_state[0] = goal_stateTemp[0]
|
||||||
goal_state[1] = goal_stateTemp[1]
|
goal_state[1] = goal_stateTemp[1]
|
||||||
print(str(goal_stateZ) + " vs " + str(goal_state))
|
|
||||||
print(f'We go to {goal_state}')
|
print(f'We go to {goal_state}')
|
||||||
|
|
||||||
find_path = bfs.BFS(self.saper, self.window)
|
find_path = bfs.BFS(self.saper, self.window)
|
||||||
|
2
main.py
2
main.py
@ -17,7 +17,7 @@ TILES_X = int(12)
|
|||||||
TILES_Y = int(10)
|
TILES_Y = int(10)
|
||||||
|
|
||||||
# wł/wył muzyki
|
# wł/wył muzyki
|
||||||
MUSIC = True
|
MUSIC = False
|
||||||
|
|
||||||
# ustalenie FPS
|
# ustalenie FPS
|
||||||
FPS = 60
|
FPS = 60
|
||||||
|
@ -1,63 +1,31 @@
|
|||||||
[
|
[
|
||||||
<<<<<<< HEAD
|
{"current_level": 1, "leaf_id": "da54b030-2efe-11ed-b94e-4ccc6afd6a08", "parents": "root", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 200, "metric": 0, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 1, "leaf_id": "6c32ed43-2efd-11ed-96f6-4ccc6afd6a08", "parents": "root", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 200, "metric": 0, "return_statement": 0, "tree_id": 0},
|
{"current_level": 1, "leaf_id": "da5572f9-2efe-11ed-8bd9-4ccc6afd6a08", "parents": "root", "rule": "if obj[4]<=80.67436609605278:", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0.9964625048848765, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 1, "leaf_id": "6c3375b0-2efd-11ed-a86e-4ccc6afd6a08", "parents": "root", "rule": "if obj[4]<=80.67436609605278:", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0.9964625048848765, "return_statement": 0, "tree_id": 0},
|
{"current_level": 2, "leaf_id": "da63743e-2efe-11ed-8bf3-4ccc6afd6a08", "parents": "da5572f9-2efe-11ed-8bd9-4ccc6afd6a08", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 161, "metric": 0, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 2, "leaf_id": "6c412666-2efd-11ed-9404-4ccc6afd6a08", "parents": "6c3375b0-2efd-11ed-a86e-4ccc6afd6a08", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 161, "metric": 0, "return_statement": 0, "tree_id": 0},
|
{"current_level": 2, "leaf_id": "da643736-2efe-11ed-af34-4ccc6afd6a08", "parents": "da5572f9-2efe-11ed-8bd9-4ccc6afd6a08", "rule": "if obj[2]<=0:", "feature_idx": 2, "feature_name": "Protection_from_defuse", "instances": 161, "metric": 0.9203523274205176, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 2, "leaf_id": "6c41c121-2efd-11ed-ac61-4ccc6afd6a08", "parents": "6c3375b0-2efd-11ed-a86e-4ccc6afd6a08", "rule": "if obj[2]<=0:", "feature_idx": 2, "feature_name": "Protection_from_defuse", "instances": 161, "metric": 0.9203523274205176, "return_statement": 0, "tree_id": 0},
|
{"current_level": 3, "leaf_id": "da7101ba-2efe-11ed-85d4-4ccc6afd6a08", "parents": "da643736-2efe-11ed-af34-4ccc6afd6a08", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 135, "metric": 0, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 3, "leaf_id": "6c4e94d5-2efd-11ed-850f-4ccc6afd6a08", "parents": "6c41c121-2efd-11ed-ac61-4ccc6afd6a08", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 135, "metric": 0, "return_statement": 0, "tree_id": 0},
|
{"current_level": 3, "leaf_id": "da71c3a4-2efe-11ed-b060-4ccc6afd6a08", "parents": "da643736-2efe-11ed-af34-4ccc6afd6a08", "rule": "if obj[3]<=7:", "feature_idx": 3, "feature_name": "Meters_under_the_ground", "instances": 135, "metric": 0.7364977795505669, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 3, "leaf_id": "6c4f30b9-2efd-11ed-84b6-4ccc6afd6a08", "parents": "6c41c121-2efd-11ed-ac61-4ccc6afd6a08", "rule": "if obj[3]<=7:", "feature_idx": 3, "feature_name": "Meters_under_the_ground", "instances": 135, "metric": 0.7364977795505669, "return_statement": 0, "tree_id": 0},
|
{"current_level": 4, "leaf_id": "da7b0c34-2efe-11ed-81fe-4ccc6afd6a08", "parents": "da71c3a4-2efe-11ed-b060-4ccc6afd6a08", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 116, "metric": 0, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 4, "leaf_id": "6c58a9a1-2efd-11ed-93df-4ccc6afd6a08", "parents": "6c4f30b9-2efd-11ed-84b6-4ccc6afd6a08", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 116, "metric": 0, "return_statement": 0, "tree_id": 0},
|
{"current_level": 4, "leaf_id": "da7ba6de-2efe-11ed-b065-4ccc6afd6a08", "parents": "da71c3a4-2efe-11ed-b060-4ccc6afd6a08", "rule": "if obj[1]<=1997.8794790831414:", "feature_idx": 1, "feature_name": "Year(older_more_difficult)", "instances": 116, "metric": 0.3936164041111624, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 4, "leaf_id": "6c59464a-2efd-11ed-b802-4ccc6afd6a08", "parents": "6c4f30b9-2efd-11ed-84b6-4ccc6afd6a08", "rule": "if obj[1]<=1997.8794790831414:", "feature_idx": 1, "feature_name": "Year(older_more_difficult)", "instances": 116, "metric": 0.3936164041111624, "return_statement": 0, "tree_id": 0},
|
{"current_level": 5, "leaf_id": "da82a81e-2efe-11ed-9d74-4ccc6afd6a08", "parents": "da7ba6de-2efe-11ed-b065-4ccc6afd6a08", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 97, "metric": 0, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 5, "leaf_id": "6c5ff8ae-2efd-11ed-b012-4ccc6afd6a08", "parents": "6c59464a-2efd-11ed-b802-4ccc6afd6a08", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 97, "metric": 0, "return_statement": 0, "tree_id": 0},
|
{"current_level": 5, "leaf_id": "da8342c7-2efe-11ed-87e6-4ccc6afd6a08", "parents": "da7ba6de-2efe-11ed-b065-4ccc6afd6a08", "rule": "if obj[5]<=2:", "feature_idx": 5, "feature_name": "Detonation_power_in_m", "instances": 97, "metric": 0.445693177722561, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 5, "leaf_id": "6c609493-2efd-11ed-bddd-4ccc6afd6a08", "parents": "6c59464a-2efd-11ed-b802-4ccc6afd6a08", "rule": "if obj[5]<=2:", "feature_idx": 5, "feature_name": "Detonation_power_in_m", "instances": 97, "metric": 0.445693177722561, "return_statement": 0, "tree_id": 0},
|
{"current_level": 6, "leaf_id": "da86c3d0-2efe-11ed-bc33-4ccc6afd6a08", "parents": "da8342c7-2efe-11ed-87e6-4ccc6afd6a08", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 65, "metric": 0, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 6, "leaf_id": "6c641cce-2efd-11ed-853e-4ccc6afd6a08", "parents": "6c609493-2efd-11ed-bddd-4ccc6afd6a08", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 65, "metric": 0, "return_statement": 0, "tree_id": 0},
|
{"current_level": 6, "leaf_id": "da8786ca-2efe-11ed-93fd-4ccc6afd6a08", "parents": "da8342c7-2efe-11ed-87e6-4ccc6afd6a08", "rule": "if obj[0]>3:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0.33352200393097664, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 6, "leaf_id": "6c64df99-2efd-11ed-92e7-4ccc6afd6a08", "parents": "6c609493-2efd-11ed-bddd-4ccc6afd6a08", "rule": "if obj[0]>3:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0.33352200393097664, "return_statement": 0, "tree_id": 0},
|
{"current_level": 7, "leaf_id": "da8786cb-2efe-11ed-b199-4ccc6afd6a08", "parents": "da8786ca-2efe-11ed-93fd-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0, "return_statement": 1, "tree_id": 0},
|
||||||
{"current_level": 7, "leaf_id": "6c64df9a-2efd-11ed-8b1f-4ccc6afd6a08", "parents": "6c64df99-2efd-11ed-92e7-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0, "return_statement": 1, "tree_id": 0},
|
{"current_level": 6, "leaf_id": "da903354-2efe-11ed-860c-4ccc6afd6a08", "parents": "da8342c7-2efe-11ed-87e6-4ccc6afd6a08", "rule": "if obj[0]<=3:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0.33352200393097664, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 6, "leaf_id": "6c6d8c35-2efd-11ed-98ee-4ccc6afd6a08", "parents": "6c609493-2efd-11ed-bddd-4ccc6afd6a08", "rule": "if obj[0]<=3:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0.33352200393097664, "return_statement": 0, "tree_id": 0},
|
{"current_level": 7, "leaf_id": "da903355-2efe-11ed-b009-4ccc6afd6a08", "parents": "da903354-2efe-11ed-860c-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0, "return_statement": 1, "tree_id": 0},
|
||||||
{"current_level": 7, "leaf_id": "6c6d8c36-2efd-11ed-9fff-4ccc6afd6a08", "parents": "6c6d8c35-2efd-11ed-98ee-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0, "return_statement": 1, "tree_id": 0},
|
{"current_level": 5, "leaf_id": "daa16597-2efe-11ed-96f4-4ccc6afd6a08", "parents": "da7ba6de-2efe-11ed-b065-4ccc6afd6a08", "rule": "if obj[5]>2:", "feature_idx": 5, "feature_name": "Detonation_power_in_m", "instances": 97, "metric": 0.445693177722561, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 5, "leaf_id": "6c7e7094-2efd-11ed-8453-4ccc6afd6a08", "parents": "6c59464a-2efd-11ed-b802-4ccc6afd6a08", "rule": "if obj[5]>2:", "feature_idx": 5, "feature_name": "Detonation_power_in_m", "instances": 97, "metric": 0.445693177722561, "return_statement": 0, "tree_id": 0},
|
{"current_level": 6, "leaf_id": "daa50ca4-2efe-11ed-a735-4ccc6afd6a08", "parents": "daa16597-2efe-11ed-96f4-4ccc6afd6a08", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 32, "metric": 0, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 6, "leaf_id": "6c81c9ac-2efd-11ed-a8fb-4ccc6afd6a08", "parents": "6c7e7094-2efd-11ed-8453-4ccc6afd6a08", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 32, "metric": 0, "return_statement": 0, "tree_id": 0},
|
{"current_level": 6, "leaf_id": "daa5a884-2efe-11ed-a1b3-4ccc6afd6a08", "parents": "daa16597-2efe-11ed-96f4-4ccc6afd6a08", "rule": "if obj[0]<=7:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0.6252624052234231, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 6, "leaf_id": "6c828c78-2efd-11ed-846f-4ccc6afd6a08", "parents": "6c7e7094-2efd-11ed-8453-4ccc6afd6a08", "rule": "if obj[0]<=7:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0.6252624052234231, "return_statement": 0, "tree_id": 0},
|
{"current_level": 7, "leaf_id": "daa5a885-2efe-11ed-b9a3-4ccc6afd6a08", "parents": "daa5a884-2efe-11ed-a1b3-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0, "return_statement": 1, "tree_id": 0},
|
||||||
{"current_level": 7, "leaf_id": "6c828c79-2efd-11ed-8614-4ccc6afd6a08", "parents": "6c828c78-2efd-11ed-846f-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0, "return_statement": 1, "tree_id": 0},
|
{"current_level": 6, "leaf_id": "daae5511-2efe-11ed-b789-4ccc6afd6a08", "parents": "daa16597-2efe-11ed-96f4-4ccc6afd6a08", "rule": "if obj[0]>7:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0.6252624052234231, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 6, "leaf_id": "6c8aeb2a-2efd-11ed-b3e2-4ccc6afd6a08", "parents": "6c7e7094-2efd-11ed-8453-4ccc6afd6a08", "rule": "if obj[0]>7:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0.6252624052234231, "return_statement": 0, "tree_id": 0},
|
{"current_level": 7, "leaf_id": "daae5512-2efe-11ed-aae1-4ccc6afd6a08", "parents": "daae5511-2efe-11ed-b789-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0, "return_statement": 1, "tree_id": 0},
|
||||||
{"current_level": 7, "leaf_id": "6c8aeb2b-2efd-11ed-bc1a-4ccc6afd6a08", "parents": "6c8aeb2a-2efd-11ed-b3e2-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0, "return_statement": 1, "tree_id": 0},
|
{"current_level": 4, "leaf_id": "dac7981e-2efe-11ed-b3ce-4ccc6afd6a08", "parents": "da71c3a4-2efe-11ed-b060-4ccc6afd6a08", "rule": "if obj[1]>1997.8794790831414:", "feature_idx": 1, "feature_name": "Year(older_more_difficult)", "instances": 116, "metric": 0.3936164041111624, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 4, "leaf_id": "6ca47c29-2efd-11ed-97d3-4ccc6afd6a08", "parents": "6c4f30b9-2efd-11ed-84b6-4ccc6afd6a08", "rule": "if obj[1]>1997.8794790831414:", "feature_idx": 1, "feature_name": "Year(older_more_difficult)", "instances": 116, "metric": 0.3936164041111624, "return_statement": 0, "tree_id": 0},
|
{"current_level": 5, "leaf_id": "dac7981f-2efe-11ed-a18b-4ccc6afd6a08", "parents": "dac7981e-2efe-11ed-b3ce-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 1, "feature_name": "Year(older_more_difficult)", "instances": 116, "metric": 0, "return_statement": 1, "tree_id": 0},
|
||||||
{"current_level": 5, "leaf_id": "6ca47c2a-2efd-11ed-9f03-4ccc6afd6a08", "parents": "6ca47c29-2efd-11ed-97d3-4ccc6afd6a08", "rule": "return 'defuse'", "feature_idx": 1, "feature_name": "Year(older_more_difficult)", "instances": 116, "metric": 0, "return_statement": 1, "tree_id": 0},
|
{"current_level": 3, "leaf_id": "dad8c94e-2efe-11ed-ae17-4ccc6afd6a08", "parents": "da643736-2efe-11ed-af34-4ccc6afd6a08", "rule": "if obj[3]>7:", "feature_idx": 3, "feature_name": "Meters_under_the_ground", "instances": 135, "metric": 0.7364977795505669, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 3, "leaf_id": "6cb56086-2efd-11ed-89bd-4ccc6afd6a08", "parents": "6c41c121-2efd-11ed-ac61-4ccc6afd6a08", "rule": "if obj[3]>7:", "feature_idx": 3, "feature_name": "Meters_under_the_ground", "instances": 135, "metric": 0.7364977795505669, "return_statement": 0, "tree_id": 0},
|
{"current_level": 4, "leaf_id": "dad8c94f-2efe-11ed-ac6a-4ccc6afd6a08", "parents": "dad8c94e-2efe-11ed-ae17-4ccc6afd6a08", "rule": "return 'detonate'", "feature_idx": 3, "feature_name": "Meters_under_the_ground", "instances": 135, "metric": 0, "return_statement": 1, "tree_id": 0},
|
||||||
{"current_level": 4, "leaf_id": "6cb56087-2efd-11ed-ab67-4ccc6afd6a08", "parents": "6cb56086-2efd-11ed-89bd-4ccc6afd6a08", "rule": "return 'detonate'", "feature_idx": 3, "feature_name": "Meters_under_the_ground", "instances": 135, "metric": 0, "return_statement": 1, "tree_id": 0},
|
{"current_level": 2, "leaf_id": "dae9d5d5-2efe-11ed-8157-4ccc6afd6a08", "parents": "da5572f9-2efe-11ed-8bd9-4ccc6afd6a08", "rule": "if obj[2]>0:", "feature_idx": 2, "feature_name": "Protection_from_defuse", "instances": 161, "metric": 0.9203523274205176, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 2, "leaf_id": "6cc644e4-2efd-11ed-9561-4ccc6afd6a08", "parents": "6c3375b0-2efd-11ed-a86e-4ccc6afd6a08", "rule": "if obj[2]>0:", "feature_idx": 2, "feature_name": "Protection_from_defuse", "instances": 161, "metric": 0.9203523274205176, "return_statement": 0, "tree_id": 0},
|
{"current_level": 3, "leaf_id": "dae9d5d6-2efe-11ed-8ce9-4ccc6afd6a08", "parents": "dae9d5d5-2efe-11ed-8157-4ccc6afd6a08", "rule": "return 'detonate'", "feature_idx": 2, "feature_name": "Protection_from_defuse", "instances": 161, "metric": 0, "return_statement": 1, "tree_id": 0},
|
||||||
{"current_level": 3, "leaf_id": "6cc644e5-2efd-11ed-99f9-4ccc6afd6a08", "parents": "6cc644e4-2efd-11ed-9561-4ccc6afd6a08", "rule": "return 'detonate'", "feature_idx": 2, "feature_name": "Protection_from_defuse", "instances": 161, "metric": 0, "return_statement": 1, "tree_id": 0},
|
{"current_level": 1, "leaf_id": "dafae111-2efe-11ed-b721-4ccc6afd6a08", "parents": "root", "rule": "if obj[4]>80.67436609605278:", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0.9964625048848765, "return_statement": 0, "tree_id": 0},
|
||||||
{"current_level": 1, "leaf_id": "6cd72945-2efd-11ed-a270-4ccc6afd6a08", "parents": "root", "rule": "if obj[4]>80.67436609605278:", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0.9964625048848765, "return_statement": 0, "tree_id": 0},
|
{"current_level": 2, "leaf_id": "dafae112-2efe-11ed-9f31-4ccc6afd6a08", "parents": "dafae111-2efe-11ed-b721-4ccc6afd6a08", "rule": "return 'detonate'", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0, "return_statement": 1, "tree_id": 0}
|
||||||
{"current_level": 2, "leaf_id": "6cd72946-2efd-11ed-a940-4ccc6afd6a08", "parents": "6cd72945-2efd-11ed-a270-4ccc6afd6a08", "rule": "return 'detonate'", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0, "return_statement": 1, "tree_id": 0}
|
|
||||||
=======
|
|
||||||
{"current_level": 1, "leaf_id": "8bb67edf-e806-11ec-bcb7-989096c0661b", "parents": "root", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 200, "metric": 0, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 1, "leaf_id": "8bb71afc-e806-11ec-9ced-989096c0661b", "parents": "root", "rule": "if obj[4]<=80.67436609605278:", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0.9964625048848765, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 2, "leaf_id": "8bc5e0ee-e806-11ec-8cc3-989096c0661b", "parents": "8bb71afc-e806-11ec-9ced-989096c0661b", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 161, "metric": 0, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 2, "leaf_id": "8bc655e8-e806-11ec-8da6-989096c0661b", "parents": "8bb71afc-e806-11ec-9ced-989096c0661b", "rule": "if obj[2]<=0:", "feature_idx": 2, "feature_name": "Protection_from_defuse", "instances": 161, "metric": 0.9203523274205176, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 3, "leaf_id": "8bd45908-e806-11ec-86fc-989096c0661b", "parents": "8bc655e8-e806-11ec-8da6-989096c0661b", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 135, "metric": 0, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 3, "leaf_id": "8bd4e176-e806-11ec-a35e-989096c0661b", "parents": "8bc655e8-e806-11ec-8da6-989096c0661b", "rule": "if obj[3]<=7:", "feature_idx": 3, "feature_name": "Meters_under_the_ground", "instances": 135, "metric": 0.7364977795505669, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 4, "leaf_id": "8bdeb447-e806-11ec-be9f-989096c0661b", "parents": "8bd4e176-e806-11ec-a35e-989096c0661b", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 116, "metric": 0, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 4, "leaf_id": "8bdf3cbf-e806-11ec-af0d-989096c0661b", "parents": "8bd4e176-e806-11ec-a35e-989096c0661b", "rule": "if obj[1]<=1997.8794790831414:", "feature_idx": 1, "feature_name": "Year(older_more_difficult)", "instances": 116, "metric": 0.3936164041111624, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 5, "leaf_id": "8be63e5b-e806-11ec-991f-989096c0661b", "parents": "8bdf3cbf-e806-11ec-af0d-989096c0661b", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 97, "metric": 0, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 5, "leaf_id": "8be6c6c6-e806-11ec-97ef-989096c0661b", "parents": "8bdf3cbf-e806-11ec-af0d-989096c0661b", "rule": "if obj[5]<=2:", "feature_idx": 5, "feature_name": "Detonation_power_in_m", "instances": 97, "metric": 0.445693177722561, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 6, "leaf_id": "8bea9583-e806-11ec-97aa-989096c0661b", "parents": "8be6c6c6-e806-11ec-97ef-989096c0661b", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 65, "metric": 0, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 6, "leaf_id": "8beb3173-e806-11ec-9c8b-989096c0661b", "parents": "8be6c6c6-e806-11ec-97ef-989096c0661b", "rule": "if obj[0]>3:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0.33352200393097664, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 7, "leaf_id": "8beb3174-e806-11ec-abd3-989096c0661b", "parents": "8beb3173-e806-11ec-9c8b-989096c0661b", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0, "return_statement": 1, "tree_id": 0},
|
|
||||||
{"current_level": 6, "leaf_id": "8bf5ee43-e806-11ec-8b7d-989096c0661b", "parents": "8be6c6c6-e806-11ec-97ef-989096c0661b", "rule": "if obj[0]<=3:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0.33352200393097664, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 7, "leaf_id": "8bf5ee44-e806-11ec-8ad3-989096c0661b", "parents": "8bf5ee43-e806-11ec-8b7d-989096c0661b", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 65, "metric": 0, "return_statement": 1, "tree_id": 0},
|
|
||||||
{"current_level": 5, "leaf_id": "8c0af2e2-e806-11ec-adc7-989096c0661b", "parents": "8bdf3cbf-e806-11ec-af0d-989096c0661b", "rule": "if obj[5]>2:", "feature_idx": 5, "feature_name": "Detonation_power_in_m", "instances": 97, "metric": 0.445693177722561, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 6, "leaf_id": "8c0ed518-e806-11ec-9cd2-989096c0661b", "parents": "8c0af2e2-e806-11ec-adc7-989096c0661b", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 32, "metric": 0, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 6, "leaf_id": "8c0f5dc0-e806-11ec-9467-989096c0661b", "parents": "8c0af2e2-e806-11ec-adc7-989096c0661b", "rule": "if obj[0]<=7:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0.6252624052234231, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 7, "leaf_id": "8c0f5dc1-e806-11ec-82ed-989096c0661b", "parents": "8c0f5dc0-e806-11ec-9467-989096c0661b", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0, "return_statement": 1, "tree_id": 0},
|
|
||||||
{"current_level": 6, "leaf_id": "8c19cc5c-e806-11ec-933f-989096c0661b", "parents": "8c0af2e2-e806-11ec-adc7-989096c0661b", "rule": "if obj[0]>7:", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0.6252624052234231, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 7, "leaf_id": "8c19dfdf-e806-11ec-943f-989096c0661b", "parents": "8c19cc5c-e806-11ec-933f-989096c0661b", "rule": "return 'defuse'", "feature_idx": 0, "feature_name": "Size(bigger_more_difficult)", "instances": 32, "metric": 0, "return_statement": 1, "tree_id": 0},
|
|
||||||
{"current_level": 4, "leaf_id": "8c39a13d-e806-11ec-a917-989096c0661b", "parents": "8bd4e176-e806-11ec-a35e-989096c0661b", "rule": "if obj[1]>1997.8794790831414:", "feature_idx": 1, "feature_name": "Year(older_more_difficult)", "instances": 116, "metric": 0.3936164041111624, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 5, "leaf_id": "8c39a13e-e806-11ec-8247-989096c0661b", "parents": "8c39a13d-e806-11ec-a917-989096c0661b", "rule": "return 'defuse'", "feature_idx": 1, "feature_name": "Year(older_more_difficult)", "instances": 116, "metric": 0, "return_statement": 1, "tree_id": 0},
|
|
||||||
{"current_level": 3, "leaf_id": "8c4ee056-e806-11ec-8c2d-989096c0661b", "parents": "8bc655e8-e806-11ec-8da6-989096c0661b", "rule": "if obj[3]>7:", "feature_idx": 3, "feature_name": "Meters_under_the_ground", "instances": 135, "metric": 0.7364977795505669, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 4, "leaf_id": "8c4ee057-e806-11ec-97e3-989096c0661b", "parents": "8c4ee056-e806-11ec-8c2d-989096c0661b", "rule": "return 'detonate'", "feature_idx": 3, "feature_name": "Meters_under_the_ground", "instances": 135, "metric": 0, "return_statement": 1, "tree_id": 0},
|
|
||||||
{"current_level": 2, "leaf_id": "8c6432eb-e806-11ec-aae0-989096c0661b", "parents": "8bb71afc-e806-11ec-9ced-989096c0661b", "rule": "if obj[2]>0:", "feature_idx": 2, "feature_name": "Protection_from_defuse", "instances": 161, "metric": 0.9203523274205176, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 3, "leaf_id": "8c6432ec-e806-11ec-8b44-989096c0661b", "parents": "8c6432eb-e806-11ec-aae0-989096c0661b", "rule": "return 'detonate'", "feature_idx": 2, "feature_name": "Protection_from_defuse", "instances": 161, "metric": 0, "return_statement": 1, "tree_id": 0},
|
|
||||||
{"current_level": 1, "leaf_id": "8c795e81-e806-11ec-9ecc-989096c0661b", "parents": "root", "rule": "if obj[4]>80.67436609605278:", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0.9964625048848765, "return_statement": 0, "tree_id": 0},
|
|
||||||
{"current_level": 2, "leaf_id": "8c795e82-e806-11ec-8dc1-989096c0661b", "parents": "8c795e81-e806-11ec-9ecc-989096c0661b", "rule": "return 'detonate'", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0, "return_statement": 1, "tree_id": 0}
|
|
||||||
>>>>>>> bb0d847ea1781085a27a880c6e55828d12b98585
|
|
||||||
]
|
]
|
Loading…
Reference in New Issue
Block a user