'ResistancePerturbation', 'NetLSD', 'LaplacianSpectralGJS', 'LaplacianSpectralEUL', 'IpsenMikhailov', 'NonBacktrackingSpectral', 'DistributionalNBD', 'DMeasure', 'DeltaCon', 'NetSimile' ] all_distance_functions = [ JaccardDistance().dist, Hamming().dist, HammingIpsenMikhailov().dist, Frobenius().dist, PolynomialDissimilarity().dist, DegreeDivergence().dist, PortraitDivergence().dist, QuantumJSD().dist, CommunicabilityJSD().dist, GraphDiffusion().dist, ResistancePerturbation().dist, NetLSD().dist, NJ, LE, IpsenMikhailov().dist, NonBacktrackingSpectral().dist, DistributionalNBD().dist, DMeasure().dist, DeltaCon().dist, NetSimile().dist ] all_distances = dict(zip(all_distance_function_names, all_distance_functions)) df_out = pd.DataFrame(columns=[ 'ensemble', 'n', 'k', 'param_label', 'param_value', 'distance_label', 'd' ])
all_distance_function_names = ['Jaccard', 'Hamming', 'HammingIpsenMikhailov', 'Frobenius', 'PolynomialDissimilarity', 'DegreeDivergence', 'PortraitDivergence', 'QuantumJSD', 'CommunicabilityJSD', 'GraphDiffusion', 'ResistancePerturbation', 'NetLSD', 'LaplacianSpectralGJS', 'LaplacianSpectralEUL', 'IpsenMikhailov', 'NonBacktrackingSpectral', 'DistributionalNBD', 'DMeasure', 'DeltaCon', 'NetSimile'] all_distance_functions = [JaccardDistance().dist, Hamming().dist, HammingIpsenMikhailov().dist, Frobenius().dist, PolynomialDissimilarity().dist, DegreeDivergence().dist, PortraitDivergence().dist, QuantumJSD().dist, CommunicabilityJSD().dist, GraphDiffusion().dist, ResistancePerturbation().dist, NetLSD().dist, NJ, LE, IpsenMikhailov().dist, NonBacktrackingSpectral().dist, DistributionalNBD().dist, DMeasure().dist, DeltaCon().dist, NetSimile().dist] all_distances = dict(zip(all_distance_function_names, all_distance_functions)) df_out = pd.DataFrame(columns=['ensemble', 'n', 'k', 'param_label', 'param_value', 'distance_label', 'd']) ensemble = str(sys.argv[1]) n = int(sys.argv[2]) ntimes = int(sys.argv[3]) ensemble = 'gnk'