You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, you can manually export the JSON using the code below:
# Get the rashomon in a trie structuretrie=model.model_set.to_trie()
df=model.dataset# Convert the trie to decision pathsfeature_names=df.columnsdecision_paths=timbertrek.transform_trie_to_rules(
trie,
df,
feature_names=feature_names,
)
# Save the decision paths in a JSON filedump(decision_paths, open('./my-decision-paths.json', 'w'))
Thank you so much for the awesome tool!
How exactly do I generate the JSON file? I don't think the example notebook covers this.
Thanks!
The text was updated successfully, but these errors were encountered: