Releases: CSHVienna/NetworkInequalities
Releases · CSHVienna/NetworkInequalities
NetIn - 2.0.0a2
What's Changed
- Fix to link node IDs wenn exporting graph to
networkxby @mannbach in #30 - Rename variables to align with
netin-1.0by @mannbach in #28 and #27 - Fixed bugs and updated variable names of
PATCHModel
New Contributors
- @samuel-mg made their first contribution in #24
Full Changelog: netin-1.0.7...netin-2.0.0a2
netin-2.0.0a1
What's Changed
This update presents a major restructure of the code base to improve simulation performance and extendability.
- Components are now split into classes. For instance, netin/graphs/graph.py defines a
Graphclass that represents networks created byModels which are defined in netin/models/model.py. Realizations of models, such as thePAHModelin netin/models/pah_model inherit from this abstractModel-class and implement the actual simulation logic by combiningLinkFormationMechanisms, as implemented in netin/link_formation_mechanisms. Each of these, and other, components can be extended by the user to create their own model variants. LinkFormationMechanisms utilize vectorization when computing the probabilities to connect to a node. This is achieved by introducing theNodeVector-class (netin/graphs/node_vector.py) which wrapsnumpy.ndarrays to keep track of node-based attributes like connection probabilities, degrees or minority status. This vectorization achieves a significant speedup compared to the older implementation.
An extensive patchlog will follow for the production release.
New Contributors
- @samuel-mg made their first contribution in #24
Full Changelog: netin-1.0.7...netin-2.0.0a1
NetIn 1.0.7
Includes
- Sampling
- Random Nodes
- Random Edges
- Random Neighbor
- DegreeRank (desc and asc)
- DegreeGroupRank (desc and asc)
- PartialCrawls
- Ranking inequalities (stats in
netin.stats.ranking, and plots innetin.viz.handlers- Inequality (Gini in top-k)
- Inequity (Mean error to parity of fraction of minorities in top-k)
- Disparity (inequality vs inequity)
- Examples in
examples/notebooks- sampling
- ranking
- Documentation using sphinx
What's Changed
- Add auto-generated documentation to the project by @mannbach in #2
- Add logo to documentation and README by @mannbach in #5
New Contributors
Full Changelog: netin-1.0.5...netin-1.0.7
NetIn 1.0.5
Alpha version, includes:
[MODELS]
- Undirected
1.1. PA (Barabasi)
1.2. PAH (Barabasi with Homophily)
1.3. PATC (Barabasi with Triadic Closure)
1.4. PATCH (Barabasi with Triadic Closure and Homophily) - Directed
2.1. DH (Directed with Homophily)
2.2. DPA (Directed with Preferential Attachment)
2.3. DPAH (Directed with Preferential Attachment and Homophily)
[EXAMPLES]
In the folder examples/ you can find python scripts (.py) and notebooks (.ipynb) with examples on how to create graphs, plots, and ranking analysis.
Full Changelog: https://github.com/CSHVienna/NetworkInequalities/commits/netin-1.0.5