Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different edge weigt get same distance? #3

Open
wanglu2014 opened this issue Dec 2, 2021 · 0 comments
Open

Different edge weigt get same distance? #3

wanglu2014 opened this issue Dec 2, 2021 · 0 comments

Comments

@wanglu2014
Copy link

wanglu2014 commented Dec 2, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant