The Hitchhiker's Guide to Responsible Machine Learning
The Hitchhiker's Guide to Responsible Machine Learning
The introduction to Interpretable and Responsible Machine Learning and eXplainable Artificial Intelligence with code examples for R
About the Book
See the flipbook version at https://betaandbit.github.io/RML/
All right, but how do you build predictive models in a responsible way?
This is a question I am often asked by data scientists at different levels of experience. Seemingly simple but at the same time challenging because there are several orthogonal threads and perspectives of different stakeholders that should be addressed.
Model developers focus on automation of model training, monitoring of performance, debugging, and other MLOps-related matters. Users of predictive models are more interested in explainability, transparency and security, while fairness, bias, ethics are issues of interest to society. Regulators are interested in the consequences of model deployments, especially those with large-scale impacts.
Taking these perspectives into account we focus on three essential elements related to Responsible Machine Learning (RML).
Algorithms - Often, to capture complex relationships in data, you need to use advanced and elastic machine learning algorithms. These, however, should not be used without understanding how they work. So a discussion about responsible modelling must touch on the topic of how complex models work.
Software - Training of advanced models is a computationally demanding process. The libraries that allow for efficient training are low-level engineering masterpieces. Professionals use good tools, so a story about responsible modelling must include a section related to good software.
Process - Predictive modelling is not only about tools but also about planning, logistics, communication, deadlines and objectives. The process of data and model exploration is iterative, as in each iteration, we head towards better and better models. Knowing the tools does not help much if you do not know when and how to use them. Therefore, to talk about responsible modelling, we need to talk about the processes behind modelling.
This book is a unique entanglement of all these aspects together at the same time. You will find here selected modern machine learning techniques and the intuition behind them. Methods are supplemented by code snippets with examples in R language. The process is shown through a comic book describing the adventures of two characters, Beta and Bit.
The interaction of these two shows the decisions that analysts often face, whether to try a different model, try another technique for exploration or look for other data --- questions like: how to compare models or how to validate them.
Model development is responsible and challenging work but also an exciting adventure. Sometimes textbooks focus only on the technical side, losing all the fun.
Here we are going to have it all.
About the Contributors
Table of Contents
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them