├── docs ├── html │ ├── images │ │ ├── favicon.ico │ │ ├── sort_asc.png │ │ ├── sort_both.png │ │ ├── sort_desc.png │ │ ├── Sorting icons.psd │ │ ├── sort_asc_disabled.png │ │ └── sort_desc_disabled.png │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ ├── glyphicons-halflings-regular.woff2 │ │ └── glyphicons-halflings-regular.svg │ ├── js │ │ ├── csv_to_html_table.js │ │ ├── dataTables.bootstrap.js │ │ ├── jquery.csv.min.js │ │ └── bootstrap.min.js │ └── css │ │ ├── custom.css │ │ └── dataTables.bootstrap.css ├── data │ └── competitions │ │ └── kaggle-competitions-2017.html └── index.html ├── solutions ├── README.md └── nyc-taxi-trip-duration.md ├── README.md └── data └── competitions └── kaggle-competitions-2017.csv /docs/html/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/images/favicon.ico -------------------------------------------------------------------------------- /docs/html/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/images/sort_asc.png -------------------------------------------------------------------------------- /docs/html/images/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/images/sort_both.png -------------------------------------------------------------------------------- /docs/html/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/images/sort_desc.png -------------------------------------------------------------------------------- /docs/html/images/Sorting icons.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/images/Sorting icons.psd -------------------------------------------------------------------------------- /docs/html/images/sort_asc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/images/sort_asc_disabled.png -------------------------------------------------------------------------------- /docs/html/images/sort_desc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/images/sort_desc_disabled.png -------------------------------------------------------------------------------- /docs/html/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /docs/html/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /docs/html/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/html/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaggletw/solutions/HEAD/docs/html/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /solutions/README.md: -------------------------------------------------------------------------------- 1 | # 資料收集列表 2 | 3 | 每個比賽文件會用 kaggle 的 url 作為檔案名稱,以競賽的標題作為文件標題 4 | 5 | ### [New York City Taxi Trip Duration](./nyc-taxi-trip-duration.md) 6 | 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # A Collection of Solutions for Kaggle Competitions 2 | 3 | ## 目的 4 | 5 | - 通過 Kaggle 平台上的競賽,向他人學習各種不同的技巧、思維、演算法。 6 | - 記錄學習過程,與其他 Kaggler 一同分享。 7 | 8 | ## 流程 9 | 10 | - 整理已經結束的競賽列表 11 | - 目前已經整理 2017 年 12 月前結束的競賽 \[[web](https://kaggletw.github.io/solutions/data/competitions/kaggle-competitions-2017.html)]\[[csv](data/competitions/kaggle-competitions-2017.csv)] 12 | - 收集各競賽相關的公開資源 13 | - 閱讀分享並記錄在這個專頁 14 | 15 | ## 招募 16 | 17 | 有興趣一起參與的 Kaggler 請洽 [drumrick](https://www.facebook.com/pg/RickLiuPage/) 18 | -------------------------------------------------------------------------------- /docs/html/js/csv_to_html_table.js: -------------------------------------------------------------------------------- 1 | var CsvToHtmlTable = CsvToHtmlTable || {}; 2 | 3 | CsvToHtmlTable = { 4 | init: function (options) { 5 | 6 | options = options || {}; 7 | var csv_path = options.csv_path || ""; 8 | var el = options.element || "table-container"; 9 | var allow_download = options.allow_download || false; 10 | var csv_options = options.csv_options || {}; 11 | var datatables_options = options.datatables_options || {}; 12 | var custom_formatting = options.custom_formatting || []; 13 | 14 | $("#" + el).html("
"); 15 | 16 | $.when($.get(csv_path)).then( 17 | function(data){ 18 | var csv_data = $.csv.toArrays(data, csv_options); 19 | 20 | var table_head = ""; 21 | 22 | for (head_id = 0; head_id < csv_data[0].length; head_id++) { 23 | table_head += "" + csv_data[0][head_id] + ""; 24 | } 25 | 26 | table_head += ""; 27 | $('#' + el + '-table').append(table_head); 28 | $('#' + el + '-table').append(""); 29 | 30 | for (row_id = 1; row_id < csv_data.length; row_id++) { 31 | var row_html = ""; 32 | 33 | //takes in an array of column index and function pairs 34 | if (custom_formatting != []) { 35 | $.each(custom_formatting, function(i, v){ 36 | var col_idx = v[0] 37 | var func = v[1]; 38 | csv_data[row_id][col_idx]= func(csv_data[row_id][col_idx]); 39 | }) 40 | } 41 | 42 | for (col_id = 0; col_id < csv_data[row_id].length; col_id++) { 43 | row_html += "" + csv_data[row_id][col_id] + ""; 44 | } 45 | 46 | row_html += ""; 47 | $('#' + el + '-table tbody').append(row_html); 48 | } 49 | 50 | $('#' + el + '-table').DataTable(datatables_options); 51 | 52 | if (allow_download) 53 | $("#" + el).append("

Download as CSV

"); 54 | }); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /solutions/nyc-taxi-trip-duration.md: -------------------------------------------------------------------------------- 1 | # New York City Taxi Trip Duration 2 | 3 | ## 競賽基本資料 4 | 5 | 待補 6 | 7 | ## Private Leaderboard 8 | 9 | - \#1: 0.28976 10 | - Top 1%: 0.31205 11 | - Top 5%: 0.36908 12 | - Top 10%: 0.37434 13 | 14 | ## 官網 Discussion 15 | 16 | - [官方宣布第一階段雙週最佳 Kernels 獎](https://www.kaggle.com/c/nyc-taxi-trip-duration/discussion/37510) 17 | - EDA in R: [NYC Taxi EDA - Update: The fast & the curious](https://www.kaggle.com/headsortails/nyc-taxi-eda-update-the-fast-the-curious/notebook) 18 | - [官方宣布第二階段雙週最佳 Kernels 獎](https://www.kaggle.com/c/nyc-taxi-trip-duration/discussion/38257) 19 | - [From EDA to the Top (LB 0.367)](https://www.kaggle.com/gaborfodor/from-eda-to-the-top-lb-0-367) about 0.36331 #29 20 | - [官方宣布第三階段雙週最佳 Kernels 獎](https://www.kaggle.com/c/nyc-taxi-trip-duration/discussion/38823) 21 | - EDA in Python: [Strength of visualization-python visuals tutorial](https://www.kaggle.com/maheshdadhich/strength-of-visualization-python-visuals-tutorial/notebook) 22 | - [官方宣布第四階段雙週最佳 Kernels 獎](https://www.kaggle.com/c/nyc-taxi-trip-duration/discussion/39468) 23 | - Animation in Python: [Dynamics of New York city - Animation](https://www.kaggle.com/drgilermo/dynamics-of-new-york-city-animation) 24 | - [官方宣布最終贏家](https://www.kaggle.com/c/nyc-taxi-trip-duration/discussion/39792) 25 | - Forked->Submitted Kernels Prizes 都是比較基礎的,可以看看,但成績都不高。 26 | - 另外還有:教學獎、互動獎、說故事獎 27 | 28 | ## 官網 Kernels 29 | 30 | | titel | kaggler | score | # | 31 | | ---------------------------------------- | ---------------------------------------- | ------- | ---- | 32 | | [From EDA to the Top (LB 0.367)](https://www.kaggle.com/gaborfodor/from-eda-to-the-top-lb-0-367) | [beluga](https://www.kaggle.com/gaborfodor) | 0.36331 | 29 | 33 | | [Brewed-Tpot-for-NYC-With-Love LB0.37+](https://www.kaggle.com/sheriytm/brewed-tpot-for-nyc-with-love-lb0-37) | [YaGana Sheriff-Hussaini](https://www.kaggle.com/sheriytm) | 0.36698 | 46 | 34 | 35 | ## Github 36 | 37 | | titel | kaggler | score | # | 38 | | ---------------------------------------- | ---------------------------------------- | ------- | ---- | 39 | | [Kaggle比赛New-York-City-Taxi-Trip-Duration方案](https://github.com/LightR0/New-York-City-Taxi-Trip-Duration) | [LightR](https://www.kaggle.com/lightrain007) | 0.36874 | 60 | 40 | | [A Kaggle ML competition to predict taxi trip duration.](https://github.com/mk9440/New-York-City-Taxi-Trip-Duration) | [Mayank](https://www.kaggle.com/mk9440) | 0.37876 | 185 | 41 | | [My work for Kaggle's "New York City Taxi Trip Duration" competition](https://github.com/Currie32/NYC-Taxi-Trip-Duration) | [Currie32](https://www.kaggle.com/currie32) | 0.39002 | 387 | 42 | | [kaggle-New-York-City-Taxi-Trip-Duration](https://github.com/kqdmqx/kaggle-New-York-City-Taxi-Trip-Duration) | [GaoYL](https://www.kaggle.com/kqdmqx) | 0.39752 | 463 | 43 | 44 | ## Kaggler 45 | 46 | - 第 1 名是個叫做 L2F 的團隊(或是公司?) 47 | - 第 2 名是台灣人!!![swimming7](https://www.kaggle.com/swimming7)!!!而且他現在 WSDM 18th!!!加油!!! 48 | - 第11名是 H2O.ai 49 | -------------------------------------------------------------------------------- /docs/html/css/custom.css: -------------------------------------------------------------------------------- 1 | /* Custom styles */ 2 | /* 3 | DePaul IHS 4 | */ 5 | 6 | @font-face { 7 | font-family: 'GibsonSemiBold'; 8 | src: url('/css/fonts/gibson-semibold-webfont.eot'); 9 | src: url('/css/fonts/gibson-semibold-webfont.eot?#iefix') format('embedded-opentype'), 10 | url('/css/fonts/gibson-semibold-webfont.woff') format('woff'), 11 | url('/css/fonts/gibson-semibold-webfont.ttf') format('truetype'), 12 | url('/css/fonts/gibson-semibold-webfont.svg#GibsonSemiBold') format('svg'); 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | @font-face { 17 | font-family: 'GibsonBold'; 18 | src: url('/css/fonts/gibson-bold-webfont.eot'); 19 | src: url('/css/fonts/gibson-bold-webfont.eot?#iefix') format('embedded-opentype'), 20 | url('/css/fonts/gibson-bold-webfont.woff') format('woff'), 21 | url('/css/fonts/gibson-bold-webfont.ttf') format('truetype'), 22 | url('/css/fonts/gibson-bold-webfont.svg#GibsonBold') format('svg'); 23 | font-weight: normal; 24 | font-style: normal; 25 | } 26 | @font-face { 27 | font-family: 'ColaborateThinRegular'; 28 | src: url('/css/fonts/ColabThi-webfont.eot'); 29 | src: url('/css/fonts/ColabThi-webfont.eot?#iefix') format('embedded-opentype'), 30 | url('/css/fonts/ColabThi-webfont.woff') format('woff'), 31 | url('/css/fonts/ColabThi-webfont.ttf') format('truetype'), 32 | url('/css/fonts/ColabThi-webfont.svg#ColaborateThinRegular') format('svg'); 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | @font-face { 37 | font-family: 'ColaborateRegRegular'; 38 | src: url('http://www.housingstudies.org/static/css/fonts/ColabReg-webfont.eot'); 39 | src: url('http://www.housingstudies.org/static/css/fonts/ColabReg-webfont.eot?#iefix') format('embedded-opentype'), 40 | url('http://www.housingstudies.org/static/css/fonts/ColabReg-webfont.woff') format('woff'), 41 | url('http://www.housingstudies.org/static/css/fonts/ColabReg-webfont.ttf') format('truetype'), 42 | url('http://www.housingstudies.org/static/css/fonts/ColabReg-webfont.svg#ColaborateRegRegular') format('svg'); 43 | font-weight: normal; 44 | font-style: normal; 45 | 46 | } 47 | @font-face { 48 | font-family: 'AlegreyaBold'; 49 | src: url('http://www.housingstudies.org/static/css/fonts/Alegreya-Bold-webfont.eot'); 50 | src: url('http://www.housingstudies.org/static/css/fonts/Alegreya-Bold-webfont.eot?#iefix') format('embedded-opentype'), 51 | url('http://www.housingstudies.org/static/css/fonts/Alegreya-Bold-webfont.woff') format('woff'), 52 | url('http://www.housingstudies.org/static/css/fonts/Alegreya-Bold-webfont.ttf') format('truetype'), 53 | url('http://www.housingstudies.org/static/css/fonts/Alegreya-Bold-webfont.svg#AlegreyaBold') format('svg'); 54 | font-weight: normal; 55 | font-style: normal; 56 | } 57 | 58 | 59 | body { 60 | font: 18px/1.3em 'ColaborateThinRegular', sans-serif; 61 | } 62 | 63 | h1 { 64 | font: 32px/1em 'GibsonBold', serif; 65 | text-transform: uppercase; 66 | color: #827E7E; 67 | } 68 | 69 | h2 { 70 | font: 22px/1em 'GibsonBold', serif; 71 | text-transform: uppercase; 72 | color: #827E7E; 73 | } 74 | 75 | #logo { 76 | margin-top: 20px; 77 | } 78 | 79 | #logo img { width: 170px; } 80 | 81 | .info { 82 | padding: 6px 8px; 83 | font: 14px/16px Arial, Helvetica, sans-serif; 84 | background: white; 85 | background: rgba(255,255,255,0.8); 86 | box-shadow: 0 0 15px rgba(0,0,0,0.2); 87 | border-radius: 5px; 88 | } 89 | .info h4 { 90 | margin: 0 0 5px; 91 | color: #777; 92 | } 93 | 94 | .legend { 95 | text-align: left; 96 | line-height: 18px; 97 | color: #555; 98 | } 99 | .legend i { 100 | width: 18px; 101 | height: 18px; 102 | float: left; 103 | margin-right: 8px; 104 | opacity: 0.7; 105 | } -------------------------------------------------------------------------------- /docs/data/competitions/kaggle-competitions-2017.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Kaggel Competitions 2017 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | 22 | 23 | 24 |
25 |

Kaggle Competitions 2017

26 |
29 |
30 | 31 | 32 | 33 | 34 | 35 |

36 |
39 |
40 | 41 | 42 | 43 | 44 |

45 |
48 |
49 | 50 | 51 | 52 | 53 |

54 | 61 | 62 |
63 | 64 |
65 | 66 | 72 | 73 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /docs/html/js/dataTables.bootstrap.js: -------------------------------------------------------------------------------- 1 | /*! DataTables Bootstrap 3 integration 2 | * ©2011-2014 SpryMedia Ltd - datatables.net/license 3 | */ 4 | 5 | /** 6 | * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and 7 | * DataTables 1.10 or newer. 8 | * 9 | * This file sets the defaults and adds options to DataTables to style its 10 | * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap 11 | * for further information. 12 | */ 13 | (function(window, document, undefined){ 14 | 15 | var factory = function( $, DataTable ) { 16 | "use strict"; 17 | 18 | 19 | /* Set the defaults for DataTables initialisation */ 20 | $.extend( true, DataTable.defaults, { 21 | dom: 22 | "<'row'<'col-sm-6'l><'col-sm-6'f>>" + 23 | "<'row'<'col-sm-12'tr>>" + 24 | "<'row'<'col-sm-5'i><'col-sm-7'p>>", 25 | renderer: 'bootstrap' 26 | } ); 27 | 28 | 29 | /* Default class modification */ 30 | $.extend( DataTable.ext.classes, { 31 | sWrapper: "dataTables_wrapper form-inline dt-bootstrap", 32 | sFilterInput: "form-control input-sm", 33 | sLengthSelect: "form-control input-sm" 34 | } ); 35 | 36 | 37 | /* Bootstrap paging button renderer */ 38 | DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) { 39 | var api = new DataTable.Api( settings ); 40 | var classes = settings.oClasses; 41 | var lang = settings.oLanguage.oPaginate; 42 | var btnDisplay, btnClass; 43 | 44 | var attach = function( container, buttons ) { 45 | var i, ien, node, button; 46 | var clickHandler = function ( e ) { 47 | e.preventDefault(); 48 | if ( !$(e.currentTarget).hasClass('disabled') ) { 49 | api.page( e.data.action ).draw( false ); 50 | } 51 | }; 52 | 53 | for ( i=0, ien=buttons.length ; i 0 ? 72 | '' : ' disabled'); 73 | break; 74 | 75 | case 'previous': 76 | btnDisplay = lang.sPrevious; 77 | btnClass = button + (page > 0 ? 78 | '' : ' disabled'); 79 | break; 80 | 81 | case 'next': 82 | btnDisplay = lang.sNext; 83 | btnClass = button + (page < pages-1 ? 84 | '' : ' disabled'); 85 | break; 86 | 87 | case 'last': 88 | btnDisplay = lang.sLast; 89 | btnClass = button + (page < pages-1 ? 90 | '' : ' disabled'); 91 | break; 92 | 93 | default: 94 | btnDisplay = button + 1; 95 | btnClass = page === button ? 96 | 'active' : ''; 97 | break; 98 | } 99 | 100 | if ( btnDisplay ) { 101 | node = $('
  • ', { 102 | 'class': classes.sPageButton+' '+btnClass, 103 | 'aria-controls': settings.sTableId, 104 | 'tabindex': settings.iTabIndex, 105 | 'id': idx === 0 && typeof button === 'string' ? 106 | settings.sTableId +'_'+ button : 107 | null 108 | } ) 109 | .append( $('', { 110 | 'href': '#' 111 | } ) 112 | .html( btnDisplay ) 113 | ) 114 | .appendTo( container ); 115 | 116 | settings.oApi._fnBindAction( 117 | node, {action: button}, clickHandler 118 | ); 119 | } 120 | } 121 | } 122 | }; 123 | 124 | attach( 125 | $(host).empty().html('