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

Wrong codelength calculation with recorded teleportation if no optimization #327

Open
danieledler opened this issue Nov 24, 2022 · 0 comments
Assignees

Comments

@danieledler
Copy link
Contributor

Replicate in python:

edges = [
    [1,2],
    [2,3],
    [3,1],
    [3,4],
    [4,5],
    [5,6],
    [6,4],
]
G = nx.DiGraph()
G.add_edges_from(edges)
py.find_communities(G, recorded_teleportation=True, num_trials=1) # gives index codelength 0.102
py.find_communities(G, recorded_teleportation=True, num_trials=2) # gives index codelength 0.251
@danieledler danieledler self-assigned this Nov 24, 2022
@danieledler danieledler added python and removed python labels Nov 25, 2022
@danieledler danieledler changed the title Codelength increases if more than 1 trial and recorded teleportation Wrong codelength calculation with recorded teleportation if no optimization Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant