WWL icon indicating copy to clipboard operation
WWL copied to clipboard

Different edge weigt get same distance?

Open wanglu2014 opened this issue 2 years ago • 0 comments

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)

wanglu2014 avatar Dec 02 '21 05:12 wanglu2014