nsailor / FastGraphletTransform.jl

Julia wrapper for the Fast Graphlet Transform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect output by Julia

fcdimitr opened this issue · comments

The frequency vectors must be non-negative integer numbers.

Try the following adjacency matrix

0 1 0 0 1 0
1 0 1 1 1 0
0 1 0 1 1 0
0 1 1 0 1 1
1 1 1 1 0 0
0 0 0 1 0 0

which should output the following net frequencies

1 2 4 0 1 2 0 0 0 2 0 0 0 2 0 0
1 4 1 2 4 0 1 0 0 0 2 1 0 0 2 1
1 3 3 0 3 0 0 0 0 0 4 0 0 1 0 1
1 4 2 3 3 0 2 0 0 0 2 3 0 1 0 1
1 4 1 2 4 0 1 0 0 0 2 1 0 0 2 1
1 1 3 0 0 2 0 0 0 3 0 0 0 0 0 0

and the following raw

1  2  6  1  1 14  4  6  0  6  4  0  2  2  0  0
1  4  9  6  4 12 19  7  4  3 12  8  5  3  5  1
1  3  9  3  3 14 12  9  1  5 12  3  4  4  3  1
1  4  8  6  3 12 18  7  4  5 10  6  4  4  3  1
1  4  9  6  4 12 19  7  4  3 12  8  5  3  5  1
1  1  3  0  0  8  0  3  0  3  0  0  0  0  0  0

This way you will have access to at least one "gold" output.

Should be fixed on the latest master.