forked from ljpzzz/machinelearning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pinard.liu
committed
Sep 14, 2018
1 parent
1460813
commit 08ded67
Showing
1 changed file
with
33 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"Copyright (C) 2016 - 2019 Pinard Liu([email protected])\n", | ||
"\n", | ||
"https://www.cnblogs.com/pinard\n", | ||
"\n", | ||
"Permission given to modify the code as long as you keep this declaration at the top\n", | ||
"\n", | ||
"scikit-learn 梯度提升树(GBDT)调参小结 https://www.cnblogs.com/pinard/p/6143927.html" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stderr", | ||
|
@@ -32,9 +43,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
|
@@ -59,9 +68,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 3, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"x_columns = [x for x in train.columns if x not in [target, IDcol]]\n", | ||
|
@@ -72,9 +79,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 5, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
|
@@ -97,9 +102,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 6, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
|
@@ -137,9 +140,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 8, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
|
@@ -189,9 +190,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 9, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
|
@@ -247,9 +246,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 6, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
|
@@ -273,9 +270,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 8, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
|
@@ -308,9 +303,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 10, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
|
@@ -342,9 +335,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 12, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
|
@@ -368,9 +359,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 13, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
|
@@ -394,9 +383,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 14, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
|
@@ -420,9 +407,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 15, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
|
@@ -455,23 +440,23 @@ | |
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 2", | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python2" | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 2 | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython2", | ||
"version": "2.7.10" | ||
"pygments_lexer": "ipython3", | ||
"version": "3.6.5" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 0 | ||
"nbformat_minor": 1 | ||
} |