Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random seed for random walk generation #71

Merged
merged 11 commits into from
Feb 12, 2022
Merged

Random seed for random walk generation #71

merged 11 commits into from
Feb 12, 2022

Conversation

RemyLau
Copy link
Contributor

@RemyLau RemyLau commented Feb 11, 2022

  • Set random seed for random walk generation via the --random_state cli option or set the random_state kwarg when creating the pecanpy graph.
  • Automatically run preprocess_transition_probs when necessary.
    Minor changes
  • Refactor tests using parameterized to reduce redundancies

@RemyLau RemyLau changed the title Random seed [WIP] Random seed Feb 11, 2022
@RemyLau RemyLau changed the title [WIP] Random seed Random seed for random walk generation Feb 11, 2022
@RemyLau RemyLau linked an issue Feb 11, 2022 that may be closed by this pull request
@RemyLau RemyLau marked this pull request as ready for review February 12, 2022 13:38
@RemyLau RemyLau merged commit 8f065ac into master Feb 12, 2022
@RemyLau RemyLau deleted the random-seed branch February 12, 2022 13:42
@eric-czech eric-czech mentioned this pull request Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Call preprocess_transition_probs if not processed yet Test random walk simulation Random state
1 participant