Skip to content

Move Schelling to discrete space#2684

Merged
quaquel merged 5 commits intomesa:mainfrom
quaquel:Schelling
Feb 15, 2025
Merged

Move Schelling to discrete space#2684
quaquel merged 5 commits intomesa:mainfrom
quaquel:Schelling

Conversation

@quaquel
Copy link
Copy Markdown
Member

@quaquel quaquel commented Feb 12, 2025

This moves the schelling model over to using the new stable cell spaces.

@quaquel quaquel added the example Changes the examples or adds to them. label Feb 12, 2025
@quaquel quaquel added the trigger-benchmarks Special label that triggers the benchmarking CI label Feb 12, 2025
@quaquel quaquel added trigger-benchmarks Special label that triggers the benchmarking CI and removed trigger-benchmarks Special label that triggers the benchmarking CI labels Feb 13, 2025
@github-actions
Copy link
Copy Markdown

Performance benchmarks:

Model Size Init time [95% CI] Run time [95% CI]
BoltzmannWealth small 🔵 -4.3% [-5.9%, -2.5%] 🔵 +0.1% [+0.0%, +0.3%]
BoltzmannWealth large 🔵 -0.6% [-1.2%, -0.1%] 🔵 -4.2% [-5.9%, -2.2%]
Schelling small 🔴 +145.6% [+144.6%, +146.5%] 🔵 +1.3% [+1.1%, +1.5%]
Schelling large 🔴 +126.0% [+123.0%, +130.2%] 🟢 -12.9% [-14.0%, -11.9%]
WolfSheep small 🟢 -3.9% [-4.3%, -3.4%] 🔵 -1.2% [-1.4%, -1.0%]
WolfSheep large 🔵 -3.2% [-4.5%, -2.0%] 🔵 -5.4% [-8.3%, -2.7%]
BoidFlockers small 🔵 +0.6% [-0.4%, +1.6%] 🔵 +0.1% [-0.2%, +0.3%]
BoidFlockers large 🔵 +0.3% [-0.1%, +0.7%] 🔵 +0.3% [-0.1%, +0.6%]

Copy link
Copy Markdown
Member

@EwoutH EwoutH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like the new API, thanks for updating this example!

@quaquel quaquel removed the trigger-benchmarks Special label that triggers the benchmarking CI label Feb 15, 2025
@quaquel quaquel merged commit 7cde0ea into mesa:main Feb 15, 2025
10 checks passed
@quaquel quaquel deleted the Schelling branch February 15, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

example Changes the examples or adds to them.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants