From 7389db1c731d356410271f987984ec408b0a6311 Mon Sep 17 00:00:00 2001 From: Haesun Park Date: Fri, 16 Mar 2018 15:02:50 +0900 Subject: [PATCH] =?UTF-8?q?1=EC=9E=A5=20watermark=20=EC=B6=94=EA=B0=80,=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1=EB=90=9C=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=EC=97=85=EB=A1=9C=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01_the_machine_learning_landscape.ipynb | 133 +++++++++++------- .../attribute_histogram_plots.png | Bin 451473 -> 451473 bytes .../bad_visualization_plot.png | Bin 133246 -> 133246 bytes .../better_visualization_plot.png | Bin 445089 -> 445089 bytes .../california_housing_prices_plot.png | Bin 1244644 -> 1244644 bytes .../housing_prices_scatterplot.png | Bin 1139214 -> 1139214 bytes .../income_vs_house_value_scatterplot.png | Bin 733656 -> 733656 bytes .../scatter_matrix_plot.png | Bin 2116817 -> 2116817 bytes 8 files changed, 79 insertions(+), 54 deletions(-) diff --git a/01_the_machine_learning_landscape.ipynb b/01_the_machine_learning_landscape.ipynb index 4036704..ffae1d4 100644 --- a/01_the_machine_learning_landscape.ipynb +++ b/01_the_machine_learning_landscape.ipynb @@ -1,5 +1,30 @@ { "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "CPython 3.5.5\n", + "IPython 6.2.1\n", + "\n", + "numpy 1.14.1\n", + "scipy 1.0.0\n", + "sklearn 0.19.1\n", + "pandas 0.22.0\n", + "matplotlib 2.2.0\n" + ] + } + ], + "source": [ + "%load_ext watermark\n", + "%watermark -v -p numpy,scipy,sklearn,pandas,matplotlib" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -25,7 +50,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": { "slideshow": { "slide_type": "-" @@ -86,7 +111,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -112,7 +137,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -122,7 +147,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -179,7 +204,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -224,7 +249,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -398,7 +423,7 @@ "[2 rows x 24 columns]" ] }, - "execution_count": 6, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -412,7 +437,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 8, "metadata": {}, "outputs": [ { @@ -427,7 +452,7 @@ "Name: Life satisfaction, dtype: float64" ] }, - "execution_count": 7, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -452,7 +477,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 9, "metadata": {}, "outputs": [ { @@ -533,7 +558,7 @@ "Albania 3995.383 2010.0 " ] }, - "execution_count": 8, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -548,7 +573,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 10, "metadata": {}, "outputs": [ { @@ -1922,7 +1947,7 @@ "[36 rows x 30 columns]" ] }, - "execution_count": 9, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -1935,7 +1960,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 11, "metadata": {}, "outputs": [ { @@ -1946,7 +1971,7 @@ "Name: United States, dtype: float64" ] }, - "execution_count": 10, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -1957,7 +1982,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 12, "metadata": {}, "outputs": [], "source": [ @@ -1970,7 +1995,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 13, "metadata": {}, "outputs": [ { @@ -2007,7 +2032,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 14, "metadata": {}, "outputs": [], "source": [ @@ -2016,7 +2041,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 15, "metadata": {}, "outputs": [ { @@ -2051,16 +2076,6 @@ " \n", " \n", " \n", - " France\n", - " 37675.006\n", - " 6.5\n", - " \n", - " \n", - " United States\n", - " 55805.204\n", - " 7.2\n", - " \n", - " \n", " Hungary\n", " 12239.894\n", " 4.9\n", @@ -2071,10 +2086,20 @@ " 5.8\n", " \n", " \n", + " France\n", + " 37675.006\n", + " 6.5\n", + " \n", + " \n", " Australia\n", " 50961.865\n", " 7.3\n", " \n", + " \n", + " United States\n", + " 55805.204\n", + " 7.2\n", + " \n", " \n", "\n", "" @@ -2082,14 +2107,14 @@ "text/plain": [ " GDP per capita Life satisfaction\n", "Country \n", - "France 37675.006 6.5\n", - "United States 55805.204 7.2\n", "Hungary 12239.894 4.9\n", "Korea 27195.197 5.8\n", - "Australia 50961.865 7.3" + "France 37675.006 6.5\n", + "Australia 50961.865 7.3\n", + "United States 55805.204 7.2" ] }, - "execution_count": 14, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } @@ -2100,7 +2125,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 16, "metadata": {}, "outputs": [ { @@ -2136,7 +2161,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 17, "metadata": {}, "outputs": [ { @@ -2145,7 +2170,7 @@ "(4.853052800266436, 4.911544589158483e-05)" ] }, - "execution_count": 16, + "execution_count": 17, "metadata": {}, "output_type": "execute_result" } @@ -2162,7 +2187,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 18, "metadata": {}, "outputs": [ { @@ -2190,7 +2215,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 19, "metadata": {}, "outputs": [ { @@ -2206,7 +2231,7 @@ "5.96244744318815" ] }, - "execution_count": 18, + "execution_count": 19, "metadata": {}, "output_type": "execute_result" } @@ -2220,7 +2245,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 20, "metadata": {}, "outputs": [ { @@ -2251,7 +2276,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 21, "metadata": {}, "outputs": [ { @@ -2312,7 +2337,7 @@ "Spain 25864.721 6.5" ] }, - "execution_count": 20, + "execution_count": 21, "metadata": {}, "output_type": "execute_result" } @@ -2323,7 +2348,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 22, "metadata": {}, "outputs": [ { @@ -2332,7 +2357,7 @@ "5.766666666666667" ] }, - "execution_count": 21, + "execution_count": 22, "metadata": {}, "output_type": "execute_result" } @@ -2343,7 +2368,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 23, "metadata": {}, "outputs": [ { @@ -2428,7 +2453,7 @@ "Luxembourg 101994.093 6.9" ] }, - "execution_count": 22, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } @@ -2439,7 +2464,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 24, "metadata": {}, "outputs": [], "source": [ @@ -2456,7 +2481,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 25, "metadata": {}, "outputs": [ { @@ -2498,7 +2523,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 26, "metadata": { "scrolled": true }, @@ -2546,7 +2571,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 27, "metadata": {}, "outputs": [ { @@ -2560,7 +2585,7 @@ "Name: Life satisfaction, dtype: float64" ] }, - "execution_count": 26, + "execution_count": 27, "metadata": {}, "output_type": "execute_result" } @@ -2571,7 +2596,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 28, "metadata": {}, "outputs": [ { @@ -2688,7 +2713,7 @@ "Norway 74822.106 2015.0 " ] }, - "execution_count": 27, + "execution_count": 28, "metadata": {}, "output_type": "execute_result" } @@ -2699,7 +2724,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 29, "metadata": { "scrolled": true }, diff --git a/images/end_to_end_project/attribute_histogram_plots.png b/images/end_to_end_project/attribute_histogram_plots.png index 6e6b62a8128c44104a339f22c8d10c43696cf68a..7aad7c1803e66fdb583b885779dfe9b26e36e391 100644 GIT binary patch delta 42 ycmbPuTzcYh=?OW^MtTMl^CeisetrsT>~8I5Z0%-h?PhN6W@+ta-P+B@_80(Y6cB>| delta 42 ycmbPuTzcYh=?OW^hI&R5^CehJxqqH$>~8I5Z0%-h?PhN6W@+ta-P+B@_80(O{}3(! diff --git a/images/end_to_end_project/bad_visualization_plot.png b/images/end_to_end_project/bad_visualization_plot.png index a97af15faa73db92cb99660710db8c7176c4c846..b2f614f172fdc04b80fe1092964adcce2899e29a 100644 GIT binary patch delta 30 mcmex2f#cr~8I5+}h3bnH>PdybOo{ delta 30 mcmex2f#cr~8I5+}h3bnH>PYqYN_u diff --git a/images/end_to_end_project/better_visualization_plot.png b/images/end_to_end_project/better_visualization_plot.png index 119d8e0c04bbd0471717ce1e720e0219712dbdf0..c6da38c7ec256df431174b81e295043d7b747bf4 100644 GIT binary patch delta 42 ycmZ2DReIr6=?OW^MtTMl^CeisetrsT>~8I5Z0%-h?PhN6W@+ta-P+A2b_xJpy%074 delta 42 ycmZ2DReIr6=?OW^hI&R5^CehJxqqH$>~8I5Z0%-h?PhN6W@+ta-P+A2b_xJgs1M-) diff --git a/images/end_to_end_project/california_housing_prices_plot.png b/images/end_to_end_project/california_housing_prices_plot.png index 04689962d1da757995c016d13d67b9c474f8d3af..2768f7e523c79fb3bc73423fe25cdd8b99e4dd24 100644 GIT binary patch delta 78 zcmaFz+xy9H?+H1~MtTMl^CeisetrsT>~8I5Z0%-h?PhN6W@+taZS7`j?PhQ7=4kEa iZ0+W1?dERn=4tKbZSCf3?dEUo7HI7j+}bS^`4<2ciyyQA delta 78 zcmaFz+xy9H?+H1~hI&R5^CehJxqqH$>~8I5Z0%-h?PhN6W@+taZS7`j?PhQ7=4kEa iZ0+W1?dERn=4tKbZSCf3?dEUo7HI7j+}bS^`4<2Hf*)T1 diff --git a/images/end_to_end_project/housing_prices_scatterplot.png b/images/end_to_end_project/housing_prices_scatterplot.png index f6a5462e8bbc1064a4ad018ba8a253981dcaae97..5c103b28fad83c1573f0934fab1c1147f188f9ab 100644 GIT binary patch delta 75 zcmV~$xe0(k07XH(?<*0j5V41C!Q5Q129X~aoW eKzPCzfe1w;Vv&ecWFi-ZC`Bb|(TMh;JJ%m&G93B< delta 75 zcmV~$xe0(k07XG`*Za<_LQt>-3o#e0LF7jd7A?jOHn1f#XPjT0U#`uJ!*uVxor~{1 e5P=AV5mrPZ7KunjCUQ}TQdFWAjc6abbNvBPC>*5# diff --git a/images/end_to_end_project/income_vs_house_value_scatterplot.png b/images/end_to_end_project/income_vs_house_value_scatterplot.png index 969924b3169e26bf80b5929c786adc437d5adec5..03aa207d2b245461a0b5f3fd4f52756b4f08770f 100644 GIT binary patch delta 57 zcmccdSm(xLoe4S2MtTMl^CeisetrsT>~8I5Z0%-h?PhN6W@+taZS7`j?PhQ7=4kEa NZ0+XS+Rg222mrb@7JUE! delta 57 zcmccdSm(xLoe4S2hI&R5^CehJxqqH$>~8I5Z0%-h?PhN6W@+taZS7`j?PhQ7=4kEa NZ0+XS+Rg222mq`l7AOD! diff --git a/images/end_to_end_project/scatter_matrix_plot.png b/images/end_to_end_project/scatter_matrix_plot.png index 3332840f9121b01d4846518f6089f5aeb0892f6d..77e3de12ddb6d44204ee489fe0bbc0634ca8fa4a 100644 GIT binary patch delta 122 zcmWN=xebB<06@_oc;8&&%>>3cgq1Z@kT?UyuYRMYgE$DQ*xBhzUi)f-_Wx0bm(%%q zFQWYWsTwiB4u%+E7kk*p0SpF