mirror of
https://github.com/ltcptgeneral/IdealRMT-DecisionTrees.git
synced 2025-09-08 16:27:23 +00:00
Run data and code
This commit is contained in:
7
run/print.py
Normal file
7
run/print.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
for file in Path("results/compressed_tree/").glob("*.json"):
|
||||
with open(file, "r") as f:
|
||||
s = json.load(f)
|
||||
print(max(s["paths"])+1)
|
Reference in New Issue
Block a user