Skip to content

Adapt Python interface to new UMAP changes#613

Merged
ntamas merged 8 commits intoigraph:masterfrom
iosonofabio:umapfix
Nov 24, 2022
Merged

Adapt Python interface to new UMAP changes#613
ntamas merged 8 commits intoigraph:masterfrom
iosonofabio:umapfix

Conversation

@iosonofabio
Copy link
Copy Markdown
Member

@iosonofabio iosonofabio commented Nov 19, 2022

Started adapting the Python interface to the new UMAP API changes:

  • Write docs for new compute_weight function
  • Adapt docs of current UMAP function
  • Write interface code for new compute_weight function
  • Adapt code of current UMAP function
  • Compiles locally
  • Write tests
  • Pass tests locally
  • Pass CI
  • Move the weight function to a separate function instead of a Graph method
  • changelog

Ready for review. The docs are a little sketchy still so if someone could take a look and rephrase that'd help.

@iosonofabio iosonofabio changed the title Adapt Python interface to new umap changes Adapt Python interface to new UMAP changes Nov 19, 2022
@iosonofabio iosonofabio marked this pull request as ready for review November 22, 2022 04:54
@iosonofabio
Copy link
Copy Markdown
Member Author

One question would be if you want this to be a function rather than a Graph method?

@ntamas
Copy link
Copy Markdown
Member

ntamas commented Nov 22, 2022

I'd prefer a separate function; this particular function is way too much tied to the UMAP layout algorithm so I don't think it belongs to the Graph class.

@ntamas
Copy link
Copy Markdown
Member

ntamas commented Nov 23, 2022

Looks good to me! Please update the changelog and then I'll merge.

@iosonofabio
Copy link
Copy Markdown
Member Author

Please go ahead good sir ;-)

@ntamas ntamas merged commit de00d72 into igraph:master Nov 24, 2022
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

Successfully merging this pull request may close these issues.

3 participants