Skip to content

LAGr_MarkovClustering inconsistent/ different result to micans #385

@pfmephisto

Description

@pfmephisto

Hi,

I am not sure if it's my use of LAGr_MarkovClustering that is wrong, but I can't get it to consistently produce the results that I expect.

I have the following test dataset which should result in 3 clusters but when running it through the LAGr_MarkovClustering algorithm it results in as many clusters as there are nodes, though passing the same dataset through the micans mcl implementation indeed result in 3 clusters. Sometimes by reducing the adjacency matrix I have managed to get it to produce the correct clusters or using inflation values < 1. I also had a look at the experimental/benchmark/mcl_demo.c file but so far I can not see what the issue might be.

Link to my code and a link to the test data

Image of the adjacency matrix:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions