WWL
WWL copied to clipboard
Different edge weigt get same distance?
We input 3 full connected graphs, and want to classify those graphs based on edge weight (continual attribute). The distance between them is 0, 0, 0.
graphs = [ig.read(g) for g in retrieve_graph_filenames(os.path.join(data_folder))] #Embed and compute distance #node_features = np.load(os.path.join(data_folder, dataset, 'node_features.npy')) dist = pairwise_wasserstein_distance(graphs, num_iterations=2)