Skip to content
#

networkx

Here are 634 public repositories matching this topic...

adocherty
adocherty commented Nov 27, 2019

Description

Currently our unit tests are disorganized and each test creates example StellarGraph graphs in different or similar ways with no sharing of this code.

This issue is to improve the unit tests by making functions to create example graphs available to all unit tests by, for example, making them pytest fixtures at the top level of the tests (see https://docs.pytest.org/en/latest/

kglab
cdlib
OUStudent
OUStudent commented Nov 24, 2021

Trying to use em function to find communities in my undirected networkx Graph.

Line 31 in algorithms\internal\em.py there is a
q[i][g] /= norm, which throws a division by zero error. Looking at the source code of the e_step function:

    def e_step(self, q):
        for i in range(self.n):
            q.append([])
            norm = 0.0
            for g in range(self.k):
bug good first issue

Improve this page

Add a description, image, and links to the networkx topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the networkx topic, visit your repo's landing page and select "manage topics."

Learn more