bagrow / network-portrait-divergence Goto Github PK
View Code? Open in Web Editor NEWAn information-theoretic, all-scales approach to comparing networks
Home Page: https://github.com/bagrow/network-portrait-divergence
License: MIT License
An information-theoretic, all-scales approach to comparing networks
Home Page: https://github.com/bagrow/network-portrait-divergence
License: MIT License
The C++ code (B_matrix.cpp
) assumes the edgelist it reads is undirected and unweighted even if that is not the user's intent. I've updated portrait_divergence.py
to prevent calling both C++ (--cpp
) and directed/weighted options. It would be nice to support directed/weoghted graphs with the C++.
Thanks @Mattia10427725.
Hi, this is regarding Fig 1 in your publication.
I am trying to properly understand the Portraits, but am feeling lost.
python portrait_divergence.py data/net1.edgelist data/net2.edgelist
Is that a file type with the extension literally being .edgelist
?
If no, what's the exact expected format? TSV/CSV? Header or no header?
Example files in the Data
folder aren't like any edge lists I've seen before. I'm used to files like
"String1" "String2" "EdgeWeight"
, but the example files are "Number1" "Number2" "{}"
?
After running the above code, is one number the only output? Will the script make a new folder and write output files, with the Portrait diagrams, etc?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.