Comments (2)
Hi @maximiliano02, thanks for offering such an improvement! Indeed most of the methodology to create such normalizations are already present in the codebase, we simply have not yet exposed them. So, at the moment only non-normalized weights are used. Feel free to create a PR to contribute your improvement.
Regarding some of the technical details:
- Please note that
-w
is already used to indicate the network is weighted. We suggest to use-n [NORMALIZATION]
to indicate the weight normalization method, whereNORMALIZATION
can beNone
(which should be the default),AssociationStrength
orFractionalization
- Please do not modify the
readEdgeList
method, but rather, call the methodscreateNormalizedNetworkUsingAssociationStrength
orcreateNormalizedNetworkUsingFractionalization
once the network is loaded here:
- See previous point.
If you are not yet familiar with contributing a PR, the process is, in essence, relatively simple.
- Create a fork
- Make a new branch, starting from this
master
branch. - Push your changes to the new branch in your own fork.
- Create a Pull Request.
For more information about this, please refer to this explanation from GitHub.
from networkanalysis.
Thanks for your suggestion! The normalization feature is now available in the master
branch. See #9.
from networkanalysis.
Related Issues (12)
- setResolution does not set resolution for local moving algorithm
- Effect of edge weights in resulting communities
- java.lang.ArrayIndexOutOfBoundsException when using -q Modularity HOT 6
- Can't get results HOT 4
- Self-loops are not properly considered when using modularity
- eighbors array must not include duplicate values. HOT 1
- Is there a version 1.1.0 standalone jar package released? HOT 2
- Seed doesn't affect the results HOT 2
- Documentation Error: Output Formatting HOT 1
- error message : duplicate values while creating network HOT 8
- Warning: NetworkClustering fills the gap nodes from your input network as isolated clusters HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from networkanalysis.