Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
57ddaac15ab76d1b1db01438dbac1880
mooc-rr
Commits
54fedea4
Commit
54fedea4
authored
Nov 22, 2021
by
57ddaac15ab76d1b1db01438dbac1880
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Analyse-syndrome
parent
3fe71439
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2382 additions
and
45 deletions
+2382
-45
.ipynb
module2/exo1/.ipynb
+188
-0
toy_notebook_fr.ipynb
module2/exo1/toy_notebook_fr.ipynb
+17
-10
analyse-syndrome-grippal.ipynb
module3/exo1/analyse-syndrome-grippal.ipynb
+2177
-35
No files found.
module2/exo1/.ipynb
0 → 100644
View file @
54fedea4
This diff is collapsed.
Click to expand it.
module2/exo1/toy_notebook_fr.ipynb
View file @
54fedea4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"cells": [
"cells": [
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
1
,
"execution_count":
5
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
"source": [
"source": [
"# À propos du calcul de \\pi\n",
"# À propos du calcul de \\pi\n",
"## En demandant à la lib maths\n",
"## En demandant à la lib maths\n",
"Mon ordinateur m’indique que \\pi vaut approximativement\n",
"
#
Mon ordinateur m’indique que \\pi vaut approximativement\n",
"\n",
"\n",
"from math import *\n",
"from math import *\n",
"print(pi)\n"
"print(pi)\n"
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
2
,
"execution_count":
6
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -33,14 +33,14 @@
...
@@ -33,14 +33,14 @@
"3.128911138923655"
"3.128911138923655"
]
]
},
},
"execution_count":
2
,
"execution_count":
6
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
],
],
"source": [
"source": [
"## En utilisant la méthode des aiguilles de Buffon\n",
"## En utilisant la méthode des aiguilles de Buffon\n",
"Mais calculé avec la méthode des aiguilles de Buffon, on obtiendrait comme *approximation* :\n",
"
#
Mais calculé avec la méthode des aiguilles de Buffon, on obtiendrait comme *approximation* :\n",
"\n",
"\n",
"import numpy as np\n",
"import numpy as np\n",
"np.random.seed(seed=42)\n",
"np.random.seed(seed=42)\n",
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
3
,
"execution_count":
7
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
"3.112"
"3.112"
]
]
},
},
"execution_count":
3
,
"execution_count":
7
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
},
},
...
@@ -79,9 +79,9 @@
...
@@ -79,9 +79,9 @@
}
}
],
],
"source": [
"source": [
" Avec un argument \"fréquentiel\" de surface\n",
"
#
Avec un argument \"fréquentiel\" de surface\n",
"Sinon, une méthode plus simple à comprendre et ne faisant pas intervenir d’appel à la fonction\n",
"
#
Sinon, une méthode plus simple à comprendre et ne faisant pas intervenir d’appel à la fonction\n",
"sinus se base sur le fait que si \n",
"
#
sinus se base sur le fait que si \n",
"\n",
"\n",
"%matplotlib inline\n",
"%matplotlib inline\n",
"import matplotlib.pyplot as plt\n",
"import matplotlib.pyplot as plt\n",
...
@@ -103,6 +103,13 @@
...
@@ -103,6 +103,13 @@
"cell_type": "markdown",
"cell_type": "markdown",
"metadata": {},
"metadata": {},
"source": []
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
}
],
],
"metadata": {
"metadata": {
...
...
module3/exo1/analyse-syndrome-grippal.ipynb
View file @
54fedea4
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment