> For the complete documentation index, see [llms.txt](https://george-jen.gitbook.io/data-science-and-apache-spark/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://george-jen.gitbook.io/data-science-and-apache-spark/class-labelpropagation.md).

# Class LabelPropagation

```
Object
   org.apache.spark.graphx.lib.LabelPropagation
```

Method:

```
static <VD,ED> Graph<Object,ED>	run(Graph<VD,ED> graph, int maxSteps, scala.reflect.ClassTag<ED> evidence$1)

Run static Label Propagation for detecting communities in networks.
```
