Christoph Molnar

@christophmolnar.bsky.social

Author of Interpretable Machine Learning and other books Newsletter: https://mindfulmodeler.substack.com/ Website: https://christophmolnar.com/

The 3rd edition of Interpretable Machine Learning is out! 🎉 Major cleanup, better examples, and new chapters on Data & Models, Interpretability Goals, Ceteris Paribus, and LOFO Importance. The book remains free to read for everyone. But you can also buy ebook or paperback.

Has anyone seen Counterfactual Explanations for machine learning models somewhere in the wild? They are often discussed in research papers, but I have yet to see them being used somewhere in an actual process or product.

Trying Claude Code for some tasks. Paradoxically, it's most expensive when it doesn't work because it fails, then tries a couple of times again, burning through tokens. So sometimes it's 20 cents for saving you 20 minutes of work. Other times it's $1 for wasting 10 minutes.

Only waiting for the print proof, but if it looks good, I'll publish the third edition of Interpretable Machine Learning next week. As always, it was more work than anticipated—especially moving the entire book project from Bookdown to Quarto, which took a bit of effort.

A year ago, I took a risk & spent quite some time on a ML competition. It paid off—I won 4th place overall & 1st in explainability! Here's a summary of the journey, challenges, & key insights from my winning solution (water supply forecasting)

The original SHAP paper has been cited over 30k times. The paper showed that attribution methods, like LIME and LRP, compute Shapley values (with some adaptations). The paper also introduces estimation methods for Shapley values, like KernelSHAP, which today is deprecated.

Bild

It's quite ironic how people who built the best prediction models are such bad predictors themselves. They throw all their knowledge about how to make good predictions overboard and just claim things like: AI will replace radiologists in a few years or when they expect AGI.

The problem with all these AI demos (especially for image and video generation): They are the most impressive, cherry-picked examples. That includes cherry-picking prompts and themes that produced better results. But as a user, you want good results for every prompt/theme relevant to your use case

My personal rules for AI-assisted writing: • Use AI only for small and specific stuff, like grammar fixes or making suggestions for factual corrections. • Never let an LLM change voice and tone. • I review any changes made by AI.

Is anyone aware of a completely AI-generated book that people actually read? Excluding books that are dedicated "AI experiments" and where the book is more about the experiment. Also excluding AI-assisted books where generative AI played a minor role

Got myself a Samsung Galaxy S9 tablet for note-taking, and I love it. (and yes, I'm reading my own book here as a reference for another project, feeling like an imposter because I don't have everything memorized 😂)

Photo of tablet and my hand using the pen to highlight sections of a PDF.

I'm always amazed at how popular the random forest algorithm is for remote sensing research. I would have expected deep learning to be more popular there (not to say it isn't). Must be an attraction to trees. 😁

Paper title: Random forest in remote sensing: A review of applications and future directions

Authors: Mariana Belgiu a, Lucian Drăguţ 

Abstract: A random forest (RF) classifier is an ensemble classifier that produces multiple decision trees, using a randomly selected subset of training samples and variables. This classifier has become popular within the remote sensing community due to the accuracy of its classifications. The overall objective of this work was to review the utilization of RF classifier in remote sensing. This review has revealed that RF classifier can successfully handle high data dimensionality and multicolinearity, being both fast and insensitive to overfitting. It is, however, sensitive to the sampling design. The variable importance (VI) measurement provided by the RF classifier has been extensively exploited in different scenarios, for example to reduce the number of dimensions of hyperspectral data, to identify the most relevant multisource remote sensing and geographic data, and to select the most suitable season to classify particular target classes. Further investigations are required into less commonly exploited uses of this classifier, such as for sample proximity analysis to detect and remove outliers in the training samples.

AI for science could be more impactful than chatbots. It is already helping win Nobel prizes and accelerating drug development and materials discovery. Today we published an essay about it: why it matters, how it’s happening and its implications. Here is a summary from an econ / social sci lens.

Bild

Machine learning and statistics have very narrow ideas of what a model is and how to abstract the world. To broaden the "model" horizon, I can recommend these two books: • Thinking in Systems by Donella H. Meadows • Simulation and Similarity by Michael Weisberg (ignore the monkey)

Me holding the two mentioned books into the camera. In the background there is a plush monkey sitting on a mounted guitar, peaking over the books, potentially distracting the viewer from the books. I still like the monkey.