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
0
Merge Requests
0
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
f2af76177d7732de3d0244c873296360
mooc-rr
Commits
40e8e7b0
Commit
40e8e7b0
authored
Dec 14, 2022
by
f2af76177d7732de3d0244c873296360
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
6ba722e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
44 deletions
+44
-44
exercice.ipynb
module3/exo3/exercice.ipynb
+44
-44
No files found.
module3/exo3/exercice.ipynb
View file @
40e8e7b0
...
...
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1
46
,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count":
147
,
"execution_count":
2
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -27,7 +27,7 @@
},
{
"cell_type": "code",
"execution_count":
148
,
"execution_count":
3
,
"metadata": {},
"outputs": [
{
...
...
@@ -100,18 +100,18 @@
"4 Yes Alive 81.4"
]
},
"execution_count":
148
,
"execution_count":
3
,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"bdd.head(
5
)"
"bdd.head()"
]
},
{
"cell_type": "code",
"execution_count":
149
,
"execution_count":
4
,
"metadata": {},
"outputs": [
{
...
...
@@ -196,19 +196,19 @@
"4 81.4 0 1 1 0"
]
},
"execution_count":
149
,
"execution_count":
4
,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"dff=pd.get_dummies(bdd)\n",
"dff.head(
5
)"
"dff.head()"
]
},
{
"cell_type": "code",
"execution_count":
150
,
"execution_count":
5
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -217,7 +217,7 @@
},
{
"cell_type": "code",
"execution_count":
151
,
"execution_count":
6
,
"metadata": {},
"outputs": [
{
...
...
@@ -290,7 +290,7 @@
"4 81.4 1 0"
]
},
"execution_count":
151
,
"execution_count":
6
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -301,7 +301,7 @@
},
{
"cell_type": "code",
"execution_count":
152
,
"execution_count":
7
,
"metadata": {},
"outputs": [
{
...
...
@@ -374,7 +374,7 @@
"4 81.4 1 0"
]
},
"execution_count":
152
,
"execution_count":
7
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -386,16 +386,16 @@
},
{
"cell_type": "code",
"execution_count":
153
,
"execution_count":
8
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
cf9a0d9cc0
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
3a1b59e908
>"
]
},
"execution_count":
153
,
"execution_count":
8
,
"metadata": {},
"output_type": "execute_result"
},
...
...
@@ -416,16 +416,16 @@
},
{
"cell_type": "code",
"execution_count":
154
,
"execution_count":
9
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
cf9a0b94e0
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
3a1953a3c8
>"
]
},
"execution_count":
154
,
"execution_count":
9
,
"metadata": {},
"output_type": "execute_result"
},
...
...
@@ -446,7 +446,7 @@
},
{
"cell_type": "code",
"execution_count": 1
55
,
"execution_count": 1
0
,
"metadata": {},
"outputs": [
{
...
...
@@ -458,7 +458,7 @@
"Name: Status, dtype: uint8"
]
},
"execution_count": 1
55
,
"execution_count": 1
0
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -477,7 +477,7 @@
},
{
"cell_type": "code",
"execution_count": 1
56
,
"execution_count": 1
1
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -489,7 +489,7 @@
},
{
"cell_type": "code",
"execution_count": 1
57
,
"execution_count": 1
2
,
"metadata": {},
"outputs": [
{
...
...
@@ -568,7 +568,7 @@
"4 81.4 1 0 + 65"
]
},
"execution_count": 1
57
,
"execution_count": 1
2
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -579,7 +579,7 @@
},
{
"cell_type": "code",
"execution_count": 1
58
,
"execution_count": 1
3
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -589,7 +589,7 @@
},
{
"cell_type": "code",
"execution_count": 1
59
,
"execution_count": 1
4
,
"metadata": {},
"outputs": [
{
...
...
@@ -656,7 +656,7 @@
"55-64 145 91"
]
},
"execution_count": 1
59
,
"execution_count": 1
4
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -667,16 +667,16 @@
},
{
"cell_type": "code",
"execution_count": 1
60
,
"execution_count": 1
5
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
cf9a0f6cf8
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
3a19484da0
>"
]
},
"execution_count": 1
60
,
"execution_count": 1
5
,
"metadata": {},
"output_type": "execute_result"
},
...
...
@@ -699,7 +699,7 @@
},
{
"cell_type": "code",
"execution_count": 16
1
,
"execution_count": 16,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -708,7 +708,7 @@
},
{
"cell_type": "code",
"execution_count": 1
62
,
"execution_count": 1
7
,
"metadata": {
"hideOutput": true
},
...
...
@@ -719,7 +719,7 @@
},
{
"cell_type": "code",
"execution_count": 1
63
,
"execution_count": 1
8
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -733,7 +733,7 @@
},
{
"cell_type": "code",
"execution_count": 1
64
,
"execution_count": 1
9
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -743,7 +743,7 @@
},
{
"cell_type": "code",
"execution_count":
165
,
"execution_count":
20
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -752,7 +752,7 @@
},
{
"cell_type": "code",
"execution_count":
166
,
"execution_count":
21
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -769,7 +769,7 @@
},
{
"cell_type": "code",
"execution_count":
167
,
"execution_count":
22
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -778,7 +778,7 @@
},
{
"cell_type": "code",
"execution_count":
168
,
"execution_count":
23
,
"metadata": {},
"outputs": [
{
...
...
@@ -796,7 +796,7 @@
},
{
"cell_type": "code",
"execution_count":
169
,
"execution_count":
24
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -805,7 +805,7 @@
},
{
"cell_type": "code",
"execution_count":
170
,
"execution_count":
25
,
"metadata": {},
"outputs": [
{
...
...
@@ -833,7 +833,7 @@
},
{
"cell_type": "code",
"execution_count":
171
,
"execution_count":
26
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -842,7 +842,7 @@
},
{
"cell_type": "code",
"execution_count":
172
,
"execution_count":
27
,
"metadata": {},
"outputs": [
{
...
...
@@ -852,7 +852,7 @@
" [ 30, 44]])"
]
},
"execution_count":
172
,
"execution_count":
27
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -863,7 +863,7 @@
},
{
"cell_type": "code",
"execution_count":
173
,
"execution_count":
28
,
"metadata": {},
"outputs": [
{
...
...
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