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
da2bcc7bce9e6c165b2e2847d19f3af0
mooc-rr
Commits
e26c6411
Commit
e26c6411
authored
Sep 02, 2020
by
da2bcc7bce9e6c165b2e2847d19f3af0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction of notebook - the downloading part should have been done via coding not manually
parent
a4cad413
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1871 additions
and
19 deletions
+1871
-19
analyse-syndrome-grippal.ipynb
module3/exo1/analyse-syndrome-grippal.ipynb
+23
-19
syndrome-grippal.csv
module3/exo1/syndrome-grippal.csv
+1848
-0
No files found.
module3/exo1/analyse-syndrome-grippal.ipynb
View file @
e26c6411
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
2
,
"execution_count":
1
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -28,13 +28,17 @@
...
@@ -28,13 +28,17 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {
"metadata": {},
"collapsed": true
},
"outputs": [],
"outputs": [],
"source": [
"source": [
"# data_url = \"http://www.sentiweb.fr/datasets/incidence-PAY-3.csv\""
"data_url = \"http://www.sentiweb.fr/datasets/incidence-PAY-3.csv\"\n",
"data_file = \"syndrome-grippal.csv\"\n",
"\n",
"import os\n",
"import urllib.request\n",
"if not os.path.exists(data_file):\n",
" urllib.request.urlretrieve(data_url, data_file)"
]
]
},
},
{
{
...
@@ -1035,7 +1039,7 @@
...
@@ -1035,7 +1039,7 @@
],
],
"source": [
"source": [
"# raw_data = pd.read_csv(data_url, skiprows=1)\n",
"# raw_data = pd.read_csv(data_url, skiprows=1)\n",
"raw_data = pd.read_csv(
\"./incidence-PAY-3.csv\"
, skiprows=1) \n",
"raw_data = pd.read_csv(
data_file
, skiprows=1) \n",
"raw_data"
"raw_data"
]
]
},
},
...
@@ -2212,7 +2216,7 @@
...
@@ -2212,7 +2216,7 @@
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
ae2d6cd71
0>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
d6b648578
0>"
]
]
},
},
"execution_count": 9,
"execution_count": 9,
...
@@ -2251,7 +2255,7 @@
...
@@ -2251,7 +2255,7 @@
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
ae2b497e1
0>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
d6b434894
0>"
]
]
},
},
"execution_count": 10,
"execution_count": 10,
...
@@ -2305,7 +2309,7 @@
...
@@ -2305,7 +2309,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1
2
,
"execution_count": 1
1
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -2325,7 +2329,7 @@
...
@@ -2325,7 +2329,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1
9
,
"execution_count": 1
2
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -2349,16 +2353,16 @@
...
@@ -2349,16 +2353,16 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
20
,
"execution_count":
13
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
ae2b3a3d6
8>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
d6b426c58
8>"
]
]
},
},
"execution_count":
20
,
"execution_count":
13
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
},
},
...
@@ -2388,7 +2392,7 @@
...
@@ -2388,7 +2392,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
21
,
"execution_count":
14
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -2431,7 +2435,7 @@
...
@@ -2431,7 +2435,7 @@
"dtype: int64"
"dtype: int64"
]
]
},
},
"execution_count":
21
,
"execution_count":
14
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -2450,16 +2454,16 @@
...
@@ -2450,16 +2454,16 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
22
,
"execution_count":
15
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
ae2b415978
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
d6b4255160
>"
]
]
},
},
"execution_count":
22
,
"execution_count":
15
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
},
},
...
...
module3/exo1/syndrome-grippal.csv
0 → 100644
View file @
e26c6411
This diff is collapsed.
Click to expand it.
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