Comments (4)
This is more than a year later, but I am getting a similar error.
Reading edge list from '/home/subhajit.sahu/Data/web-Stanford.mtx.tsv'.
Error while creating network: For each node, corresponding elements of neighbors array must not include duplicate values.
I am using graphs in Matrix Market format from the SuiteSparse Matrix collection, and converting to a TSV file with a script. Is this because some vertex u
have duplicate edges v
(do such duplicate edges exist in the dataset), or is it due to self-loops?
from networkanalysis.
I get this error: "Error while creating network: Elements of neighbors array must have non-negative values."
Could you please help out? Thank you!
The message is reasonably self-explanatory I think? It means that for some reason your input file contained a negative value. I'm not sure what's wrong with the input file, but you'd probably want to double check.
P.S. Apologies for the late reply!
from networkanalysis.
Thanks for bumping the issue @wolfram77 !
I am getting a similar error.
Reading edge list from '/home/subhajit.sahu/Data/web-Stanford.mtx.tsv'. Error while creating network: For each node, corresponding elements of neighbors array must not include duplicate values.
Well, it's actually a quite distinct error. Indeed, for some reason your input file contains duplicate values. It's not about self-loops. Do note that the input is expecting only one pair of nodes (unless you provide a pre-sorted edge list, see --sorted-edge-list
), so if it already contains the link 0 1
you shouldn't also have 1 0
in there.
from networkanalysis.
Oh, the web-Stanford is a directed graph. I will convert it to an undirected one and try again. Thanks.
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
- 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
- error message : duplicate values while creating network HOT 8
- 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.