-
Notifications
You must be signed in to change notification settings - Fork 988
Schelling #2053
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Schelling #2053
Conversation
Performance benchmarks:
|
Performance benchmarks:
|
benchmarks/Schelling/schelling.py
Outdated
@@ -76,8 +93,10 @@ def step(self): | |||
if __name__ == "__main__": | |||
import time | |||
|
|||
# model = Schelling(15, 40, 40, 3, 1, 0.625) | |||
model = Schelling(15, 100, 100, 8, 2, 0.8) | |||
# model = Schelling(seed=15, height=40, width=40, homophily=3, radius=1, density=0.625) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder: should change to width first while we have the chance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There are still more in the code that has the |
* Improve Schelling Model Benchmark * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update schelling.py * Update schelling.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Changes Made: