Comments (3)
Looks like it is still not up to date: https://pypi.org/project/ndlib/
from ndlib.
Hi, the fix is already in the GitHub version of the library: just uninstall your current ndlib version and pip install it anew from github.
We'll push an updated version of the package on pypi next week.
from ndlib.
Hi,
i'm having the same problem and i solved it by adding the "enums" directory (downloadable from this git in ndlib/models/compartments link: https://github.com/GiulioRossetti/ndlib/tree/master/ndlib/models/compartments) to your python's site-packages. You must add it to /ndlib/models/compartments.
On your code you need to call EdgeStocastic using
from ndlib.models.compartments import EdgeStochastic as es
I use macos and it works for me.
from ndlib.
Related Issues (20)
- AttributeError: type object 'EdgeCategoricalAttribute' has no attribute 'NodeCategoricalAttribute' HOT 2
- attribute a newly infected node to the source node
- build trend for Weighted Hegselmann-Krause HOT 1
- Support weighted graphs for epidemic models
- Seed value error in multi_runs
- Zombie Epidemiology HOT 6
- Documentation: Shoutout to other Twitter Diffusion Repositories
- Memetic Distribution Modeling HOT 5
- Question: Multi-Dimensional Opinion Dynamics
- Support passing in numpy.random.Generator instances
- Weird Way to update the Infection Status of SI model HOT 5
- ICEModel KeyError: 'com' HOT 1
- I want to replace the name of legends with my own data to distinguish the multiple plots. Is there any way to do that .
- CUDA support for ndlib
- Is there a way to configure initial state for iteration 0? HOT 9
- Allowing the ability to set the initial distribution for real-valued opinion models
- Releasing another pip version? HOT 2
- Local Development Documentation HOT 1
- KeyError in Edge Categorical and Edge Numerical Compartments
- Individual Trajectories 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 ndlib.