Skip to content

Commit fb0f87d

Browse files
committed
cambiado la ruta de datasets en archivos colab
1 parent ca98648 commit fb0f87d

16 files changed

Lines changed: 304 additions & 21 deletions

notebooks/T3 - 1 - Statistics - Correlación-Colab.ipynb

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,52 @@
77
"<a href=\"https://colab.research.google.com/github/joanby/python-ml-course/blob/master/notebooks/T3%20-%201%20-%20Statistics%20-%20Correlación-Colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
88
]
99
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"# Clonamos el repositorio para obtener los dataSet"
15+
]
16+
},
17+
{
18+
"cell_type": "code",
19+
"execution_count": null,
20+
"metadata": {},
21+
"outputs": [],
22+
"source": [
23+
"!git clone https://github.com/joanby/python-ml-course.git"
24+
]
25+
},
26+
{
27+
"cell_type": "markdown",
28+
"metadata": {},
29+
"source": [
30+
"# Damos acceso a nuestro Drive"
31+
]
32+
},
33+
{
34+
"cell_type": "code",
35+
"execution_count": null,
36+
"metadata": {},
37+
"outputs": [],
38+
"source": [
39+
"from google.colab import drive\n",
40+
"drive.mount('/content/drive')\n",
41+
"# Test it\n",
42+
"!ls '/content/drive/My Drive' "
43+
]
44+
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": null,
48+
"metadata": {},
49+
"outputs": [],
50+
"source": [
51+
"from google.colab import files # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
52+
"import glob # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
53+
"from google.colab import drive # Montar tu Google drive"
54+
]
55+
},
1056
{
1157
"cell_type": "code",
1258
"execution_count": 1,
@@ -22,7 +68,7 @@
2268
"metadata": {},
2369
"outputs": [],
2470
"source": [
25-
"data_ads = pd.read_csv(\"../datasets/ads/Advertising.csv\")"
71+
"data_ads = pd.read_csv(\"/content/python-ml-course/datasets/ads/Advertising.csv\")"
2672
]
2773
},
2874
{

notebooks/T4 - 1 - Linear Regression - Datos ficticios-Colab.ipynb

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,52 @@
77
"<a href=\"https://colab.research.google.com/github/joanby/python-ml-course/blob/master/notebooks/T3%20-%201%20-%20Statistics%20-%20Correlación-Colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
88
]
99
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"# Clonamos el repositorio para obtener los dataSet"
15+
]
16+
},
17+
{
18+
"cell_type": "code",
19+
"execution_count": null,
20+
"metadata": {},
21+
"outputs": [],
22+
"source": [
23+
"!git clone https://github.com/joanby/python-ml-course.git"
24+
]
25+
},
26+
{
27+
"cell_type": "markdown",
28+
"metadata": {},
29+
"source": [
30+
"# Damos acceso a nuestro Drive"
31+
]
32+
},
33+
{
34+
"cell_type": "code",
35+
"execution_count": null,
36+
"metadata": {},
37+
"outputs": [],
38+
"source": [
39+
"from google.colab import drive\n",
40+
"drive.mount('/content/drive')\n",
41+
"# Test it\n",
42+
"!ls '/content/drive/My Drive'"
43+
]
44+
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": null,
48+
"metadata": {},
49+
"outputs": [],
50+
"source": [
51+
"from google.colab import files # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
52+
"import glob # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
53+
"from google.colab import drive # Montar tu Google drive"
54+
]
55+
},
1056
{
1157
"cell_type": "markdown",
1258
"metadata": {},

notebooks/T4 - 2 - Linear Regression - Regresión lineal con statsmodel-Colab.ipynb

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"<a href=\"https://colab.research.google.com/github/joanby/python-ml-course/blob/master/notebooks/T4%20-%202%20-%20Linear%20Regression%20-%20Regresión%20lineal%20con%20statsmodel-Colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
8+
]
9+
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"# Clonamos el repositorio para obtener los dataSet"
15+
]
16+
},
17+
{
18+
"cell_type": "code",
19+
"execution_count": null,
20+
"metadata": {},
21+
"outputs": [],
22+
"source": [
23+
"!git clone https://github.com/joanby/python-ml-course.git"
24+
]
25+
},
26+
{
27+
"cell_type": "markdown",
28+
"metadata": {},
29+
"source": [
30+
"# Damos acceso a nuestro Drive"
31+
]
32+
},
33+
{
34+
"cell_type": "code",
35+
"execution_count": null,
36+
"metadata": {},
37+
"outputs": [],
38+
"source": [
39+
"from google.colab import drive\n",
40+
"drive.mount('/content/drive')\n",
41+
"# Test it\n",
42+
"!ls '/content/drive/My Drive'"
43+
]
44+
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": null,
48+
"metadata": {},
49+
"outputs": [],
50+
"source": [
51+
"from google.colab import files # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
52+
"import glob # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
53+
"from google.colab import drive # Montar tu Google drive"
54+
]
55+
},
356
{
457
"cell_type": "markdown",
558
"metadata": {},
@@ -24,7 +77,7 @@
2477
"metadata": {},
2578
"outputs": [],
2679
"source": [
27-
"data = pd.read_csv(\"../datasets/ads/Advertising.csv\")"
80+
"data = pd.read_csv(\"/content/python-ml-course/datasets/ads/Advertising.csv\")"
2881
]
2982
},
3083
{

notebooks/T4 - 3 - Linear Regression - Validación del modelo-Colab.ipynb

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,52 @@
77
"<a href=\"https://colab.research.google.com/github/joanby/python-ml-course/blob/master/notebooks/T4%20-%203%20-%20Linear%20Regression%20-%20Validación%20del%20modelo-Colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
88
]
99
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"# Clonamos el repositorio para obtener los dataSet"
15+
]
16+
},
17+
{
18+
"cell_type": "code",
19+
"execution_count": null,
20+
"metadata": {},
21+
"outputs": [],
22+
"source": [
23+
"!git clone https://github.com/joanby/python-ml-course.git"
24+
]
25+
},
26+
{
27+
"cell_type": "markdown",
28+
"metadata": {},
29+
"source": [
30+
"# Damos acceso a nuestro Drive"
31+
]
32+
},
33+
{
34+
"cell_type": "code",
35+
"execution_count": null,
36+
"metadata": {},
37+
"outputs": [],
38+
"source": [
39+
"from google.colab import drive\n",
40+
"drive.mount('/content/drive')\n",
41+
"# Test it\n",
42+
"!ls '/content/drive/My Drive' "
43+
]
44+
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": null,
48+
"metadata": {},
49+
"outputs": [],
50+
"source": [
51+
"from google.colab import files # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
52+
"import glob # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
53+
"from google.colab import drive # Montar tu Google drive"
54+
]
55+
},
1056
{
1157
"cell_type": "markdown",
1258
"metadata": {},
@@ -31,7 +77,7 @@
3177
"metadata": {},
3278
"outputs": [],
3379
"source": [
34-
"data = pd.read_csv(\"../datasets/ads/Advertising.csv\")"
80+
"data = pd.read_csv(\"/content/python-ml-course/datasets/ads/Advertising.csv\")"
3581
]
3682
},
3783
{

notebooks/T4 - 4 - Linear Regression - SciKit-Learn-Colab.ipynb

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,52 @@
77
"<a href=\"https://colab.research.google.com/github/joanby/python-ml-course/blob/master/notebooks/T4%20-%204%20-%20Linear%20Regression%20-%20SciKit-Learn-Colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
88
]
99
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"# Clonamos el repositorio para obtener los dataSet"
15+
]
16+
},
17+
{
18+
"cell_type": "code",
19+
"execution_count": null,
20+
"metadata": {},
21+
"outputs": [],
22+
"source": [
23+
"!git clone https://github.com/joanby/python-ml-course.git"
24+
]
25+
},
26+
{
27+
"cell_type": "markdown",
28+
"metadata": {},
29+
"source": [
30+
"# Damos acceso a nuestro Drive"
31+
]
32+
},
33+
{
34+
"cell_type": "code",
35+
"execution_count": null,
36+
"metadata": {},
37+
"outputs": [],
38+
"source": [
39+
"from google.colab import drive\n",
40+
"drive.mount('/content/drive')\n",
41+
"# Test it\n",
42+
"!ls '/content/drive/My Drive' "
43+
]
44+
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": null,
48+
"metadata": {},
49+
"outputs": [],
50+
"source": [
51+
"from google.colab import files # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
52+
"import glob # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
53+
"from google.colab import drive # Montar tu Google drive"
54+
]
55+
},
1056
{
1157
"cell_type": "markdown",
1258
"metadata": {},
@@ -33,7 +79,7 @@
3379
"metadata": {},
3480
"outputs": [],
3581
"source": [
36-
"data = pd.read_csv(\"../datasets/ads/Advertising.csv\")"
82+
"data = pd.read_csv(\"/content/python-ml-course/datasets/ads/Advertising.csv\")"
3783
]
3884
},
3985
{

notebooks/T4 - 5 - Linear Regression - Problemas con la regresión lineal-Colab.ipynb

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,52 @@
77
"<a href=\"https://colab.research.google.com/github/joanby/python-ml-course/blob/master/notebooks/T4%20-%205%20-%20Linear%20Regression%20-%20Problemas%20con%20la%20regresión%20lineal-Colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
88
]
99
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"# Clonamos el repositorio para obtener los dataSet"
15+
]
16+
},
17+
{
18+
"cell_type": "code",
19+
"execution_count": null,
20+
"metadata": {},
21+
"outputs": [],
22+
"source": [
23+
"!git clone https://github.com/joanby/python-ml-course.git"
24+
]
25+
},
26+
{
27+
"cell_type": "markdown",
28+
"metadata": {},
29+
"source": [
30+
"# Damos acceso a nuestro Drive"
31+
]
32+
},
33+
{
34+
"cell_type": "code",
35+
"execution_count": null,
36+
"metadata": {},
37+
"outputs": [],
38+
"source": [
39+
"from google.colab import drive\n",
40+
"drive.mount('/content/drive')\n",
41+
"# Test it\n",
42+
"!ls '/content/drive/My Drive' "
43+
]
44+
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": null,
48+
"metadata": {},
49+
"outputs": [],
50+
"source": [
51+
"from google.colab import files # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
52+
"import glob # Para manejar los archivos y, por ejemplo, exportar a su navegador\n",
53+
"from google.colab import drive # Montar tu Google drive"
54+
]
55+
},
1056
{
1157
"cell_type": "markdown",
1258
"metadata": {},
@@ -31,7 +77,7 @@
3177
"metadata": {},
3278
"outputs": [],
3379
"source": [
34-
"df = pd.read_csv(\"../datasets/ecom-expense/Ecom Expense.csv\")"
80+
"df = pd.read_csv(\"/content/python-ml-course/datasets/ecom-expense/Ecom Expense.csv\")"
3581
]
3682
},
3783
{
@@ -1681,7 +1727,7 @@
16811727
}
16821728
],
16831729
"source": [
1684-
"data_auto = pd.read_csv(\"../datasets/auto/auto-mpg.csv\")\n",
1730+
"data_auto = pd.read_csv(\"/content/python-ml-course/datasets/auto/auto-mpg.csv\")\n",
16851731
"data_auto.head()"
16861732
]
16871733
},

notebooks/T4 - 5 - Linear Regression - Problemas con la regresión lineal.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"metadata": {},
2525
"outputs": [],
2626
"source": [
27-
"df = pd.read_csv(\"../datasets/ecom-expense/Ecom Expense.csv\")"
27+
"df = pd.read_csv(\"/content/python-ml-course/datasets/ecom-expense/Ecom Expense.csv\")"
2828
]
2929
},
3030
{
@@ -1674,7 +1674,7 @@
16741674
}
16751675
],
16761676
"source": [
1677-
"data_auto = pd.read_csv(\"../datasets/auto/auto-mpg.csv\")\n",
1677+
"data_auto = pd.read_csv(\"/content/python-ml-course/datasets/auto/auto-mpg.csv\")\n",
16781678
"data_auto.head()"
16791679
]
16801680
},

0 commit comments

Comments
 (0)