From de9dbafbbe33f760a4313873b51a79f563d5902e Mon Sep 17 00:00:00 2001
From: Mirko Birbaumer <mirko.birbaumer@hslu.ch>
Date: Tue, 26 Apr 2022 13:34:02 +0000
Subject: [PATCH] added background for o-rings exercise

---
 .../Exercises Block 2 - Neural Networks.ipynb  | 17 ++++++++++++++++-
 .../Solutions to Exercises - Block 2.ipynb     | 18 ++++++++++++++++--
 2 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/notebooks/Block_2/Exercises Block 2 - Neural Networks.ipynb b/notebooks/Block_2/Exercises Block 2 - Neural Networks.ipynb
index b2036ef..683552c 100644
--- a/notebooks/Block_2/Exercises Block 2 - Neural Networks.ipynb	
+++ b/notebooks/Block_2/Exercises Block 2 - Neural Networks.ipynb	
@@ -432,9 +432,24 @@
    "source": [
     "This notebook calculates a logistic regression using Keras. It's basically meant to show the principles of Keras.\n",
     "\n",
+    "### Background\n",
+    "\n",
+    "The Space Shuttle Challenger exploded 73 second after liftoff on January 28th, 1986. The disaster claimed the lives of all seven astronauts on board, including school teacher Christa McAuliffe.\n",
+    "\n",
+    "The details surrounding this disaster were very involved. For the purposes of this analysis, it is sufficient to point out that engineers that manufactured the large boosters that launched the rocket were aware of the possible failures that could happen during cold temperatures. They tried to prevent the launch, but were ultimately ignored and disaster ensued.\n",
+    "\n",
+    "The main concern of engineers in launching the Challenger was the evidence that the large O-rings sealing the several sections of the boosters could fail in cold temperatures.\n",
+    "\n",
+    "\n",
     "###  Datset\n",
     "\n",
-    "We investigate the data set of the challenger flight with broken O-rings (`Y=1`) versus start temperature."
+    "The lowest temperature of any of the 23 prior launches (before the Challenger explosion) was 53° F. This is evident in the data set shown below. Engineers prior to the Challenger launch suggested that the launch not be attempted below 53°. The “evidence” that the o-rings could fail below 53° was based on a simple conclusion that since the launch at 53° experienced two o-ring failures, it seemed unwise to launch below that temperature. In the following analysis we demonstrate more fully how dangerous it was to launch on this specific day where the outside temperature at the time of the launch was 31°.\n",
+    "\n",
+    "The `Broken O-rings` column in the data set below records whether O-rings experienced failures during that particular launch - if they did, the value for `Broken O-rings` is 1. The `Temperature [F]` column lists the outside temperature at the time of launch.\n",
+    "\n",
+    "### Goal of Analysis\n",
+    "\n",
+    "We investigate the data set of the challenger flight with broken O-rings (`Y=1`) vs start temperature.§"
    ]
   },
   {
diff --git a/notebooks/Block_2/Solutions to Exercises - Block 2.ipynb b/notebooks/Block_2/Solutions to Exercises - Block 2.ipynb
index e8efd9c..1d12dd3 100644
--- a/notebooks/Block_2/Solutions to Exercises - Block 2.ipynb	
+++ b/notebooks/Block_2/Solutions to Exercises - Block 2.ipynb	
@@ -547,10 +547,24 @@
    "source": [
     "This notebook calculates a logistic regression using Keras. It's basically meant to show the principles of Keras.\n",
     "\n",
+    "### Background\n",
+    "\n",
+    "The Space Shuttle Challenger exploded 73 second after liftoff on January 28th, 1986. The disaster claimed the lives of all seven astronauts on board, including school teacher Christa McAuliffe.\n",
+    "\n",
+    "The details surrounding this disaster were very involved. For the purposes of this analysis, it is sufficient to point out that engineers that manufactured the large boosters that launched the rocket were aware of the possible failures that could happen during cold temperatures. They tried to prevent the launch, but were ultimately ignored and disaster ensued.\n",
+    "\n",
+    "The main concern of engineers in launching the Challenger was the evidence that the large O-rings sealing the several sections of the boosters could fail in cold temperatures.\n",
+    "\n",
+    "\n",
     "###  Datset\n",
     "\n",
-    "We investigate the data set of the challenger flight with broken O-rings (`Y=1`\n",
-    ") vs start temperature."
+    "The lowest temperature of any of the 23 prior launches (before the Challenger explosion) was 53° F. This is evident in the data set shown below. Engineers prior to the Challenger launch suggested that the launch not be attempted below 53°. The “evidence” that the o-rings could fail below 53° was based on a simple conclusion that since the launch at 53° experienced two o-ring failures, it seemed unwise to launch below that temperature. In the following analysis we demonstrate more fully how dangerous it was to launch on this specific day where the outside temperature at the time of the launch was 31°.\n",
+    "\n",
+    "The `Broken O-rings` column in the data set below records whether O-rings experienced failures during that particular launch - if they did, the value for `Broken O-rings` is 1. The `Temperature [F]` column lists the outside temperature at the time of launch.\n",
+    "\n",
+    "### Goal of Analysis\n",
+    "\n",
+    "We investigate the data set of the challenger flight with broken O-rings (`Y=1`) vs start temperature."
    ]
   },
   {
-- 
GitLab