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

Expose heuristic num_particles parameter in sir.py #2456

Merged
merged 1 commit into from
May 1, 2020

Conversation

fritzo
Copy link
Member

@fritzo fritzo commented Apr 30, 2020

Addresses #2426

This exposes the init .heuristic()'s num_particles parameter. The default is a safe 1024. On slow machines users may want to try fewer particles when smoke testing, at risk of missing a feasible solution.

Tested

  • updated test_examples.py

@eb8680 eb8680 merged commit 483889e into dev May 1, 2020
@eb8680 eb8680 deleted the heuristic-num-particles branch May 1, 2020 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants