mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
cleaning path for intergations
This commit is contained in:
@@ -91,10 +91,8 @@ DEFAULT_CFG = {
|
||||
|
||||
|
||||
def _truthy(value: str | bool | None) -> bool:
|
||||
if isinstance(value, bool):
|
||||
return value
|
||||
if value is None:
|
||||
return False
|
||||
if isinstance(value, bool): return value
|
||||
if value is None: return False
|
||||
return str(value).strip().lower() in {"1", "true", "yes", "on"}
|
||||
|
||||
|
||||
|
||||
@@ -254,3 +254,5 @@ if __name__ == "__main__":
|
||||
f"{sum(len(t) for t in joint_mdp['transitions'].values())} transitions")
|
||||
if joint_mdp['states']:
|
||||
visualize_mdp(joint_model, threshold=0.05, output="joint_mdp_viz", fmt="pdf", export_dot=True)
|
||||
|
||||
# TODO: setup intra class divergence as baseline for evaluating and adding significance to the divergence which we observe across class
|
||||
|
||||
Reference in New Issue
Block a user