Back to Browse

Code your first discrete-event simulation in Python. Part 1: Random sampling

4.0K views
Dec 28, 2024
11:12

Discrete-event simulation in Python! This series will teach you how to code a DES model in Python, numpy, simpy and streamlit. This first video will explain how to set up random sampling using Numpy and share some tips from about how to structure your sampling code in real studies. Course playlist: https://www.youtube.com/playlist?list=PLrOeiVQ0eMwF6qE5RLs2brgxBfVUy3MO3 Don't forget to like, comment, and subscribe! Subscribe! https://www.youtube.com/@TheOpenScienceNerd?sub_confirmation=1 ☕ Buy me a coffee: https://buymeacoffee.com/theopensciencenerd 🔗 GitHub for video: https://github.com/pythonhealthdatascience/intro-open-sim 🔗 Interactive notebook via JupyterLite: https://pythonhealthdatascience.github.io/intro-open-sim/ 🔗 Help with JupyterLite: https://www.youtube.com/watch?v=D6v9d_nC_LQ&list=PLrOeiVQ0eMwG-pRzdqAqKhSywxRcxVwlQ&index=1 Chapters: 0:00 Building models is hard! 0:22 Learning outcomes 1:20 PRNGs in NumPy 2:08 Sampling procedure 4:28 Sampling single values 5:50 SeedSequence 8:26 Bonus 10:58 Next steps #simpy #python #simulation #queues #education #datascience

Download

1 formats

Video Formats

360pmp414.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Code your first discrete-event simulation in Python. Part 1: Random sampling | NatokHD