CWTSLeiden / networkanalysis

Java package that provides data structures and algorithms for network analysis.
MIT License
145 stars 33 forks source link

Feature/normalization added #8

Closed maximiliano02 closed 4 years ago

maximiliano02 commented 4 years ago

Normalization methods support. The network is normalized before clustering. Please, get attention of LinLog/modularity normalization method. The goal was to reproduce the select list in VOS viewer. It can cause confusion with modularity quality function parameter.

-n --normalization <None|AssociationStrength|Fractionalization|LinLog/modularity> (default: None) Indicates that the edge list will be normalized with the selected normalization method.

neesjanvaneck commented 4 years ago

Thanks for your suggested changes @maximiliano02. The normalization feature is implemented in #9. As discussed, this implementation is slightly different than your implementation. The normalization feature is not only made available for creating a clustering of a network, but also for creating a layout of a network. Both implementations are made as consistent as possible.