In [1]:
import pickle
import src.utils as utils
# Load data from pickle file
with open('results/dragon_complexes.pkl', 'rb') as f:
complex_res = pickle.load(f)
for sample_name in list(complex_res.keys()):
sample_complexes = complex_res[sample_name]
print(f"\n{'='*80}")
print(f"PERSISTENCE DIAGRAMS FOR {sample_name.upper()}")
print(f"{'='*80}")
utils.plot_persistence_diagrams(sample_complexes)
================================================================================ PERSISTENCE DIAGRAMS FOR DRAGON 500 ================================================================================
================================================================================ PERSISTENCE DIAGRAMS FOR DRAGON 1000 ================================================================================
================================================================================ PERSISTENCE DIAGRAMS FOR DRAGON 3002 ================================================================================
================================================================================ PERSISTENCE DIAGRAMS FOR DRAGON 4000 ================================================================================
================================================================================ PERSISTENCE DIAGRAMS FOR DRAGON 1501 ================================================================================
================================================================================ PERSISTENCE DIAGRAMS FOR DRAGON 3476 ================================================================================
================================================================================ PERSISTENCE DIAGRAMS FOR DRAGON 2000 ================================================================================