Comments (8)
Thanks!
Yes, perhaps we can explicitly mention the duplicate element that we encountered, we will look into it.
Note that the network is assumed to be undirected. In other words, if you have the edges listed as source node -> target node, then make sure that the reverse edge is not also present. For example, if the edge 3, 4 is included, the edge 4, 3 should not be included. Could you check whether removing such duplicates resolves the issue?
from networkanalysis.
Thanks for the prompt reply.
Yes the "reciprocal" edges were the problems. When removed everything works fine.
Explicitly mentioning the "offending" can help, especially if the input network is large, find them can be time consuming.
from networkanalysis.
Good to hear it is solved!
Yes, I can understand, we'll look into improving the error message. I'll leave the issue open for now.
from networkanalysis.
Are directed networks (and therefore multiple edges for the same nodes) possible in the algorithm? Or will it stay undirected network only?
from networkanalysis.
Multiple edges are not possible in this implementation. However, multiple edges can simply be represented as a single weighted edge, with the weight the multiplicity of the edges (or the sum of the weights).
This implementation accepts only undirected networks. Note that for CPM the direction is not important, while for modularity directionality may play a role. The Python implementation does allow for directed networks with multiple edges though.
from networkanalysis.
Does nodes must be continual and start from 0 ?
from networkanalysis.
Yes
from networkanalysis.
This is now fixed in the master
branch. We now provide an explicit line numbers on errors, see commit 44829f1
from networkanalysis.
Related Issues (13)
- 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
- Question about clustering results HOT 3
- Documentation Error: Output Formatting HOT 1
- Warning: NetworkClustering fills the gap nodes from your input network as isolated clusters HOT 2
- Clustering with normalization methods 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.