-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from barahona-research-group/constructor_class
use class in constructors
- Loading branch information
Showing
12 changed files
with
289 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
#!/bin/bash | ||
|
||
python create_graph.py | ||
pygenstability run sbm_graph.pkl | ||
|
||
pygenstability run --help | ||
pygenstability run \ | ||
--constructor continuous_normalized \ | ||
--min-time -2 \ | ||
--max-time 0\ | ||
--n-time 50 \ | ||
--n-louvain 100 \ | ||
--n-workers 40 \ | ||
edges.csv | ||
# sbm_graph.pkl | ||
|
||
pygenstability plot_scan --help | ||
pygenstability plot_scan results.pkl | ||
|
||
pygenstability plot_communities --help | ||
pygenstability plot_communities sbm_graph.gpickle results.pkl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
"""Import main functions.""" | ||
from pygenstability.io import load_results, save_results | ||
from pygenstability.io import load_results | ||
from pygenstability.io import save_results | ||
from pygenstability.pygenstability import run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.