-
Notifications
You must be signed in to change notification settings - Fork 34
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
PSCAN cannot find communities #21
Comments
It works after I change the code to:
I guess there is something wrong with the graph loading api of sparking. |
Hi, I will have a look at that. Please be aware that you are using String as a vertex property in the first case. By default sparkling is not indexing vertices, in combination with strings as vertex properties, that can cause issues. |
Compile will fail if I change the vertex property to Long or Int. This is the code:
And this is the ERROR:
|
Ok, i will have look on that. There is some inconsistency in loading API. |
Hello, I try to find communities using PSCAN of sparking. Refering to the doc of PSCAN, I write the following codes :
The doc said that:
But when I run above code, I find that, no matter how I tune the value of epsilon, the number of communities is always equals to the number of vertices and component identifier of every vertex is always the same as their vertex id.
I'm wondering whether I misunderstand the docs or there is something wrong with the PSCAN of sparking. Anybody can offer some help? Thanks in advance.
here is my edges file(karate club graph):
The text was updated successfully, but these errors were encountered: