InteligentnySaper/outputs/rules/rules.json
2022-05-30 18:55:07 +02:00

31 lines
8.1 KiB
JSON

[
{"current_level": 1, "leaf_id": "a5207776-e038-11ec-81fa-d43d7ef1576e", "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": "a52161b8-e038-11ec-a09a-d43d7ef1576e", "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": "a5307c65-e038-11ec-b18b-d43d7ef1576e", "parents": "a52161b8-e038-11ec-a09a-d43d7ef1576e", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 161, "metric": 0, "return_statement": 0, "tree_id": 0},
{"current_level": 2, "leaf_id": "a5318dc0-e038-11ec-986d-d43d7ef1576e", "parents": "a52161b8-e038-11ec-a09a-d43d7ef1576e", "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": "a53f21ad-e038-11ec-a443-d43d7ef1576e", "parents": "a5318dc0-e038-11ec-986d-d43d7ef1576e", "rule": "else: return 'detonate'", "feature_idx": -1, "feature_name": "", "instances": 135, "metric": 0, "return_statement": 0, "tree_id": 0},
{"current_level": 3, "leaf_id": "a5403290-e038-11ec-9ad7-d43d7ef1576e", "parents": "a5318dc0-e038-11ec-986d-d43d7ef1576e", "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": "a549f58f-e038-11ec-9721-d43d7ef1576e", "parents": "a5403290-e038-11ec-9ad7-d43d7ef1576e", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 116, "metric": 0, "return_statement": 0, "tree_id": 0},
{"current_level": 4, "leaf_id": "a54adfdd-e038-11ec-ab1c-d43d7ef1576e", "parents": "a5403290-e038-11ec-9ad7-d43d7ef1576e", "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": "a5525982-e038-11ec-a259-d43d7ef1576e", "parents": "a54adfdd-e038-11ec-ab1c-d43d7ef1576e", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 97, "metric": 0, "return_statement": 0, "tree_id": 0},
{"current_level": 5, "leaf_id": "a55343a5-e038-11ec-8973-d43d7ef1576e", "parents": "a54adfdd-e038-11ec-ab1c-d43d7ef1576e", "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": "a55713e5-e038-11ec-b018-d43d7ef1576e", "parents": "a55343a5-e038-11ec-8973-d43d7ef1576e", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 65, "metric": 0, "return_statement": 0, "tree_id": 0},
{"current_level": 6, "leaf_id": "a55824b5-e038-11ec-a34f-d43d7ef1576e", "parents": "a55343a5-e038-11ec-8973-d43d7ef1576e", "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": "a55824b6-e038-11ec-bb03-d43d7ef1576e", "parents": "a55824b5-e038-11ec-a34f-d43d7ef1576e", "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": "a564f4e5-e038-11ec-a139-d43d7ef1576e", "parents": "a55343a5-e038-11ec-8973-d43d7ef1576e", "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": "a564f4e6-e038-11ec-b59b-d43d7ef1576e", "parents": "a564f4e5-e038-11ec-a139-d43d7ef1576e", "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": "a57d103d-e038-11ec-837c-d43d7ef1576e", "parents": "a54adfdd-e038-11ec-ab1c-d43d7ef1576e", "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": "a580b941-e038-11ec-8b02-d43d7ef1576e", "parents": "a57d103d-e038-11ec-837c-d43d7ef1576e", "rule": "else: return 'defuse'", "feature_idx": -1, "feature_name": "", "instances": 32, "metric": 0, "return_statement": 0, "tree_id": 0},
{"current_level": 6, "leaf_id": "a581cac7-e038-11ec-9903-d43d7ef1576e", "parents": "a57d103d-e038-11ec-837c-d43d7ef1576e", "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": "a581cac8-e038-11ec-9a27-d43d7ef1576e", "parents": "a581cac7-e038-11ec-9903-d43d7ef1576e", "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": "a58dd70d-e038-11ec-9d70-d43d7ef1576e", "parents": "a57d103d-e038-11ec-837c-d43d7ef1576e", "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": "a58dd70e-e038-11ec-a5cf-d43d7ef1576e", "parents": "a58dd70d-e038-11ec-9d70-d43d7ef1576e", "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": "a5b27499-e038-11ec-9c75-d43d7ef1576e", "parents": "a5403290-e038-11ec-9ad7-d43d7ef1576e", "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": "a5b2749a-e038-11ec-ad1c-d43d7ef1576e", "parents": "a5b27499-e038-11ec-9c75-d43d7ef1576e", "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": "a5cadc0d-e038-11ec-ab67-d43d7ef1576e", "parents": "a5318dc0-e038-11ec-986d-d43d7ef1576e", "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": "a5cadc0e-e038-11ec-bd41-d43d7ef1576e", "parents": "a5cadc0d-e038-11ec-ab67-d43d7ef1576e", "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": "a5e31ebf-e038-11ec-9eb3-d43d7ef1576e", "parents": "a52161b8-e038-11ec-a09a-d43d7ef1576e", "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": "a5e31ec0-e038-11ec-86a5-d43d7ef1576e", "parents": "a5e31ebf-e038-11ec-9eb3-d43d7ef1576e", "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": "a5fb1242-e038-11ec-bb21-d43d7ef1576e", "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": "a5fb1243-e038-11ec-9433-d43d7ef1576e", "parents": "a5fb1242-e038-11ec-bb21-d43d7ef1576e", "rule": "return 'detonate'", "feature_idx": 4, "feature_name": "Random_detonation_chance", "instances": 200, "metric": 0, "return_statement": 1, "tree_id": 0}
]