mirror of
https://github.com/ltcptgeneral/IdealRMT-DecisionTrees.git
synced 2025-09-07 07:47:24 +00:00
7 lines
187 B
Python
7 lines
187 B
Python
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) |