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