Giter VIP home page Giter VIP logo

dataflow-join's People

Contributors

frankmcsherry avatar huweiwei0105 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dataflow-join's Issues

Number of motifs found by examples/motif.rs may be underestimated

I'm trying out a few examples after reading your blog post on tracking motifs, and unless I'm doing something wrong, it looks like the number of motifs found by examples/motif.rs may be underestimated.

Using the same livejournal dataset from the blog, and with a "single directed edge" motif, I get results that are a lot smaller than the expected (which I believe should match the number of edges in the graph, or at least be somewhat close to it):

$ wc -l /data/soc-LiveJournal1.txt
 68993777 /data/soc-LiveJournal1.txt
$ cargo run --release --example motif -- 1 0 1 /data/soc-LiveJournal1.txt 68000000 1000 inspect
(...)
elapsed: Duration { secs: 22, nanos: 760898251 }	total motifs at this process: 993777

$ wc -l /data/soc-LiveJournal1-1000.txt
    1000 /data/soc-LiveJournal1-1000.txt
$ cargo run --release --example motif -- 1 0 1 /data/soc-LiveJournal1-1000.txt 1000 1000 inspect
(...)
elapsed: Duration { secs: 0, nanos: 1657901 }	total motifs at this process: 4

In the first case, for the livejournal graph with close to 69 million edges, the example found less than 1 million "single directed edge" motifs. For a chunk of the same graph which contains only the first 1k edges, it found only 4 instances of that same motif.

The reason why I started looking at these simple "single directed edge" motifs was because I was trying to debug a feed-forward-loop and other slightly more complex motifs. In particular, I have a few synthetic graphs, which I know contain the motifs I'm looking for, but that example/motif.rs fails to find. Please advise, thanks! --Joana

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.