From f56dc938048903abd1fd9e7c3edecf227465d423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Tue, 29 Mar 2016 11:21:43 +0200 Subject: [PATCH] Changed cif2cif 2 gsi-upm --- ml2/3_1_Read_Data.ipynb | 16 ++++++++-------- ml2/3_4_Visualisation_Pandas.ipynb | 2 +- ml2/3_5_Exercise_1.ipynb | 2 +- ml2/3_7_SVM.ipynb | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ml2/3_1_Read_Data.ipynb b/ml2/3_1_Read_Data.ipynb index 77ff025..b514896 100644 --- a/ml2/3_1_Read_Data.ipynb +++ b/ml2/3_1_Read_Data.ipynb @@ -1443,7 +1443,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 4, "metadata": { "collapsed": false }, @@ -2584,7 +2584,7 @@ "[891 rows x 12 columns]" ] }, - "execution_count": 7, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -2592,7 +2592,7 @@ "source": [ "import pandas as pd\n", "#We get a URL with raw content (not HTML one)\n", - "url = \"https://raw.githubusercontent.com/cif2cif/sitc/master/ml2/data-titanic/train.csv\"\n", + "url = \"https://raw.githubusercontent.com/gsi-upm/sitc/master/ml2/data-titanic/train.csv\"\n", "df = pd.read_csv(url)\n", "df" ] @@ -2606,7 +2606,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 5, "metadata": { "collapsed": false, "scrolled": false @@ -2618,7 +2618,7 @@ "b'PassengerId,Survived,Pclass,Name,Sex,Age,SibSp,Parch,Ticket,Fare,Cabin,Embarked\\r\\n1,0,3,\"Braund, Mr. Owen Harris\",male,22,1,0,A/5 21171,7.25,,S\\r\\n2,1,1,\"Cumings, Mrs. John Bradley (Florence Briggs Thayer)\",female,38,1,0,PC 17599,71.2833,C85,C\\r\\n3,1,3,\"Heikkinen, Miss. Laina\",female,26,0,0,STON/O2. 3101282,7.925,,S\\r\\n4,1,1,'" ] }, - "execution_count": 8, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -2628,7 +2628,7 @@ "import pandas as pd\n", "import io\n", "import requests\n", - "url = \"https://raw.githubusercontent.com/cif2cif/sitc/master/ml2/data-titanic/train.csv\"\n", + "url = \"https://raw.githubusercontent.com/gsi-upm/sitc/master/ml2/data-titanic/train.csv\"\n", "s = requests.get(url, stream=True).content\n", "#Print the first 320 characters for understanding how it works\n", "s[:320]" @@ -2636,7 +2636,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 6, "metadata": { "collapsed": false }, @@ -3777,7 +3777,7 @@ "[891 rows x 12 columns]" ] }, - "execution_count": 10, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } diff --git a/ml2/3_4_Visualisation_Pandas.ipynb b/ml2/3_4_Visualisation_Pandas.ipynb index ece367e..ee1f81c 100644 --- a/ml2/3_4_Visualisation_Pandas.ipynb +++ b/ml2/3_4_Visualisation_Pandas.ipynb @@ -270,7 +270,7 @@ ], "source": [ "#We get a URL with raw content (not HTML one)\n", - "url=\"https://raw.githubusercontent.com/cif2cif/sitc/master/ml2/data-titanic/train.csv\"\n", + "url=\"https://raw.githubusercontent.com/gsi-upm/sitc/master/ml2/data-titanic/train.csv\"\n", "df = pd.read_csv(url)\n", "df_original = df.copy() # Copy to have a version of df without modifications\n", "df.head()" diff --git a/ml2/3_5_Exercise_1.ipynb b/ml2/3_5_Exercise_1.ipynb index 636caac..b0ce846 100644 --- a/ml2/3_5_Exercise_1.ipynb +++ b/ml2/3_5_Exercise_1.ipynb @@ -74,7 +74,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Assign the variable *df* a Dataframe with the Titanic Dataset from the URL https://raw.githubusercontent.com/cif2cif/sitc/master/ml2/data-titanic/train.csv\"\n", + "Assign the variable *df* a Dataframe with the Titanic Dataset from the URL https://raw.githubusercontent.com/gsi-upm/sitc/master/ml2/data-titanic/train.csv\"\n", "\n", "Print *df*." ] diff --git a/ml2/3_7_SVM.ipynb b/ml2/3_7_SVM.ipynb index 7cdedbd..ffe3710 100644 --- a/ml2/3_7_SVM.ipynb +++ b/ml2/3_7_SVM.ipynb @@ -203,7 +203,7 @@ ], "source": [ "#We get a URL with raw content (not HTML one)\n", - "url=\"https://raw.githubusercontent.com/cif2cif/sitc/master/ml2/data-titanic/train.csv\"\n", + "url=\"https://raw.githubusercontent.com/gsi-upm/sitc/master/ml2/data-titanic/train.csv\"\n", "df = pd.read_csv(url)\n", "df.head()\n", "\n",