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

the kamada_kawai_layout too slow #2

Open
ziedbouf opened this issue Apr 10, 2020 · 0 comments
Open

the kamada_kawai_layout too slow #2

ziedbouf opened this issue Apr 10, 2020 · 0 comments

Comments

@ziedbouf
Copy link

GPnet/GPnet.py

Line 207 in a0a8a71

self.plot_pos = nx.kamada_kawai_layout(self.Graph)

the kamada_kawai_layout is to slow specially if we want to run on big Dataframe where we need to generate estimation for each row. Done some measurement and found out that the biggest chunk of script goes in the kamada_kawai_layout. It will better to pass one time the kamada_kawai_layout in the initialisation process. I made some changes to the script and i will package things in pull request as soon as i got the chance.

Screen Shot 2020-04-10 at 21 15 26

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