christophM / interpretable-ml-book

Book about interpretable machine learning
https://christophm.github.io/interpretable-ml-book/
Other
4.73k stars 1.05k forks source link

Corrected Quantile Definition #278

Closed mkirchhof closed 2 years ago

mkirchhof commented 3 years ago

Hey, just a minor issue:

In section 7.1.2.1, Step 2 in the algorithm you write "Determine the 0.005-quantile level T of activations. This means 0.5% of all activations of channel k for image x are greater than T.". This should be the 0.995 quantile, since a quantile always defines how many values are smaller than or equal to it (see https://en.wikipedia.org/wiki/Quantile#Quantiles_of_a_population ). Note that Bau and Zhou also used this correct definition in their paper, but wrote it kind of weird ("select the quantile so that it has 0.5% greater than it"), which I believe lead to the mistake in the book.

PS: Other than that, a great book! I already recommended it to several students.