From 21a8fef191c9247d59cadced8ffc88cabbf10401 Mon Sep 17 00:00:00 2001 From: f8dc60cab5180566667b00ce62a51ae7 Date: Wed, 18 Jun 2025 10:05:00 +0000 Subject: [PATCH] Commit logbook --- module2/exo4/exercice.ipynb | 76 +++++++++++++++++++++++++++++++++++-- 1 file changed, 73 insertions(+), 3 deletions(-) diff --git a/module2/exo4/exercice.ipynb b/module2/exo4/exercice.ipynb index 0bbbe37..8e2d428 100644 --- a/module2/exo4/exercice.ipynb +++ b/module2/exo4/exercice.ipynb @@ -1,5 +1,76 @@ { - "cells": [], + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Excercise 02 (1st part)\n", + "\n", + "This task is related to Module 2 \"la vitrine et l'envers du décor\n", + ": le document computationnel\".\n", + "\n", + "As a part of this exercise, I reproduced the given PDF document using a Jupyter notebook. I commited the completed notebiik to Gitlab, under the following part: **module2/exo1/toy_notebook_en.ipynb**.\n", + "\n", + "While reproducing the PDF document in Jupyter notebook, I successfully completed the following tasks: \n", + "- Added the main title **\"À propos de pi\"**\n", + "- Included the relevant mathematical formulas\n", + "- Wrote and executed the code that prints the value of $\\pi$\n", + "- Added a hyperlink to the Wikipedia article on **\"aiguilles de Buffon\"**\n", + "- Implemented **Buffon's method** in code, displaying\n", + "- Wrote the code that display the final diagram\n", + " \n", + "Afterwards, I compared my version with the reference solution provided on the Mooc platform. This comparison helped me identify the differences and better understand the expected structure.\n", + "\n", + "*All actions have been verified and marked as completed in the Jupyter notebook and on the Mooc platform.*" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Excercise 02 (2nd part)\n", + "\n", + "In this exercise, I performed a simple statistical analysis. Using the provided data, I computed the **mean**, **standard variation**, **minimum**, **median**, and **maximum** values of the dataset.\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Excercise 02 (3rd part)\n", + "\n", + "Based on the dataset provided in the previous excercise (2.2), I reproduced a **sequence plot** and **a histogram** to visualize the data." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Exercise 02 (5th part): Critical examination of a data analysis (Challenger O-ring case)\n", + "\n", + "In this task, I worked with a historical dataset related to the **risk of failure of the O-ring seals** in the space shuttle *Challenger*. This dataset gained significance after the tragic explosion of the shuttle 73 seconds after launch, resulting in the loss of seven astronauts.\n", + "\n", + "Prior to the launch, a teleconference was held to assess the risk of taking off on an exceptionally cold morning. However, despite discussions, the flight was not delayed, and the analysis presented at the time significantly underestimated the probability of failure. My objective was to critically review the analysis and identify the major reasoning errors that led to the flawed conclusion.\n", + "\n", + "**Key steps taken:**\n", + "\n", + "- I reviewed the historical context and the principles of logistic regression, using the resource provided in GitLab.\n", + "- I analyzed the dataset and evaluated the model that was used at the time.\n", + "- I identified three majore errors that caused the underestimation of failure probability:\n", + " \n", + " 1. **No data was available for low temperatures**, yet conclusions were still drawn.\n", + " 2. **Key data points were excluded** from the analysis.\n", + " 3. **the uncertainity of the logistic regression estimates was not taken into accounts**, leading to overconfidence in the predictions." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], "metadata": { "kernelspec": { "display_name": "Python 3", @@ -16,10 +87,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.3" + "version": "3.6.4" } }, "nbformat": 4, "nbformat_minor": 2 } - -- 2.18.1