Skip to content

Commit

Permalink
Update Book
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Mar 2, 2023
1 parent 213c433 commit aac43f2
Show file tree
Hide file tree
Showing 63 changed files with 182 additions and 300 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Page not found | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="Page not found | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
4 changes: 2 additions & 2 deletions acknowledgements.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 15 Acknowledgements | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 15 Acknowledgements | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
7 changes: 2 additions & 5 deletions adversarial.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>10.4 Adversarial Examples | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="10.4 Adversarial Examples | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -754,9 +754,6 @@ <h3><span class="header-section-number">10.4.2</span> The Cybersecurity Perspect
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>

<img src="https://vg05.met.vgwort.de/na/27480553cfde4e9a9a32ec70c7073327" width="1" height="1" alt="">
</body>


</html>
7 changes: 2 additions & 5 deletions agnostic.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 6 Model-Agnostic Methods | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 6 Model-Agnostic Methods | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -617,9 +617,6 @@ <h1><span class="header-section-number">Chapter 6</span> Model-Agnostic Methods<
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>

<img src="https://vg05.met.vgwort.de/na/e6023335b6b2446caac4df2be66cfe86" width="1" height="1" alt="">
</body>


</html>
7 changes: 2 additions & 5 deletions ale.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>8.2 Accumulated Local Effects (ALE) Plot | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="8.2 Accumulated Local Effects (ALE) Plot | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -915,9 +915,6 @@ <h3><span class="header-section-number">8.2.7</span> Implementation and Alternat
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>

<img src="https://vg05.met.vgwort.de/na/ffd6874b2f9146c1b150f6c372e370bf" width="1" height="1" alt="">
</body>


</html>
4 changes: 2 additions & 2 deletions anchors.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>9.4 Scoped Rules (Anchors) | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="9.4 Scoped Rules (Anchors) | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
7 changes: 2 additions & 5 deletions bike-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>4.1 Bike Rentals (Regression) | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="4.1 Bike Rentals (Regression) | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -587,9 +587,6 @@ <h2><span class="header-section-number">4.1</span> Bike Rentals (Regression)<a h
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>

<img src="https://vg05.met.vgwort.de/na/d665819f5fe64cf79bd4d0b206d92e39" width="1" height="1" alt="">
</body>


</html>
7 changes: 2 additions & 5 deletions cervical.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>4.3 Risk Factors for Cervical Cancer (Classification) | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="4.3 Risk Factors for Cervical Cancer (Classification) | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -588,9 +588,6 @@ <h2><span class="header-section-number">4.3</span> Risk Factors for Cervical Can
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>

<img src="https://vg05.met.vgwort.de/na/fbcf135158d14c68b591dfead8939918" width="1" height="1" alt="">
</body>


</html>
4 changes: 2 additions & 2 deletions cite.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 13 Citing this Book | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 13 Citing this Book | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
15 changes: 6 additions & 9 deletions cnn-features.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>10.1 Learned Features | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="10.1 Learned Features | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -489,7 +489,7 @@ <h2><span class="header-section-number">10.1</span> Learned Features<a href="cnn
First, the image goes through many convolutional layers.
In those convolutional layers, the network learns new and increasingly complex features in its layers.
Then the transformed image information goes through the fully connected layers and turns into a classification or prediction.</p>
<div class="figure" style="text-align: center"><span style="display:block;" id="fig:unnamed-chunk-50"></span>
<div class="figure" style="text-align: center"><span style="display:block;" id="fig:unnamed-chunk-51"></span>
<img src="images/cnn-features.png" alt="Features learned by a convolutional neural network (Inception V1) trained on the ImageNet data. The features range from simple features in the lower convolutional layers (left) to more abstract features in the higher convolutional layers (right). Figure from Olah, et al. (2017, CC-BY 4.0) https://distill.pub/2017/feature-visualization/appendix/." width="\textwidth" />
<p class="caption">
FIGURE 10.1: Features learned by a convolutional neural network (Inception V1) trained on the ImageNet data. The features range from simple features in the lower convolutional layers (left) to more abstract features in the higher convolutional layers (right). Figure from Olah, et al. (2017, CC-BY 4.0) <a href="https://distill.pub/2017/feature-visualization/appendix/" class="uri">https://distill.pub/2017/feature-visualization/appendix/</a>.
Expand Down Expand Up @@ -629,7 +629,7 @@ <h4><span class="header-section-number">10.1.2.1</span> Network Dissection Algor
<li>Quantify the alignment of activations and labeled concepts.</li>
</ol>
<p>The following figure visualizes how an image is forwarded to a channel and matched with the labeled concepts.</p>
<div class="figure" style="text-align: center"><span style="display:block;" id="fig:unnamed-chunk-51"></span>
<div class="figure" style="text-align: center"><span style="display:block;" id="fig:unnamed-chunk-52"></span>
<img src="images/dissection-network.png" alt="For a given input image and a trained network (fixed weights), we propagate the image forward to the target layer, upscale the activations to match the original image size and compare the maximum activations with the ground truth pixel-wise segmentation. Figure originally from http://netdissect.csail.mit.edu/." width="\textwidth" />
<p class="caption">
FIGURE 10.5: For a given input image and a trained network (fixed weights), we propagate the image forward to the target layer, upscale the activations to match the original image size and compare the maximum activations with the ground truth pixel-wise segmentation. Figure originally from <a href="http://netdissect.csail.mit.edu/" class="uri">http://netdissect.csail.mit.edu/</a>.
Expand Down Expand Up @@ -675,14 +675,14 @@ <h4><span class="header-section-number">10.1.2.1</span> Network Dissection Algor
We call unit k a detector of concept c when <span class="math inline">\(IoU_{k,c}&gt;0.04\)</span>.
This threshold was chosen by Bau &amp; Zhou et al (2017).</p>
<p>The following figure illustrates intersection and union of activation mask and concept mask for a single image:</p>
<div class="figure" style="text-align: center"><span style="display:block;" id="fig:unnamed-chunk-52"></span>
<div class="figure" style="text-align: center"><span style="display:block;" id="fig:unnamed-chunk-53"></span>
<img src="images/dissection-dog-exemplary.jpg" alt="The Intersection over Union (IoU) is computed by comparing the human ground truth annotation and the top activated pixels." width="\textwidth" />
<p class="caption">
FIGURE 10.6: The Intersection over Union (IoU) is computed by comparing the human ground truth annotation and the top activated pixels.
</p>
</div>
<p>The following figure shows a unit that detects dogs:</p>
<div class="figure" style="text-align: center"><span style="display:block;" id="fig:unnamed-chunk-53"></span>
<div class="figure" style="text-align: center"><span style="display:block;" id="fig:unnamed-chunk-54"></span>
<img src="images/dissection-dogs.jpeg" alt="Activation mask for inception\_4e channel 750 which detects dogs with $IoU=0.203$. Figure originally from http://netdissect.csail.mit.edu/" width="\textwidth" />
<p class="caption">
FIGURE 10.7: Activation mask for inception_4e channel 750 which detects dogs with <span class="math inline">\(IoU=0.203\)</span>. Figure originally from <a href="http://netdissect.csail.mit.edu/" class="uri">http://netdissect.csail.mit.edu/</a>
Expand Down Expand Up @@ -866,9 +866,6 @@ <h3><span class="header-section-number">10.1.5</span> Software and Further Mater
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>

<img src="https://vg05.met.vgwort.de/na/921b2030d5324962a13ec97e1ba6077f" width="1" height="1" alt="">
</body>


</html>
4 changes: 2 additions & 2 deletions contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 12 Contribute to the Book | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 12 Contribute to the Book | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
7 changes: 2 additions & 5 deletions counterfactual.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>9.3 Counterfactual Explanations | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="9.3 Counterfactual Explanations | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -990,9 +990,6 @@ <h3><span class="header-section-number">9.3.5</span> Software and Alternatives<a
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>

<img src="https://vg05.met.vgwort.de/na/aef9cca39e3340b98871ba55ac846f5a" width="1" height="1" alt="">
</body>


</html>
4 changes: 2 additions & 2 deletions data.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 4 Datasets | Interpretable Machine Learning</title>
<meta name="description" content="Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable." />
<meta name="generator" content="bookdown 0.31 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 4 Datasets | Interpretable Machine Learning" />
<meta property="og:type" content="book" />
Expand All @@ -23,7 +23,7 @@
<meta name="author" content="Christoph Molnar" />


<meta name="date" content="2022-12-14" />
<meta name="date" content="2023-03-02" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
Loading

0 comments on commit aac43f2

Please sign in to comment.