Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti authored Mar 18, 2017
1 parent da12659 commit aca5f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ config2 = mc.Configuration()
config2.add_model_parameter('beta', 0.005)
config2.add_model_parameter('gamma', 0.02)
config2.add_model_parameter("percentage_infected", 0.08)
model2.set_initial_status(config)
model2.set_initial_status(config2)
iterations2 = model2.iteration_bunch(200)
viz2 = VisualizeDiffusion(model2, iterations2)
p2 = viz2.plot()
Expand Down Expand Up @@ -243,4 +243,4 @@ class MyModel(DiffusionModel):
# return the actual configuration (only nodes with status updates)
return self.actual_iteration - 1, delta
```
If you like to include your model in NDlib (as well as in [NDlib-REST](https://github.com/GiulioRossetti/ndlib-rest)) feel free to fork the project, open an issue and contact us.
If you like to include your model in NDlib (as well as in [NDlib-REST](https://github.com/GiulioRossetti/ndlib-rest)) feel free to fork the project, open an issue and contact us.

0 comments on commit aca5f63

Please sign in to comment.