To accompany the HSMA course, we have written several eBooks.
These are freely available to all - please share them with anyone you think would find them useful!
The HSMA Introduction to Python
Are you an absolute beginner in the Python programming language? Or even brand new to programming in general? Worry not! Our Python Programming book will take you from "hello world" through to being a whizz with data types, functions, and even the dreaded object oriented programming.
Covering data types, lists, dictionaries, loops, conditional logic, using and writing functions, importing packages, and handling errors, this book will unlock a world of additional techniques for you and is an important starting point before moving on to the other books in the HSMA set.
We also take a brief look at handling data in the popular, industry-standard numpy and pandas packages, as well as a quick introduction to creating static and interactive graphs, making sure you're equipped with the key knowledge a budding data scientist or operational researcher needs!
The Little Book of Discrete Event Simulation
Discrete Event Simulation is a powerful technique for tackling queueing problems in your organisation - of which you might have more than you think! Learn how to create a simulated version of your diagnosis pathways, walk-in clinics, emergency departments and more in this book.
Covering the key concepts of discrete event simulation in beginner-friendly terms before moving on to coding your own simulations in Python using the SimPy package, you'll be identifying bottlenecks and testing out changes to resourcing and pathway designs in no time.
The HSMA Book of Geographic Modelling and Visualisation
Anybody have a map? We do! This book takes you through a range of key geographical concepts, as well as how to build maps in both the free point-and-click tool QGIS and in the Python programming language. We also take a dive into the world of optimisation problems, learning how to find the optimum solution to the question "where should I place my services?" - taking a brief detour to the world of travel times on our way.
The HSMA Collection of Machine Learning Notebooks
Got lots of data and a suspicion that there's a pattern in there somewhere? Machine learning is here to save the day! While we don't have a book here, what we do have is a collection of the guided code examples from across the machine learning module of HSMA. These notebooks talk through the how and why of each step, as well as giving you a huge library of code snippets to use when building your own machine learning projects.
This book takes you through the key concepts in machine learning before we take a tour through a series of powerful supervised machine learning algorithms, including logistic regression, decision trees, random forests and boosted trees - covering both the conceptual basis for each of these, and how to write Python code with the sklearn package to make use of them with your own data and evaluate how well they're performing. We also take a look at neural networks with tensorflow package.
To round this set of notebooks off, we take a dive into how you can calibrate and optimise your models, as well as taking a look at what's going on under the hood with explainable techniques like PDP, ICE and SHAP plots.
The HSMA Book of Streamlit
It's all well and good having an amazing bit of Python code - but how can you go about sharing that with the people in your organisation who don't use Python? In this book, we introduce the fantastic Streamlit package - a beginner-friendly web development framework that will have you creating interactive data apps in minutes, not weeks.
Covering everything from 'Hello Streamlit!' to deploying your app on a free web hosting service, this book is great for beginners to the world of web development.
For the more seasoned Streamlit user, you will find a handy reference guide for a range of techniques, including multi-page apps, adding download buttons, partial reruns, custom styling, caching, session state, the stlite framework for browser-based code execution, and more.