<gh_stars>1-10
# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: percent
#       format_version: '1.3'
#       jupytext_version: 1.13.7
#   kernelspec:
#     display_name: Python 3 (ipykernel)
#     language: python
#     name: python3
# ---

# %% [markdown] slideshow={"slide_type": "slide"}
#  # How are we doing?
#
#  How do we know how well our model performs?

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## What can go wrong?
#
#  <img src="img/ag/Figure-03-015.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## What can go wrong?
#
#  <img src="img/ag/Figure-03-021.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## What can go wrong?
#
#  <img src="img/ag/Figure-03-022.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## What can go wrong?
#
#  <img src="img/ag/Figure-03-017.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Confusion Matrix
#
#  <img src="img/ag/Figure-03-018.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Confusion Matrix
#
#  <img src="img/ag/Figure-03-019.png" style="width: 60%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## Accuracy: How well are we doing, overall?
#
#
#  <img src="img/ag/Figure-03-028.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## Accuracy: How well are we doing, overall?
#
#
#  <img src="img/ag/Figure-03-029.png" style="width:60%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "slide"}
#  ## Accuracy: How much did we get right?
#
#
#  <img src="img/ag/Figure-03-023.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## Precision: How good are our positives?
#
#
#  <img src="img/ag/Figure-03-030.png" style="width: 80%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## Precision: How good are our positives?
#
#
#  <img src="img/ag/Figure-03-024.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## Recall: How many positives did we lose?
#
#
#  <img src="img/ag/Figure-03-031.png" style="width: 60%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## Recall: How many positives did we lose?
#
#
#  <img src="img/ag/Figure-03-026.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## Describing Classification Results
#
#
#  <img src="img/ag/Figure-03-033.png" style="width: 80%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## Describing Classification Results
#
#
#  <img src="img/ag/Figure-03-034.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
#  ## Describing Classification Results
#
#
#  <img src="img/ag/Figure-03-032.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "slide"}
#  ## Precision/Recall Tradeoff
#
#  <img src="img/ag/Figure-03-017.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Precision/Recall Tradeoff
#
# <img src="img/ag/Figure-03-035.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Precision/Recall Tradeoff
#
# <img src="img/ag/Figure-03-036.png" style="width: 70%; padding: auto"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Precision/Recall Tradeoff
#
# <img src="img/ag/Figure-03-037.png" style="width: 80%; padding: auto"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Precision/Recall Tradeoff
#
# <img src="img/ag/Figure-03-038.png" style="width: 70%; padding: auto"/>

# %% [markdown] slideshow={"slide_type": "slide"}
#  ## F1: Evaluating Precision/Recall Tradeoff
#
#
#  <img src="img/ag/Figure-03-039.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "slide"}
#  ## Imbalanced Data
#
#  <img src="img/ag/Figure-03-020.png" style="width: 60%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Imbalanced Data
#
#
#  <img src="img/ag/Figure-03-040.png" style="width: 60%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Imbalanced Data
#
#
#  <img src="img/ag/Figure-03-041.png" style="width: 60%; padding: 30px 50px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Imbalanced Data
#
#
#  <img src="img/ag/Figure-03-042.png" style="width: 60%; padding: 30px 100px 0"/>

# %% [markdown] slideshow={"slide_type": "subslide"}
# ## Imbalanced Data
#
#
#  <img src="img/ag/Figure-03-043.png" style="width: 100%; padding: 30px 100px 0"/>

# %% [markdown]
#
#
