The Hitchhiker's Guide to Responsible Machine Learning
$7.99
Minimum price
$9.99
Suggested price

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 Author

Przemysław Biecek
Przemysław Biecek

18+ years of experience in teaching, training and using machine learning models.

What have I learned from building predictive models in business and academia over the last 18 years? A simple truth - there is no free lunch. Machine learning and artificial intelligence are atomic energy. They can support radiologists, improve credit risk models or streamline business operations. But if not implemented responsibly then discrimination, model drift hidden artefacts can kill any initiative. In 2017 I set up MI2-DataLab a group that works on new methods, tools and initiatives to deliver AI/ML solutions responsibly.

About the Contributors

Aleksander Zawada
Aleksander Zawada
Anna Kozak
Anna Kozak

Table of Contents

But what is it all about? Hello model! Exploratory Data Analysis (EDA) Model Performance Grow a tree Plant a forest Hyperparameter Optimisation Variable-importance Partial Dependence and Accumulated Local Effects Instance level exploration Shapley values and the Break-down plots Ceteris Paribus Model Deployment

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

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub