[ 
https://issues.apache.org/jira/browse/FLINK-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14351547#comment-14351547
 ] 

ASF GitHub Bot commented on FLINK-1528:
---------------------------------------

Github user vasia commented on the pull request:

    https://github.com/apache/flink/pull/420#issuecomment-77687686
  
    Hi @balidani! Thanks for the example :))
    I'm a bit confused about the directed / undirected case. I tried testing 
with both a directed and an undirected input and both my tests failed.. See 
[here](http://gist.github.com/vasia/ad68268118b6f895cf7c#file-lcc-example-tests)
 are the test cases I tried.
    I suppose the directed case doesn't work because you only consider the 
out-neighbors, when you should count all. And for the undirected case, I think 
that the division by 2 you're making is giving a wrong result, because you're 
not counting edges, just out-neighbors neighbors.


> Add local clustering coefficient library method and example
> -----------------------------------------------------------
>
>                 Key: FLINK-1528
>                 URL: https://issues.apache.org/jira/browse/FLINK-1528
>             Project: Flink
>          Issue Type: Task
>          Components: Gelly
>            Reporter: Vasia Kalavri
>            Assignee: Daniel Bali
>
> Add a gelly library method and example to compute the local clustering 
> coefficient.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to