Label Propagation Algorithm

Hello everybody,

I'm learning Label Propagation Algorithm. I don't know how the data has to be, do I need to have a dense network ?
I also don't about the relationship, I got all my nodes, but I don't know how to get the good labels. Do I need to have a lot of relationships between every nodes ?

The label propagation will run on any graph -- the density of your graph will determine how many communities you find.

You need to have some relationships between your nodes, otherwise they will all be in individual communities.

Please see the documentation:

Thank you very much for the answer :slight_smile: