You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
It seems like the nxmetis.partition cannot run on graph with edge weights that are not integers. Is there any suggestion on how to deal with this issue? Thank you!
The text was updated successfully, but these errors were encountered:
Typically, you figure out how many decimal places of accuracy you really want (for example 5).
Then you multiply by 10^5 and round to create integer values. The integer values are large, but
they allow the process to work. Any weight related results you compute should change the
units back to your original units by dividing by 10^5.
Typically, you figure out how many decimal places of accuracy you really want (for example 5).
Then you multiply by 10^5 and round to create integer values. The integer values are large, but
they allow the process to work. Any weight related results you compute should change the
units back to your original units by dividing by 10^5.
Thanks for the advice! This could work with a tiny modification: need to use int(round(wt * 1e5)) instead of round(wt * 1e5) to make sure that the weights are integers.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems like the
nxmetis.partition
cannot run on graph with edge weights that are not integers. Is there any suggestion on how to deal with this issue? Thank you!The text was updated successfully, but these errors were encountered: