0

When using NebulaGraph Database and running an LpaExample algorithm — it does not finish execution. Could there be a problem with the algorithm parameters?

The execution of the code takes too long, and it always seems to be unfinished. If Int.MaxValue is set to a specific value, e.g. 3 or 5, the execution will be completed.

enter image description here

How large LPAConfig() parameter can still be appropriate?

Anton Menshov
  • 2,266
  • 14
  • 34
  • 55

1 Answers1

0

The label propagation algorithm, not like some of the other algorithms, won't converge itself.

We should configure the max iteration to explicitly let it stop after it's reached.

In your case(data volume), it looks like maxValue is way too large to have the execution done in a reasonable time.

Wey Gu
  • 575
  • 1
  • 6
  • 11