(self)
| 298 | |
| 299 | # @TODO: NOT USED |
| 300 | async def _node2vec_embed(self): |
| 301 | from graspologic import embed |
| 302 | |
| 303 | embeddings, nodes = embed.node2vec_embed( |
| 304 | self._graph, |
| 305 | **self.global_config["node2vec_params"], |
| 306 | ) |
| 307 | |
| 308 | nodes_ids = [self._graph.nodes[node_id]["id"] for node_id in nodes] |
| 309 | return embeddings, nodes_ids |
nothing calls this directly
no outgoing calls
no test coverage detected