In [1]:
%load_ext autoreload
%autoreload 2

%matplotlib inline

In [2]:
from fastai.imports import *
from fastai.structured import *

from pandas_summary import DataFrameSummary
from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier
from IPython.display import display

from sklearn import metrics

In [3]:
PATH = os.getcwd();
PATH


Out[3]:
'D:\\Github\\fastai\\courses\\ml1'

In [4]:
df_raw = pd.read_csv(f'{PATH}\\av_train_DaEJRFg.csv', low_memory=False, parse_dates=['incident_date'])

In [5]:
df_raw.head(1)


Out[5]:
victim_id incident_time incident_date incident_location incident_tehsil cause_of_emergency base_to_scene_distance scene_to_hospital_distance roadway_feature road_type surrounding_area criticality
0 VIC20120001987267 22:23:19 2012-07-11 Subhash Nagar Raipur Multiple Vehicular Incident 13 12 CUR HIW FOR 0

In [6]:
df_raw.criticality.value_counts()


Out[6]:
0    11255
1      522
Name: criticality, dtype: int64

In [7]:
df_raw.head(3)


Out[7]:
victim_id incident_time incident_date incident_location incident_tehsil cause_of_emergency base_to_scene_distance scene_to_hospital_distance roadway_feature road_type surrounding_area criticality
0 VIC20120001987267 22:23:19 2012-07-11 Subhash Nagar Raipur Multiple Vehicular Incident 13 12 CUR HIW FOR 0
1 VIC20110002147887 20:23:09 2011-02-11 Coro Nation Raipur 2 Wheeler accidents 1 5 CUR HIW AGL 0
2 VIC20090001391483 20:37:15 2009-07-25 Kewal Vihar Raipur Non motorised vehicle accidents(Bullock cart,B... 2 2 INT LOC HOSP 0

In [24]:
add_datepart(test, 'incident_date')
test.head()


Out[24]:
victim_id incident_time incident_location incident_tehsil cause_of_emergency base_to_scene_distance scene_to_hospital_distance roadway_feature road_type surrounding_area ... incident_Day incident_Dayofweek incident_Dayofyear incident_Is_month_end incident_Is_month_start incident_Is_quarter_end incident_Is_quarter_start incident_Is_year_end incident_Is_year_start incident_Elapsed
0 VIC20100001032706 15:46:12 Chc Sahaspur Sahaspur MVC - Pedestrian (Run Over/Hit & Run) 23 27 INT LOC MAR ... 19 2 139 False False False False False False 1274227200
1 VIC20120000441519 16:55:28 Doiwala Ambulance Doiwala Multiple Vehicular Incident 5 21 CUR HIW AGL ... 18 6 78 False False False False False False 1332028800
2 VIC20130000014119 18:49:35 Race Course Chowk Raipur Multiple Vehicular Incident 3 1 CUR HIW AGL ... 1 0 91 False True False True False False 1364774400
3 VIC20140000614145 16:22:55 Selaqui Sahaspur Multiple Vehicular Incident 18 14 UNK LOC AGL ... 31 5 151 True False False False False False 1401494400
4 VIC20090002298916 15:35:15 Ambari Mode,Dakpather Vikasnagar 2 Wheeler accidents 6 10 INT LOC MAR ... 12 2 224 False False False False False False 1250035200

5 rows × 23 columns


In [25]:
test.drop('incident_Elapsed', axis=1, inplace=True)

In [26]:
test['incident_location'].fillna('Dehradun',inplace=True)

In [27]:
train_cats(test)

In [115]:
os.makedirs('tmp', exist_ok=True)
df_raw.to_feather('tmp/av_rookree_raw')

In [187]:
test.head(2)


Out[187]:
victim_id incident_time incident_location incident_tehsil cause_of_emergency base_to_scene_distance scene_to_hospital_distance roadway_feature road_type surrounding_area ... incident_Week incident_Day incident_Dayofweek incident_Dayofyear incident_Is_month_end incident_Is_month_start incident_Is_quarter_end incident_Is_quarter_start incident_Is_year_end incident_Is_year_start
0 VIC20100001032706 15:46:12 Chc Sahaspur Sahaspur MVC - Pedestrian (Run Over/Hit & Run) 23 27 INT LOC MAR ... 20 19 2 139 False False False False False False
1 VIC20120000441519 16:55:28 Doiwala Ambulance Doiwala Multiple Vehicular Incident 5 21 CUR HIW AGL ... 11 18 6 78 False False False False False False

2 rows × 22 columns


In [188]:
test.info()


<class 'pandas.core.frame.DataFrame'>
RangeIndex: 5048 entries, 0 to 5047
Data columns (total 22 columns):
victim_id                     5048 non-null category
incident_time                 5048 non-null category
incident_location             5048 non-null category
incident_tehsil               5048 non-null category
cause_of_emergency            5048 non-null category
base_to_scene_distance        5048 non-null int64
scene_to_hospital_distance    5048 non-null int64
roadway_feature               5048 non-null category
road_type                     5048 non-null category
surrounding_area              5048 non-null category
incident_Year                 5048 non-null int64
incident_Month                5048 non-null int64
incident_Week                 5048 non-null int64
incident_Day                  5048 non-null int64
incident_Dayofweek            5048 non-null int64
incident_Dayofyear            5048 non-null int64
incident_Is_month_end         5048 non-null bool
incident_Is_month_start       5048 non-null bool
incident_Is_quarter_end       5048 non-null bool
incident_Is_quarter_start     5048 non-null bool
incident_Is_year_end          5048 non-null bool
incident_Is_year_start        5048 non-null bool
dtypes: bool(6), category(8), int64(8)
memory usage: 899.9 KB

In [15]:
y = df_raw.criticality

In [16]:
df_raw.drop('criticality',axis=1,inplace=True)

In [17]:
from sklearn.model_selection import train_test_split
X_train, X_validation, y_train, y_validation = train_test_split(df_raw, y, train_size=0.8, random_state=1234)


C:\ProgramData\Anaconda3\lib\site-packages\sklearn\model_selection\_split.py:2026: FutureWarning: From version 0.21, test_size will always complement train_size unless both are specified.
  FutureWarning)

In [18]:
df_raw.info()


<class 'pandas.core.frame.DataFrame'>
RangeIndex: 11777 entries, 0 to 11776
Data columns (total 22 columns):
victim_id                     11777 non-null category
incident_time                 11777 non-null category
incident_location             11777 non-null category
incident_tehsil               11777 non-null category
cause_of_emergency            11777 non-null category
base_to_scene_distance        11777 non-null int64
scene_to_hospital_distance    11777 non-null int64
roadway_feature               11777 non-null category
road_type                     11777 non-null category
surrounding_area              11777 non-null category
incident_Year                 11777 non-null int64
incident_Month                11777 non-null int64
incident_Week                 11777 non-null int64
incident_Day                  11777 non-null int64
incident_Dayofweek            11777 non-null int64
incident_Dayofyear            11777 non-null int64
incident_Is_month_end         11777 non-null bool
incident_Is_month_start       11777 non-null bool
incident_Is_quarter_end       11777 non-null bool
incident_Is_quarter_start     11777 non-null bool
incident_Is_year_end          11777 non-null bool
incident_Is_year_start        11777 non-null bool
dtypes: bool(6), category(8), int64(8)
memory usage: 1.9 MB

In [19]:
categorical_features_indices = np.where(df_raw.dtypes != (np.int64 or np.bool))[0]

In [20]:
categorical_features_indices


Out[20]:
array([ 0,  1,  2,  3,  4,  7,  8,  9, 16, 17, 18, 19, 20, 21], dtype=int64)

In [21]:
#importing library and building model
from catboost import CatBoostClassifier
model=CatBoostClassifier(iterations=1000, depth=13, learning_rate=0.01, loss_function='CrossEntropy',\
                         )
model.fit(X_train, y_train,cat_features=categorical_features_indices,eval_set=(X_validation, y_validation))


0:	learn: 0.6787930	test: 0.6787468	best: 0.6787468 (0)	total: 204ms	remaining: 3m 23s
1:	learn: 0.6652549	test: 0.6651285	best: 0.6651285 (1)	total: 318ms	remaining: 2m 38s
2:	learn: 0.6521447	test: 0.6519880	best: 0.6519880 (2)	total: 342ms	remaining: 1m 53s
3:	learn: 0.6390820	test: 0.6389544	best: 0.6389544 (3)	total: 412ms	remaining: 1m 42s
4:	learn: 0.6266753	test: 0.6265258	best: 0.6265258 (4)	total: 425ms	remaining: 1m 24s
5:	learn: 0.6144091	test: 0.6142177	best: 0.6142177 (5)	total: 467ms	remaining: 1m 17s
6:	learn: 0.6026720	test: 0.6024569	best: 0.6024569 (6)	total: 484ms	remaining: 1m 8s
7:	learn: 0.5912546	test: 0.5910012	best: 0.5910012 (7)	total: 532ms	remaining: 1m 6s
8:	learn: 0.5801494	test: 0.5798758	best: 0.5798758 (8)	total: 542ms	remaining: 59.7s
9:	learn: 0.5693514	test: 0.5690566	best: 0.5690566 (9)	total: 569ms	remaining: 56.3s
10:	learn: 0.5588476	test: 0.5585331	best: 0.5585331 (10)	total: 578ms	remaining: 51.9s
11:	learn: 0.5485114	test: 0.5481499	best: 0.5481499 (11)	total: 656ms	remaining: 54s
12:	learn: 0.5385818	test: 0.5382019	best: 0.5382019 (12)	total: 668ms	remaining: 50.7s
13:	learn: 0.5289121	test: 0.5285203	best: 0.5285203 (13)	total: 767ms	remaining: 54s
14:	learn: 0.5193906	test: 0.5190377	best: 0.5190377 (14)	total: 809ms	remaining: 53.1s
15:	learn: 0.5098752	test: 0.5091187	best: 0.5091187 (15)	total: 826ms	remaining: 50.8s
16:	learn: 0.5006800	test: 0.4996631	best: 0.4996631 (16)	total: 867ms	remaining: 50.2s
17:	learn: 0.4917342	test: 0.4907449	best: 0.4907449 (17)	total: 965ms	remaining: 52.6s
18:	learn: 0.4833670	test: 0.4823369	best: 0.4823369 (18)	total: 984ms	remaining: 50.8s
19:	learn: 0.4751319	test: 0.4740782	best: 0.4740782 (19)	total: 1.03s	remaining: 50.5s
20:	learn: 0.4671706	test: 0.4660472	best: 0.4660472 (20)	total: 1.07s	remaining: 50s
21:	learn: 0.4594705	test: 0.4583371	best: 0.4583371 (21)	total: 1.14s	remaining: 50.7s
22:	learn: 0.4520095	test: 0.4508708	best: 0.4508708 (22)	total: 1.15s	remaining: 48.9s
23:	learn: 0.4447568	test: 0.4436094	best: 0.4436094 (23)	total: 1.18s	remaining: 48s
24:	learn: 0.4377091	test: 0.4365557	best: 0.4365557 (24)	total: 1.2s	remaining: 46.8s
25:	learn: 0.4308572	test: 0.4296985	best: 0.4296985 (25)	total: 1.21s	remaining: 45.3s
26:	learn: 0.4241972	test: 0.4230332	best: 0.4230332 (26)	total: 1.22s	remaining: 43.9s
27:	learn: 0.4175402	test: 0.4163914	best: 0.4163914 (27)	total: 1.26s	remaining: 43.7s
28:	learn: 0.4112463	test: 0.4100896	best: 0.4100896 (28)	total: 1.32s	remaining: 44.3s
29:	learn: 0.4050687	test: 0.4039014	best: 0.4039014 (29)	total: 1.34s	remaining: 43.4s
30:	learn: 0.3989607	test: 0.3978028	best: 0.3978028 (30)	total: 1.36s	remaining: 42.6s
31:	learn: 0.3928420	test: 0.3914250	best: 0.3914250 (31)	total: 1.42s	remaining: 43s
32:	learn: 0.3872408	test: 0.3858225	best: 0.3858225 (32)	total: 1.43s	remaining: 42s
33:	learn: 0.3817962	test: 0.3803766	best: 0.3803766 (33)	total: 1.44s	remaining: 41s
34:	learn: 0.3765039	test: 0.3750827	best: 0.3750827 (34)	total: 1.46s	remaining: 40.2s
35:	learn: 0.3713527	test: 0.3699029	best: 0.3699029 (35)	total: 1.48s	remaining: 39.5s
36:	learn: 0.3663520	test: 0.3649010	best: 0.3649010 (36)	total: 1.48s	remaining: 38.6s
37:	learn: 0.3614849	test: 0.3600358	best: 0.3600358 (37)	total: 1.53s	remaining: 38.7s
38:	learn: 0.3567174	test: 0.3552602	best: 0.3552602 (38)	total: 1.56s	remaining: 38.5s
39:	learn: 0.3519573	test: 0.3504922	best: 0.3504922 (39)	total: 1.63s	remaining: 39.1s
40:	learn: 0.3473389	test: 0.3458868	best: 0.3458868 (40)	total: 1.65s	remaining: 38.7s
41:	learn: 0.3429879	test: 0.3415064	best: 0.3415064 (41)	total: 1.7s	remaining: 38.7s
42:	learn: 0.3381973	test: 0.3367167	best: 0.3367167 (42)	total: 1.73s	remaining: 38.5s
43:	learn: 0.3341068	test: 0.3326314	best: 0.3326314 (43)	total: 1.76s	remaining: 38.2s
44:	learn: 0.3301331	test: 0.3286569	best: 0.3286569 (44)	total: 1.77s	remaining: 37.6s
45:	learn: 0.3262674	test: 0.3247906	best: 0.3247906 (45)	total: 1.85s	remaining: 38.5s
46:	learn: 0.3224333	test: 0.3209124	best: 0.3209124 (46)	total: 1.89s	remaining: 38.3s
47:	learn: 0.3187813	test: 0.3172605	best: 0.3172605 (47)	total: 1.9s	remaining: 37.6s
48:	learn: 0.3152299	test: 0.3137090	best: 0.3137090 (48)	total: 1.91s	remaining: 37s
49:	learn: 0.3117762	test: 0.3102551	best: 0.3102551 (49)	total: 1.92s	remaining: 36.5s
50:	learn: 0.3084151	test: 0.3068938	best: 0.3068938 (50)	total: 1.94s	remaining: 36.1s
51:	learn: 0.3051454	test: 0.3036281	best: 0.3036281 (51)	total: 1.97s	remaining: 35.9s
52:	learn: 0.3019419	test: 0.3004225	best: 0.3004225 (52)	total: 2.1s	remaining: 37.5s
53:	learn: 0.2988520	test: 0.2973322	best: 0.2973322 (53)	total: 2.11s	remaining: 37s
54:	learn: 0.2958475	test: 0.2943256	best: 0.2943256 (54)	total: 2.15s	remaining: 36.9s
55:	learn: 0.2929247	test: 0.2913996	best: 0.2913996 (55)	total: 2.19s	remaining: 36.9s
56:	learn: 0.2900805	test: 0.2885547	best: 0.2885547 (56)	total: 2.2s	remaining: 36.4s
57:	learn: 0.2870972	test: 0.2855454	best: 0.2855454 (57)	total: 2.23s	remaining: 36.2s
58:	learn: 0.2844087	test: 0.2828559	best: 0.2828559 (58)	total: 2.24s	remaining: 35.8s
59:	learn: 0.2817930	test: 0.2802392	best: 0.2802392 (59)	total: 2.25s	remaining: 35.3s
60:	learn: 0.2792483	test: 0.2776926	best: 0.2776926 (60)	total: 2.3s	remaining: 35.4s
61:	learn: 0.2767720	test: 0.2752150	best: 0.2752150 (61)	total: 2.31s	remaining: 34.9s
62:	learn: 0.2741392	test: 0.2724993	best: 0.2724993 (62)	total: 2.38s	remaining: 35.4s
63:	learn: 0.2717978	test: 0.2701579	best: 0.2701579 (63)	total: 2.39s	remaining: 35s
64:	learn: 0.2693211	test: 0.2676554	best: 0.2676554 (64)	total: 2.42s	remaining: 34.8s
65:	learn: 0.2668889	test: 0.2652464	best: 0.2652464 (65)	total: 2.44s	remaining: 34.6s
66:	learn: 0.2647376	test: 0.2630946	best: 0.2630946 (66)	total: 2.46s	remaining: 34.3s
67:	learn: 0.2625434	test: 0.2609098	best: 0.2609098 (67)	total: 2.48s	remaining: 34.1s
68:	learn: 0.2605059	test: 0.2588715	best: 0.2588715 (68)	total: 2.5s	remaining: 33.8s
69:	learn: 0.2583507	test: 0.2567468	best: 0.2567468 (69)	total: 2.69s	remaining: 35.7s
70:	learn: 0.2558165	test: 0.2542685	best: 0.2542685 (70)	total: 2.76s	remaining: 36.1s
71:	learn: 0.2535561	test: 0.2520146	best: 0.2520146 (71)	total: 2.79s	remaining: 36s
72:	learn: 0.2517435	test: 0.2502007	best: 0.2502007 (72)	total: 2.81s	remaining: 35.7s
73:	learn: 0.2498201	test: 0.2482478	best: 0.2482478 (73)	total: 2.87s	remaining: 35.9s
74:	learn: 0.2479455	test: 0.2463589	best: 0.2463589 (74)	total: 2.94s	remaining: 36.3s
75:	learn: 0.2462764	test: 0.2446893	best: 0.2446893 (75)	total: 2.96s	remaining: 36s
76:	learn: 0.2439186	test: 0.2423557	best: 0.2423557 (76)	total: 3.02s	remaining: 36.2s
77:	learn: 0.2423455	test: 0.2407817	best: 0.2407817 (77)	total: 3.07s	remaining: 36.3s
78:	learn: 0.2404637	test: 0.2388936	best: 0.2388936 (78)	total: 3.45s	remaining: 40.2s
79:	learn: 0.2388742	test: 0.2373195	best: 0.2373195 (79)	total: 3.5s	remaining: 40.3s
80:	learn: 0.2373788	test: 0.2358148	best: 0.2358148 (80)	total: 3.56s	remaining: 40.4s
81:	learn: 0.2358280	test: 0.2342438	best: 0.2342438 (81)	total: 3.69s	remaining: 41.3s
82:	learn: 0.2344317	test: 0.2328475	best: 0.2328475 (82)	total: 3.73s	remaining: 41.2s
83:	learn: 0.2327616	test: 0.2311560	best: 0.2311560 (83)	total: 3.78s	remaining: 41.2s
84:	learn: 0.2314650	test: 0.2298589	best: 0.2298589 (84)	total: 3.8s	remaining: 40.9s
85:	learn: 0.2302012	test: 0.2285947	best: 0.2285947 (85)	total: 3.82s	remaining: 40.6s
86:	learn: 0.2286372	test: 0.2270156	best: 0.2270156 (86)	total: 3.89s	remaining: 40.8s
87:	learn: 0.2274414	test: 0.2258196	best: 0.2258196 (87)	total: 3.9s	remaining: 40.4s
88:	learn: 0.2261396	test: 0.2244351	best: 0.2244351 (88)	total: 3.94s	remaining: 40.3s
89:	learn: 0.2247189	test: 0.2229492	best: 0.2229492 (89)	total: 4.02s	remaining: 40.7s
90:	learn: 0.2231142	test: 0.2213914	best: 0.2213914 (90)	total: 4.11s	remaining: 41.1s
91:	learn: 0.2219696	test: 0.2202679	best: 0.2202679 (91)	total: 4.18s	remaining: 41.2s
92:	learn: 0.2208090	test: 0.2191206	best: 0.2191206 (92)	total: 4.24s	remaining: 41.4s
93:	learn: 0.2197871	test: 0.2181003	best: 0.2181003 (93)	total: 4.32s	remaining: 41.6s
94:	learn: 0.2187999	test: 0.2171142	best: 0.2171142 (94)	total: 4.33s	remaining: 41.2s
95:	learn: 0.2174298	test: 0.2157718	best: 0.2157718 (95)	total: 4.36s	remaining: 41.1s
96:	learn: 0.2162001	test: 0.2145409	best: 0.2145409 (96)	total: 4.39s	remaining: 40.9s
97:	learn: 0.2149838	test: 0.2133196	best: 0.2133196 (97)	total: 4.49s	remaining: 41.3s
98:	learn: 0.2136957	test: 0.2120635	best: 0.2120635 (98)	total: 4.68s	remaining: 42.6s
99:	learn: 0.2125096	test: 0.2108782	best: 0.2108782 (99)	total: 4.77s	remaining: 42.9s
100:	learn: 0.2116802	test: 0.2100498	best: 0.2100498 (100)	total: 4.78s	remaining: 42.5s
101:	learn: 0.2103530	test: 0.2088000	best: 0.2088000 (101)	total: 4.87s	remaining: 42.9s
102:	learn: 0.2095695	test: 0.2080174	best: 0.2080174 (102)	total: 4.88s	remaining: 42.5s
103:	learn: 0.2086363	test: 0.2070568	best: 0.2070568 (103)	total: 5s	remaining: 43.1s
104:	learn: 0.2078927	test: 0.2063144	best: 0.2063144 (104)	total: 5.01s	remaining: 42.7s
105:	learn: 0.2070355	test: 0.2054521	best: 0.2054521 (105)	total: 5.04s	remaining: 42.5s
106:	learn: 0.2063109	test: 0.2047276	best: 0.2047276 (106)	total: 5.06s	remaining: 42.2s
107:	learn: 0.2053479	test: 0.2037818	best: 0.2037818 (107)	total: 5.09s	remaining: 42s
108:	learn: 0.2046785	test: 0.2031135	best: 0.2031135 (108)	total: 5.1s	remaining: 41.7s
109:	learn: 0.2040255	test: 0.2024614	best: 0.2024614 (109)	total: 5.11s	remaining: 41.4s
110:	learn: 0.2032039	test: 0.2016281	best: 0.2016281 (110)	total: 5.16s	remaining: 41.3s
111:	learn: 0.2024540	test: 0.2008920	best: 0.2008920 (111)	total: 5.18s	remaining: 41.1s
112:	learn: 0.2015433	test: 0.1999753	best: 0.1999753 (112)	total: 5.29s	remaining: 41.6s
113:	learn: 0.2008659	test: 0.1992790	best: 0.1992790 (113)	total: 5.32s	remaining: 41.3s
114:	learn: 0.1999187	test: 0.1983665	best: 0.1983665 (114)	total: 5.37s	remaining: 41.3s
115:	learn: 0.1991377	test: 0.1976051	best: 0.1976051 (115)	total: 5.41s	remaining: 41.2s
116:	learn: 0.1984956	test: 0.1969442	best: 0.1969442 (116)	total: 5.46s	remaining: 41.2s
117:	learn: 0.1975595	test: 0.1960370	best: 0.1960370 (117)	total: 5.52s	remaining: 41.3s
118:	learn: 0.1968006	test: 0.1952701	best: 0.1952701 (118)	total: 5.62s	remaining: 41.6s
119:	learn: 0.1963061	test: 0.1947771	best: 0.1947771 (119)	total: 5.63s	remaining: 41.3s
120:	learn: 0.1958234	test: 0.1942958	best: 0.1942958 (120)	total: 5.64s	remaining: 41s
121:	learn: 0.1951076	test: 0.1935861	best: 0.1935861 (121)	total: 5.66s	remaining: 40.8s
122:	learn: 0.1946498	test: 0.1931297	best: 0.1931297 (122)	total: 5.68s	remaining: 40.5s
123:	learn: 0.1940951	test: 0.1925750	best: 0.1925750 (123)	total: 5.73s	remaining: 40.5s
124:	learn: 0.1934573	test: 0.1919240	best: 0.1919240 (124)	total: 5.75s	remaining: 40.2s
125:	learn: 0.1929123	test: 0.1913517	best: 0.1913517 (125)	total: 5.77s	remaining: 40s
126:	learn: 0.1921126	test: 0.1905725	best: 0.1905725 (126)	total: 5.9s	remaining: 40.6s
127:	learn: 0.1913718	test: 0.1898547	best: 0.1898547 (127)	total: 6.01s	remaining: 40.9s
128:	learn: 0.1909844	test: 0.1894689	best: 0.1894689 (128)	total: 6.03s	remaining: 40.7s
129:	learn: 0.1902777	test: 0.1888180	best: 0.1888180 (129)	total: 6.12s	remaining: 41s
130:	learn: 0.1899104	test: 0.1884522	best: 0.1884522 (130)	total: 6.13s	remaining: 40.7s
131:	learn: 0.1893847	test: 0.1879344	best: 0.1879344 (131)	total: 6.16s	remaining: 40.5s
132:	learn: 0.1890350	test: 0.1875866	best: 0.1875866 (132)	total: 6.18s	remaining: 40.3s
133:	learn: 0.1886266	test: 0.1871596	best: 0.1871596 (133)	total: 6.21s	remaining: 40.1s
134:	learn: 0.1881719	test: 0.1866806	best: 0.1866806 (134)	total: 6.25s	remaining: 40s
135:	learn: 0.1876600	test: 0.1861636	best: 0.1861636 (135)	total: 6.27s	remaining: 39.9s
136:	learn: 0.1868521	test: 0.1854969	best: 0.1854969 (136)	total: 6.45s	remaining: 40.6s
137:	learn: 0.1863301	test: 0.1849854	best: 0.1849854 (137)	total: 6.47s	remaining: 40.4s
138:	learn: 0.1860333	test: 0.1846905	best: 0.1846905 (138)	total: 6.49s	remaining: 40.2s
139:	learn: 0.1856583	test: 0.1843019	best: 0.1843019 (139)	total: 6.52s	remaining: 40s
140:	learn: 0.1853004	test: 0.1839221	best: 0.1839221 (140)	total: 6.59s	remaining: 40.2s
141:	learn: 0.1850256	test: 0.1836479	best: 0.1836479 (141)	total: 6.61s	remaining: 39.9s
142:	learn: 0.1845373	test: 0.1831676	best: 0.1831676 (142)	total: 6.64s	remaining: 39.8s
143:	learn: 0.1842766	test: 0.1829075	best: 0.1829075 (143)	total: 6.65s	remaining: 39.5s
144:	learn: 0.1838531	test: 0.1824728	best: 0.1824728 (144)	total: 6.67s	remaining: 39.3s
145:	learn: 0.1834404	test: 0.1820488	best: 0.1820488 (145)	total: 6.69s	remaining: 39.1s
146:	learn: 0.1828402	test: 0.1815168	best: 0.1815168 (146)	total: 6.78s	remaining: 39.4s
147:	learn: 0.1823276	test: 0.1810432	best: 0.1810432 (147)	total: 7.29s	remaining: 41.9s
148:	learn: 0.1821013	test: 0.1808173	best: 0.1808173 (148)	total: 7.3s	remaining: 41.7s
149:	learn: 0.1815476	test: 0.1803074	best: 0.1803074 (149)	total: 7.42s	remaining: 42.1s
150:	learn: 0.1811840	test: 0.1799477	best: 0.1799477 (150)	total: 7.45s	remaining: 41.9s
151:	learn: 0.1809753	test: 0.1797395	best: 0.1797395 (151)	total: 7.46s	remaining: 41.6s
152:	learn: 0.1804570	test: 0.1792506	best: 0.1792506 (152)	total: 7.54s	remaining: 41.7s
153:	learn: 0.1799339	test: 0.1787694	best: 0.1787694 (153)	total: 7.59s	remaining: 41.7s
154:	learn: 0.1794025	test: 0.1782851	best: 0.1782851 (154)	total: 7.67s	remaining: 41.8s
155:	learn: 0.1790514	test: 0.1779248	best: 0.1779248 (155)	total: 7.7s	remaining: 41.7s
156:	learn: 0.1788713	test: 0.1777450	best: 0.1777450 (156)	total: 7.71s	remaining: 41.4s
157:	learn: 0.1784453	test: 0.1773499	best: 0.1773499 (157)	total: 7.77s	remaining: 41.4s
158:	learn: 0.1780523	test: 0.1769844	best: 0.1769844 (158)	total: 7.82s	remaining: 41.4s
159:	learn: 0.1776167	test: 0.1765805	best: 0.1765805 (159)	total: 8s	remaining: 42s
160:	learn: 0.1773659	test: 0.1763311	best: 0.1763311 (160)	total: 8.04s	remaining: 41.9s
161:	learn: 0.1771311	test: 0.1760992	best: 0.1760992 (161)	total: 8.06s	remaining: 41.7s
162:	learn: 0.1768576	test: 0.1758123	best: 0.1758123 (162)	total: 8.1s	remaining: 41.6s
163:	learn: 0.1767067	test: 0.1756660	best: 0.1756660 (163)	total: 8.14s	remaining: 41.5s
164:	learn: 0.1765120	test: 0.1754561	best: 0.1754561 (164)	total: 8.18s	remaining: 41.4s
165:	learn: 0.1760607	test: 0.1750829	best: 0.1750829 (165)	total: 11.2s	remaining: 56s
166:	learn: 0.1756024	test: 0.1746803	best: 0.1746803 (166)	total: 11.2s	remaining: 56.1s
167:	learn: 0.1751849	test: 0.1742979	best: 0.1742979 (167)	total: 11.3s	remaining: 56s
168:	learn: 0.1748519	test: 0.1739769	best: 0.1739769 (168)	total: 11.3s	remaining: 55.7s
169:	learn: 0.1746681	test: 0.1737819	best: 0.1737819 (169)	total: 11.4s	remaining: 55.6s
170:	learn: 0.1744237	test: 0.1735373	best: 0.1735373 (170)	total: 11.4s	remaining: 55.3s
171:	learn: 0.1743048	test: 0.1734186	best: 0.1734186 (171)	total: 11.4s	remaining: 55s
172:	learn: 0.1740292	test: 0.1731351	best: 0.1731351 (172)	total: 11.5s	remaining: 54.7s
173:	learn: 0.1735988	test: 0.1727646	best: 0.1727646 (173)	total: 13.8s	remaining: 1m 5s
174:	learn: 0.1733842	test: 0.1725473	best: 0.1725473 (174)	total: 13.8s	remaining: 1m 5s
175:	learn: 0.1732303	test: 0.1723805	best: 0.1723805 (175)	total: 13.9s	remaining: 1m 4s
176:	learn: 0.1728735	test: 0.1720282	best: 0.1720282 (176)	total: 13.9s	remaining: 1m 4s
177:	learn: 0.1726750	test: 0.1718148	best: 0.1718148 (177)	total: 13.9s	remaining: 1m 4s
178:	learn: 0.1723012	test: 0.1714965	best: 0.1714965 (178)	total: 14.2s	remaining: 1m 5s
179:	learn: 0.1721692	test: 0.1713742	best: 0.1713742 (179)	total: 14.2s	remaining: 1m 4s
180:	learn: 0.1720767	test: 0.1712818	best: 0.1712818 (180)	total: 14.2s	remaining: 1m 4s
181:	learn: 0.1719633	test: 0.1711615	best: 0.1711615 (181)	total: 14.3s	remaining: 1m 4s
182:	learn: 0.1715781	test: 0.1708442	best: 0.1708442 (182)	total: 16.5s	remaining: 1m 13s
183:	learn: 0.1712590	test: 0.1705294	best: 0.1705294 (183)	total: 16.6s	remaining: 1m 13s
184:	learn: 0.1710904	test: 0.1703510	best: 0.1703510 (184)	total: 16.9s	remaining: 1m 14s
185:	learn: 0.1709053	test: 0.1701590	best: 0.1701590 (185)	total: 17s	remaining: 1m 14s
186:	learn: 0.1707890	test: 0.1700298	best: 0.1700298 (186)	total: 17s	remaining: 1m 13s
187:	learn: 0.1706104	test: 0.1698478	best: 0.1698478 (187)	total: 17s	remaining: 1m 13s
188:	learn: 0.1704348	test: 0.1696952	best: 0.1696952 (188)	total: 17.1s	remaining: 1m 13s
189:	learn: 0.1701179	test: 0.1694386	best: 0.1694386 (189)	total: 17.2s	remaining: 1m 13s
190:	learn: 0.1698577	test: 0.1691917	best: 0.1691917 (190)	total: 17.3s	remaining: 1m 13s
191:	learn: 0.1696792	test: 0.1690140	best: 0.1690140 (191)	total: 17.4s	remaining: 1m 13s
192:	learn: 0.1695128	test: 0.1688522	best: 0.1688522 (192)	total: 17.4s	remaining: 1m 12s
193:	learn: 0.1693406	test: 0.1686727	best: 0.1686727 (193)	total: 17.4s	remaining: 1m 12s
194:	learn: 0.1690332	test: 0.1684541	best: 0.1684541 (194)	total: 17.7s	remaining: 1m 13s
195:	learn: 0.1688289	test: 0.1682439	best: 0.1682439 (195)	total: 17.8s	remaining: 1m 12s
196:	learn: 0.1686071	test: 0.1680278	best: 0.1680278 (196)	total: 17.8s	remaining: 1m 12s
197:	learn: 0.1683981	test: 0.1678362	best: 0.1678362 (197)	total: 17.8s	remaining: 1m 12s
198:	learn: 0.1681975	test: 0.1676612	best: 0.1676612 (198)	total: 17.9s	remaining: 1m 12s
199:	learn: 0.1679217	test: 0.1674533	best: 0.1674533 (199)	total: 18.9s	remaining: 1m 15s
200:	learn: 0.1678020	test: 0.1673388	best: 0.1673388 (200)	total: 18.9s	remaining: 1m 15s
201:	learn: 0.1675898	test: 0.1671418	best: 0.1671418 (201)	total: 19s	remaining: 1m 14s
202:	learn: 0.1674262	test: 0.1669997	best: 0.1669997 (202)	total: 19s	remaining: 1m 14s
203:	learn: 0.1673409	test: 0.1669021	best: 0.1669021 (203)	total: 19s	remaining: 1m 14s
204:	learn: 0.1672193	test: 0.1667808	best: 0.1667808 (204)	total: 19.1s	remaining: 1m 13s
205:	learn: 0.1670811	test: 0.1666414	best: 0.1666414 (205)	total: 19.1s	remaining: 1m 13s
206:	learn: 0.1669232	test: 0.1665173	best: 0.1665173 (206)	total: 19.2s	remaining: 1m 13s
207:	learn: 0.1668551	test: 0.1664399	best: 0.1664399 (207)	total: 19.2s	remaining: 1m 13s
208:	learn: 0.1667080	test: 0.1663213	best: 0.1663213 (208)	total: 19.5s	remaining: 1m 13s
209:	learn: 0.1663633	test: 0.1661242	best: 0.1661242 (209)	total: 21.9s	remaining: 1m 22s
210:	learn: 0.1662127	test: 0.1659677	best: 0.1659677 (210)	total: 21.9s	remaining: 1m 21s
211:	learn: 0.1659264	test: 0.1657746	best: 0.1657746 (211)	total: 24.2s	remaining: 1m 29s
212:	learn: 0.1657584	test: 0.1656371	best: 0.1656371 (212)	total: 24.2s	remaining: 1m 29s
213:	learn: 0.1655500	test: 0.1654835	best: 0.1654835 (213)	total: 24.3s	remaining: 1m 29s
214:	learn: 0.1653317	test: 0.1653269	best: 0.1653269 (214)	total: 25.2s	remaining: 1m 32s
215:	learn: 0.1651613	test: 0.1651844	best: 0.1651844 (215)	total: 25.3s	remaining: 1m 31s
216:	learn: 0.1649095	test: 0.1649814	best: 0.1649814 (216)	total: 25.6s	remaining: 1m 32s
217:	learn: 0.1648449	test: 0.1649093	best: 0.1649093 (217)	total: 25.6s	remaining: 1m 31s
218:	learn: 0.1646882	test: 0.1647909	best: 0.1647909 (218)	total: 25.7s	remaining: 1m 31s
219:	learn: 0.1644362	test: 0.1645946	best: 0.1645946 (219)	total: 26s	remaining: 1m 32s
220:	learn: 0.1644071	test: 0.1645656	best: 0.1645656 (220)	total: 26s	remaining: 1m 31s
221:	learn: 0.1642347	test: 0.1645239	best: 0.1645239 (221)	total: 28.6s	remaining: 1m 40s
222:	learn: 0.1641681	test: 0.1644622	best: 0.1644622 (222)	total: 28.6s	remaining: 1m 39s
223:	learn: 0.1639671	test: 0.1643260	best: 0.1643260 (223)	total: 28.7s	remaining: 1m 39s
224:	learn: 0.1637852	test: 0.1641731	best: 0.1641731 (224)	total: 29.7s	remaining: 1m 42s
225:	learn: 0.1637339	test: 0.1641193	best: 0.1641193 (225)	total: 29.8s	remaining: 1m 41s
226:	learn: 0.1637091	test: 0.1640947	best: 0.1640947 (226)	total: 29.8s	remaining: 1m 41s
227:	learn: 0.1636439	test: 0.1640264	best: 0.1640264 (227)	total: 30s	remaining: 1m 41s
228:	learn: 0.1635610	test: 0.1639448	best: 0.1639448 (228)	total: 30.1s	remaining: 1m 41s
229:	learn: 0.1635155	test: 0.1638950	best: 0.1638950 (229)	total: 30.1s	remaining: 1m 40s
230:	learn: 0.1634166	test: 0.1638468	best: 0.1638468 (230)	total: 30.2s	remaining: 1m 40s
231:	learn: 0.1632702	test: 0.1637242	best: 0.1637242 (231)	total: 30.3s	remaining: 1m 40s
232:	learn: 0.1632285	test: 0.1636789	best: 0.1636789 (232)	total: 30.3s	remaining: 1m 39s
233:	learn: 0.1629903	test: 0.1635168	best: 0.1635168 (233)	total: 31.4s	remaining: 1m 42s
234:	learn: 0.1628473	test: 0.1633778	best: 0.1633778 (234)	total: 31.5s	remaining: 1m 42s
235:	learn: 0.1627553	test: 0.1632963	best: 0.1632963 (235)	total: 31.6s	remaining: 1m 42s
236:	learn: 0.1626589	test: 0.1632106	best: 0.1632106 (236)	total: 31.7s	remaining: 1m 42s
237:	learn: 0.1626404	test: 0.1631925	best: 0.1631925 (237)	total: 31.7s	remaining: 1m 41s
238:	learn: 0.1625527	test: 0.1631240	best: 0.1631240 (238)	total: 31.8s	remaining: 1m 41s
239:	learn: 0.1622615	test: 0.1629216	best: 0.1629216 (239)	total: 34.7s	remaining: 1m 49s
240:	learn: 0.1620341	test: 0.1627251	best: 0.1627251 (240)	total: 35.2s	remaining: 1m 50s
241:	learn: 0.1619072	test: 0.1626201	best: 0.1626201 (241)	total: 35.2s	remaining: 1m 50s
242:	learn: 0.1618329	test: 0.1625595	best: 0.1625595 (242)	total: 35.3s	remaining: 1m 49s
243:	learn: 0.1617111	test: 0.1624639	best: 0.1624639 (243)	total: 35.3s	remaining: 1m 49s
244:	learn: 0.1615358	test: 0.1623282	best: 0.1623282 (244)	total: 36.2s	remaining: 1m 51s
245:	learn: 0.1614165	test: 0.1622555	best: 0.1622555 (245)	total: 36.4s	remaining: 1m 51s
246:	learn: 0.1613404	test: 0.1621880	best: 0.1621880 (246)	total: 36.4s	remaining: 1m 50s
247:	learn: 0.1612801	test: 0.1621224	best: 0.1621224 (247)	total: 36.5s	remaining: 1m 50s
248:	learn: 0.1611967	test: 0.1620676	best: 0.1620676 (248)	total: 36.6s	remaining: 1m 50s
249:	learn: 0.1610379	test: 0.1619325	best: 0.1619325 (249)	total: 36.7s	remaining: 1m 50s
250:	learn: 0.1608425	test: 0.1618319	best: 0.1618319 (250)	total: 38.9s	remaining: 1m 56s
251:	learn: 0.1604575	test: 0.1616962	best: 0.1616962 (251)	total: 41.1s	remaining: 2m 2s
252:	learn: 0.1603754	test: 0.1616248	best: 0.1616248 (252)	total: 41.2s	remaining: 2m 1s
253:	learn: 0.1603615	test: 0.1616138	best: 0.1616138 (253)	total: 41.3s	remaining: 2m 1s
254:	learn: 0.1601903	test: 0.1615360	best: 0.1615360 (254)	total: 41.6s	remaining: 2m 1s
255:	learn: 0.1599768	test: 0.1614231	best: 0.1614231 (255)	total: 42.1s	remaining: 2m 2s
256:	learn: 0.1599207	test: 0.1613663	best: 0.1613663 (256)	total: 42.1s	remaining: 2m 1s
257:	learn: 0.1598066	test: 0.1613086	best: 0.1613086 (257)	total: 42.2s	remaining: 2m 1s
258:	learn: 0.1596639	test: 0.1612573	best: 0.1612573 (258)	total: 42.8s	remaining: 2m 2s
259:	learn: 0.1595486	test: 0.1612010	best: 0.1612010 (259)	total: 42.9s	remaining: 2m 1s
260:	learn: 0.1595066	test: 0.1611749	best: 0.1611749 (260)	total: 42.9s	remaining: 2m 1s
261:	learn: 0.1594186	test: 0.1610935	best: 0.1610935 (261)	total: 43s	remaining: 2m 1s
262:	learn: 0.1593159	test: 0.1610109	best: 0.1610109 (262)	total: 43s	remaining: 2m
263:	learn: 0.1591811	test: 0.1609571	best: 0.1609571 (263)	total: 46.3s	remaining: 2m 9s
264:	learn: 0.1591594	test: 0.1609408	best: 0.1609408 (264)	total: 46.3s	remaining: 2m 8s
265:	learn: 0.1591047	test: 0.1608960	best: 0.1608960 (265)	total: 46.4s	remaining: 2m 7s
266:	learn: 0.1589968	test: 0.1608101	best: 0.1608101 (266)	total: 46.4s	remaining: 2m 7s
267:	learn: 0.1589725	test: 0.1607763	best: 0.1607763 (267)	total: 46.4s	remaining: 2m 6s
268:	learn: 0.1588233	test: 0.1607202	best: 0.1607202 (268)	total: 49.1s	remaining: 2m 13s
269:	learn: 0.1587087	test: 0.1606453	best: 0.1606453 (269)	total: 49.3s	remaining: 2m 13s
270:	learn: 0.1586659	test: 0.1606037	best: 0.1606037 (270)	total: 49.3s	remaining: 2m 12s
271:	learn: 0.1585975	test: 0.1605581	best: 0.1605581 (271)	total: 49.4s	remaining: 2m 12s
272:	learn: 0.1582929	test: 0.1604423	best: 0.1604423 (272)	total: 51.7s	remaining: 2m 17s
273:	learn: 0.1582553	test: 0.1604080	best: 0.1604080 (273)	total: 51.7s	remaining: 2m 16s
274:	learn: 0.1580914	test: 0.1603110	best: 0.1603110 (274)	total: 52.2s	remaining: 2m 17s
275:	learn: 0.1579560	test: 0.1602505	best: 0.1602505 (275)	total: 52.6s	remaining: 2m 18s
276:	learn: 0.1576777	test: 0.1601206	best: 0.1601206 (276)	total: 55.3s	remaining: 2m 24s
277:	learn: 0.1576463	test: 0.1600953	best: 0.1600953 (277)	total: 55.3s	remaining: 2m 23s
278:	learn: 0.1575568	test: 0.1600105	best: 0.1600105 (278)	total: 55.5s	remaining: 2m 23s
279:	learn: 0.1575522	test: 0.1600063	best: 0.1600063 (279)	total: 55.5s	remaining: 2m 22s
280:	learn: 0.1574822	test: 0.1599371	best: 0.1599371 (280)	total: 55.5s	remaining: 2m 22s
281:	learn: 0.1574281	test: 0.1598972	best: 0.1598972 (281)	total: 55.6s	remaining: 2m 21s
282:	learn: 0.1572938	test: 0.1598103	best: 0.1598103 (282)	total: 55.8s	remaining: 2m 21s
283:	learn: 0.1572765	test: 0.1598130	best: 0.1598103 (282)	total: 55.8s	remaining: 2m 20s
284:	learn: 0.1572323	test: 0.1597714	best: 0.1597714 (284)	total: 55.8s	remaining: 2m 20s
285:	learn: 0.1572162	test: 0.1597561	best: 0.1597561 (285)	total: 55.9s	remaining: 2m 19s
286:	learn: 0.1571401	test: 0.1597218	best: 0.1597218 (286)	total: 56s	remaining: 2m 19s
287:	learn: 0.1569386	test: 0.1596601	best: 0.1596601 (287)	total: 58.5s	remaining: 2m 24s
288:	learn: 0.1569215	test: 0.1596375	best: 0.1596375 (288)	total: 58.5s	remaining: 2m 23s
289:	learn: 0.1567019	test: 0.1595704	best: 0.1595704 (289)	total: 1m 1s	remaining: 2m 29s
290:	learn: 0.1566614	test: 0.1595418	best: 0.1595418 (290)	total: 1m 1s	remaining: 2m 29s
291:	learn: 0.1565514	test: 0.1594691	best: 0.1594691 (291)	total: 1m 1s	remaining: 2m 28s
292:	learn: 0.1563230	test: 0.1593405	best: 0.1593405 (292)	total: 1m 3s	remaining: 2m 33s
293:	learn: 0.1562420	test: 0.1592782	best: 0.1592782 (293)	total: 1m 3s	remaining: 2m 32s
294:	learn: 0.1561510	test: 0.1592542	best: 0.1592542 (294)	total: 1m 6s	remaining: 2m 38s
295:	learn: 0.1560898	test: 0.1592109	best: 0.1592109 (295)	total: 1m 6s	remaining: 2m 37s
296:	learn: 0.1559892	test: 0.1591819	best: 0.1591819 (296)	total: 1m 6s	remaining: 2m 38s
297:	learn: 0.1558842	test: 0.1591373	best: 0.1591373 (297)	total: 1m 8s	remaining: 2m 40s
298:	learn: 0.1558665	test: 0.1591168	best: 0.1591168 (298)	total: 1m 8s	remaining: 2m 40s
299:	learn: 0.1558212	test: 0.1590840	best: 0.1590840 (299)	total: 1m 8s	remaining: 2m 39s
300:	learn: 0.1557972	test: 0.1590618	best: 0.1590618 (300)	total: 1m 8s	remaining: 2m 38s
301:	learn: 0.1556656	test: 0.1589925	best: 0.1589925 (301)	total: 1m 8s	remaining: 2m 39s
302:	learn: 0.1556000	test: 0.1589588	best: 0.1589588 (302)	total: 1m 9s	remaining: 2m 39s
303:	learn: 0.1555570	test: 0.1589329	best: 0.1589329 (303)	total: 1m 9s	remaining: 2m 38s
304:	learn: 0.1554789	test: 0.1588622	best: 0.1588622 (304)	total: 1m 9s	remaining: 2m 38s
305:	learn: 0.1553394	test: 0.1587125	best: 0.1587125 (305)	total: 1m 9s	remaining: 2m 37s
306:	learn: 0.1552389	test: 0.1586757	best: 0.1586757 (306)	total: 1m 9s	remaining: 2m 37s
307:	learn: 0.1551826	test: 0.1586456	best: 0.1586456 (307)	total: 1m 9s	remaining: 2m 36s
308:	learn: 0.1551019	test: 0.1586035	best: 0.1586035 (308)	total: 1m 9s	remaining: 2m 36s
309:	learn: 0.1551003	test: 0.1586023	best: 0.1586023 (309)	total: 1m 9s	remaining: 2m 35s
310:	learn: 0.1549642	test: 0.1584510	best: 0.1584510 (310)	total: 1m 9s	remaining: 2m 34s
311:	learn: 0.1549236	test: 0.1584266	best: 0.1584266 (311)	total: 1m 10s	remaining: 2m 34s
312:	learn: 0.1548789	test: 0.1583832	best: 0.1583832 (312)	total: 1m 10s	remaining: 2m 33s
313:	learn: 0.1548467	test: 0.1583578	best: 0.1583578 (313)	total: 1m 10s	remaining: 2m 33s
314:	learn: 0.1547750	test: 0.1583520	best: 0.1583520 (314)	total: 1m 12s	remaining: 2m 38s
315:	learn: 0.1545874	test: 0.1583343	best: 0.1583343 (315)	total: 1m 15s	remaining: 2m 42s
316:	learn: 0.1544710	test: 0.1583363	best: 0.1583343 (315)	total: 1m 18s	remaining: 2m 48s
317:	learn: 0.1544327	test: 0.1583307	best: 0.1583307 (317)	total: 1m 18s	remaining: 2m 48s
318:	learn: 0.1543084	test: 0.1582828	best: 0.1582828 (318)	total: 1m 20s	remaining: 2m 52s
319:	learn: 0.1542111	test: 0.1582433	best: 0.1582433 (319)	total: 1m 23s	remaining: 2m 57s
320:	learn: 0.1540912	test: 0.1581979	best: 0.1581979 (320)	total: 1m 26s	remaining: 3m 2s
321:	learn: 0.1540278	test: 0.1581546	best: 0.1581546 (321)	total: 1m 26s	remaining: 3m 1s
322:	learn: 0.1539465	test: 0.1581432	best: 0.1581432 (322)	total: 1m 28s	remaining: 3m 6s
323:	learn: 0.1538104	test: 0.1579940	best: 0.1579940 (323)	total: 1m 29s	remaining: 3m 5s
324:	learn: 0.1537294	test: 0.1579698	best: 0.1579698 (324)	total: 1m 31s	remaining: 3m 9s
325:	learn: 0.1536938	test: 0.1579608	best: 0.1579608 (325)	total: 1m 31s	remaining: 3m 8s
326:	learn: 0.1536525	test: 0.1579265	best: 0.1579265 (326)	total: 1m 31s	remaining: 3m 8s
327:	learn: 0.1535322	test: 0.1578642	best: 0.1578642 (327)	total: 1m 34s	remaining: 3m 13s
328:	learn: 0.1534764	test: 0.1578527	best: 0.1578527 (328)	total: 1m 34s	remaining: 3m 12s
329:	learn: 0.1533771	test: 0.1578374	best: 0.1578374 (329)	total: 1m 34s	remaining: 3m 12s
330:	learn: 0.1533640	test: 0.1578247	best: 0.1578247 (330)	total: 1m 34s	remaining: 3m 11s
331:	learn: 0.1533533	test: 0.1578106	best: 0.1578106 (331)	total: 1m 34s	remaining: 3m 10s
332:	learn: 0.1533180	test: 0.1577814	best: 0.1577814 (332)	total: 1m 34s	remaining: 3m 10s
333:	learn: 0.1531973	test: 0.1577665	best: 0.1577665 (333)	total: 1m 35s	remaining: 3m 9s
334:	learn: 0.1530946	test: 0.1577262	best: 0.1577262 (334)	total: 1m 37s	remaining: 3m 13s
335:	learn: 0.1530610	test: 0.1577122	best: 0.1577122 (335)	total: 1m 37s	remaining: 3m 13s
336:	learn: 0.1529361	test: 0.1575782	best: 0.1575782 (336)	total: 1m 37s	remaining: 3m 12s
337:	learn: 0.1527758	test: 0.1574457	best: 0.1574457 (337)	total: 1m 40s	remaining: 3m 17s
338:	learn: 0.1525647	test: 0.1573943	best: 0.1573943 (338)	total: 1m 43s	remaining: 3m 21s
339:	learn: 0.1525191	test: 0.1573671	best: 0.1573671 (339)	total: 1m 43s	remaining: 3m 20s
340:	learn: 0.1524543	test: 0.1573340	best: 0.1573340 (340)	total: 1m 43s	remaining: 3m 19s
341:	learn: 0.1522831	test: 0.1573329	best: 0.1573329 (341)	total: 1m 45s	remaining: 3m 23s
342:	learn: 0.1521680	test: 0.1572891	best: 0.1572891 (342)	total: 1m 48s	remaining: 3m 27s
343:	learn: 0.1519934	test: 0.1572548	best: 0.1572548 (343)	total: 1m 51s	remaining: 3m 32s
344:	learn: 0.1519584	test: 0.1572316	best: 0.1572316 (344)	total: 1m 51s	remaining: 3m 31s
345:	learn: 0.1518025	test: 0.1571539	best: 0.1571539 (345)	total: 1m 51s	remaining: 3m 30s
346:	learn: 0.1517803	test: 0.1571365	best: 0.1571365 (346)	total: 1m 51s	remaining: 3m 29s
347:	learn: 0.1516687	test: 0.1570820	best: 0.1570820 (347)	total: 1m 53s	remaining: 3m 33s
348:	learn: 0.1515803	test: 0.1570817	best: 0.1570817 (348)	total: 1m 56s	remaining: 3m 37s
349:	learn: 0.1514852	test: 0.1570467	best: 0.1570467 (349)	total: 1m 57s	remaining: 3m 38s
350:	learn: 0.1512417	test: 0.1570691	best: 0.1570467 (349)	total: 2m	remaining: 3m 43s
351:	learn: 0.1511611	test: 0.1570791	best: 0.1570467 (349)	total: 2m 3s	remaining: 3m 46s
352:	learn: 0.1510876	test: 0.1570819	best: 0.1570467 (349)	total: 2m 3s	remaining: 3m 46s
353:	learn: 0.1510345	test: 0.1570853	best: 0.1570467 (349)	total: 2m 6s	remaining: 3m 51s
354:	learn: 0.1509641	test: 0.1570958	best: 0.1570467 (349)	total: 2m 7s	remaining: 3m 51s
355:	learn: 0.1508982	test: 0.1571170	best: 0.1570467 (349)	total: 2m 7s	remaining: 3m 50s
356:	learn: 0.1508891	test: 0.1571132	best: 0.1570467 (349)	total: 2m 7s	remaining: 3m 49s
357:	learn: 0.1507813	test: 0.1570751	best: 0.1570467 (349)	total: 2m 9s	remaining: 3m 52s
358:	learn: 0.1506818	test: 0.1570686	best: 0.1570467 (349)	total: 2m 9s	remaining: 3m 52s
359:	learn: 0.1506778	test: 0.1570678	best: 0.1570467 (349)	total: 2m 10s	remaining: 3m 51s
360:	learn: 0.1506303	test: 0.1570409	best: 0.1570409 (360)	total: 2m 10s	remaining: 3m 50s
361:	learn: 0.1504511	test: 0.1569495	best: 0.1569495 (361)	total: 2m 13s	remaining: 3m 54s
362:	learn: 0.1503703	test: 0.1569483	best: 0.1569483 (362)	total: 2m 13s	remaining: 3m 54s
363:	learn: 0.1502081	test: 0.1569821	best: 0.1569483 (362)	total: 2m 16s	remaining: 3m 57s
364:	learn: 0.1501353	test: 0.1569372	best: 0.1569372 (364)	total: 2m 16s	remaining: 3m 57s
365:	learn: 0.1501030	test: 0.1569085	best: 0.1569085 (365)	total: 2m 16s	remaining: 3m 56s
366:	learn: 0.1500015	test: 0.1567988	best: 0.1567988 (366)	total: 2m 16s	remaining: 3m 55s
367:	learn: 0.1499747	test: 0.1567891	best: 0.1567891 (367)	total: 2m 16s	remaining: 3m 54s
368:	learn: 0.1498791	test: 0.1567929	best: 0.1567891 (367)	total: 2m 17s	remaining: 3m 55s
369:	learn: 0.1497288	test: 0.1567891	best: 0.1567891 (367)	total: 2m 19s	remaining: 3m 58s
370:	learn: 0.1496964	test: 0.1567860	best: 0.1567860 (370)	total: 2m 20s	remaining: 3m 57s
371:	learn: 0.1496078	test: 0.1567090	best: 0.1567090 (371)	total: 2m 20s	remaining: 3m 56s
372:	learn: 0.1495964	test: 0.1566995	best: 0.1566995 (372)	total: 2m 20s	remaining: 3m 55s
373:	learn: 0.1494394	test: 0.1566299	best: 0.1566299 (373)	total: 2m 20s	remaining: 3m 55s
374:	learn: 0.1492875	test: 0.1565871	best: 0.1565871 (374)	total: 2m 23s	remaining: 3m 58s
375:	learn: 0.1492261	test: 0.1565407	best: 0.1565407 (375)	total: 2m 23s	remaining: 3m 57s
376:	learn: 0.1491524	test: 0.1564909	best: 0.1564909 (376)	total: 2m 23s	remaining: 3m 56s
377:	learn: 0.1491492	test: 0.1564861	best: 0.1564861 (377)	total: 2m 23s	remaining: 3m 55s
378:	learn: 0.1490709	test: 0.1564551	best: 0.1564551 (378)	total: 2m 25s	remaining: 3m 58s
379:	learn: 0.1489777	test: 0.1564475	best: 0.1564475 (379)	total: 2m 28s	remaining: 4m 1s
380:	learn: 0.1489576	test: 0.1564319	best: 0.1564319 (380)	total: 2m 28s	remaining: 4m
381:	learn: 0.1489073	test: 0.1564208	best: 0.1564208 (381)	total: 2m 28s	remaining: 3m 59s
382:	learn: 0.1488888	test: 0.1564081	best: 0.1564081 (382)	total: 2m 28s	remaining: 3m 58s
383:	learn: 0.1488838	test: 0.1564037	best: 0.1564037 (383)	total: 2m 28s	remaining: 3m 57s
384:	learn: 0.1488657	test: 0.1563976	best: 0.1563976 (384)	total: 2m 28s	remaining: 3m 57s
385:	learn: 0.1488433	test: 0.1563842	best: 0.1563842 (385)	total: 2m 28s	remaining: 3m 56s
386:	learn: 0.1488258	test: 0.1563745	best: 0.1563745 (386)	total: 2m 28s	remaining: 3m 55s
387:	learn: 0.1488055	test: 0.1563606	best: 0.1563606 (387)	total: 2m 28s	remaining: 3m 54s
388:	learn: 0.1487688	test: 0.1563542	best: 0.1563542 (388)	total: 2m 28s	remaining: 3m 53s
389:	learn: 0.1487546	test: 0.1563450	best: 0.1563450 (389)	total: 2m 28s	remaining: 3m 52s
390:	learn: 0.1487515	test: 0.1563402	best: 0.1563402 (390)	total: 2m 28s	remaining: 3m 52s
391:	learn: 0.1486955	test: 0.1563261	best: 0.1563261 (391)	total: 2m 31s	remaining: 3m 54s
392:	learn: 0.1486280	test: 0.1563132	best: 0.1563132 (392)	total: 2m 32s	remaining: 3m 55s
393:	learn: 0.1486019	test: 0.1563144	best: 0.1563132 (392)	total: 2m 32s	remaining: 3m 54s
394:	learn: 0.1485742	test: 0.1563094	best: 0.1563094 (394)	total: 2m 32s	remaining: 3m 54s
395:	learn: 0.1484876	test: 0.1562859	best: 0.1562859 (395)	total: 2m 35s	remaining: 3m 57s
396:	learn: 0.1484043	test: 0.1563149	best: 0.1562859 (395)	total: 2m 35s	remaining: 3m 56s
397:	learn: 0.1483012	test: 0.1563021	best: 0.1562859 (395)	total: 2m 38s	remaining: 3m 59s
398:	learn: 0.1482507	test: 0.1562924	best: 0.1562859 (395)	total: 2m 39s	remaining: 4m
399:	learn: 0.1482486	test: 0.1562917	best: 0.1562859 (395)	total: 2m 39s	remaining: 3m 59s
400:	learn: 0.1482144	test: 0.1562942	best: 0.1562859 (395)	total: 2m 40s	remaining: 3m 59s
401:	learn: 0.1482002	test: 0.1562887	best: 0.1562859 (395)	total: 2m 40s	remaining: 3m 58s
402:	learn: 0.1481102	test: 0.1562477	best: 0.1562477 (402)	total: 2m 40s	remaining: 3m 57s
403:	learn: 0.1480831	test: 0.1562356	best: 0.1562356 (403)	total: 2m 40s	remaining: 3m 56s
404:	learn: 0.1479662	test: 0.1562030	best: 0.1562030 (404)	total: 2m 42s	remaining: 3m 58s
405:	learn: 0.1478497	test: 0.1562027	best: 0.1562027 (405)	total: 2m 43s	remaining: 3m 58s
406:	learn: 0.1478349	test: 0.1561945	best: 0.1561945 (406)	total: 2m 43s	remaining: 3m 57s
407:	learn: 0.1478226	test: 0.1561845	best: 0.1561845 (407)	total: 2m 43s	remaining: 3m 56s
408:	learn: 0.1477238	test: 0.1561862	best: 0.1561845 (407)	total: 2m 45s	remaining: 3m 59s
409:	learn: 0.1475943	test: 0.1561823	best: 0.1561823 (409)	total: 2m 48s	remaining: 4m 1s
410:	learn: 0.1475777	test: 0.1561676	best: 0.1561676 (410)	total: 2m 48s	remaining: 4m
411:	learn: 0.1475678	test: 0.1561609	best: 0.1561609 (411)	total: 2m 48s	remaining: 4m
412:	learn: 0.1475218	test: 0.1561406	best: 0.1561406 (412)	total: 2m 48s	remaining: 3m 59s
413:	learn: 0.1473325	test: 0.1560876	best: 0.1560876 (413)	total: 2m 50s	remaining: 4m 1s
414:	learn: 0.1471035	test: 0.1560452	best: 0.1560452 (414)	total: 2m 53s	remaining: 4m 4s
415:	learn: 0.1470040	test: 0.1559865	best: 0.1559865 (415)	total: 2m 53s	remaining: 4m 4s
416:	learn: 0.1468173	test: 0.1559287	best: 0.1559287 (416)	total: 2m 56s	remaining: 4m 6s
417:	learn: 0.1465834	test: 0.1559588	best: 0.1559287 (416)	total: 2m 59s	remaining: 4m 9s
418:	learn: 0.1465784	test: 0.1559475	best: 0.1559287 (416)	total: 2m 59s	remaining: 4m 8s
419:	learn: 0.1465676	test: 0.1559348	best: 0.1559287 (416)	total: 2m 59s	remaining: 4m 7s
420:	learn: 0.1465308	test: 0.1559282	best: 0.1559282 (420)	total: 3m 1s	remaining: 4m 9s
421:	learn: 0.1464712	test: 0.1559319	best: 0.1559282 (420)	total: 3m 4s	remaining: 4m 12s
422:	learn: 0.1463821	test: 0.1558501	best: 0.1558501 (422)	total: 3m 4s	remaining: 4m 12s
423:	learn: 0.1462469	test: 0.1558297	best: 0.1558297 (423)	total: 3m 7s	remaining: 4m 14s
424:	learn: 0.1461919	test: 0.1558147	best: 0.1558147 (424)	total: 3m 7s	remaining: 4m 14s
425:	learn: 0.1461733	test: 0.1558319	best: 0.1558147 (424)	total: 3m 7s	remaining: 4m 13s
426:	learn: 0.1460661	test: 0.1558441	best: 0.1558147 (424)	total: 3m 10s	remaining: 4m 15s
427:	learn: 0.1460269	test: 0.1558186	best: 0.1558147 (424)	total: 3m 10s	remaining: 4m 14s
428:	learn: 0.1458889	test: 0.1557858	best: 0.1557858 (428)	total: 3m 13s	remaining: 4m 17s
429:	learn: 0.1458576	test: 0.1557779	best: 0.1557779 (429)	total: 3m 13s	remaining: 4m 16s
430:	learn: 0.1458286	test: 0.1557627	best: 0.1557627 (430)	total: 3m 13s	remaining: 4m 15s
431:	learn: 0.1458241	test: 0.1557567	best: 0.1557567 (431)	total: 3m 13s	remaining: 4m 14s
432:	learn: 0.1458109	test: 0.1557443	best: 0.1557443 (432)	total: 3m 13s	remaining: 4m 13s
433:	learn: 0.1457909	test: 0.1557340	best: 0.1557340 (433)	total: 3m 13s	remaining: 4m 12s
434:	learn: 0.1457815	test: 0.1557319	best: 0.1557319 (434)	total: 3m 13s	remaining: 4m 11s
435:	learn: 0.1456399	test: 0.1557474	best: 0.1557319 (434)	total: 3m 14s	remaining: 4m 12s
436:	learn: 0.1456234	test: 0.1557328	best: 0.1557319 (434)	total: 3m 14s	remaining: 4m 11s
437:	learn: 0.1456106	test: 0.1557285	best: 0.1557285 (437)	total: 3m 14s	remaining: 4m 10s
438:	learn: 0.1455600	test: 0.1557032	best: 0.1557032 (438)	total: 3m 15s	remaining: 4m 9s
439:	learn: 0.1455217	test: 0.1557037	best: 0.1557032 (438)	total: 3m 15s	remaining: 4m 8s
440:	learn: 0.1455188	test: 0.1556999	best: 0.1556999 (440)	total: 3m 15s	remaining: 4m 7s
441:	learn: 0.1454998	test: 0.1557093	best: 0.1556999 (440)	total: 3m 15s	remaining: 4m 6s
442:	learn: 0.1454900	test: 0.1557033	best: 0.1556999 (440)	total: 3m 15s	remaining: 4m 5s
443:	learn: 0.1454752	test: 0.1556944	best: 0.1556944 (443)	total: 3m 15s	remaining: 4m 5s
444:	learn: 0.1454628	test: 0.1556880	best: 0.1556880 (444)	total: 3m 15s	remaining: 4m 4s
445:	learn: 0.1454527	test: 0.1556803	best: 0.1556803 (445)	total: 3m 15s	remaining: 4m 3s
446:	learn: 0.1453205	test: 0.1556267	best: 0.1556267 (446)	total: 3m 16s	remaining: 4m 2s
447:	learn: 0.1453106	test: 0.1556173	best: 0.1556173 (447)	total: 3m 16s	remaining: 4m 1s
448:	learn: 0.1452881	test: 0.1556165	best: 0.1556165 (448)	total: 3m 16s	remaining: 4m
449:	learn: 0.1452835	test: 0.1556063	best: 0.1556063 (449)	total: 3m 16s	remaining: 4m
450:	learn: 0.1450950	test: 0.1555652	best: 0.1555652 (450)	total: 3m 18s	remaining: 4m 1s
451:	learn: 0.1450761	test: 0.1555637	best: 0.1555637 (451)	total: 3m 18s	remaining: 4m
452:	learn: 0.1449325	test: 0.1555692	best: 0.1555637 (451)	total: 3m 22s	remaining: 4m 4s
453:	learn: 0.1449029	test: 0.1555586	best: 0.1555586 (453)	total: 3m 23s	remaining: 4m 4s
454:	learn: 0.1447351	test: 0.1555565	best: 0.1555565 (454)	total: 3m 26s	remaining: 4m 7s
455:	learn: 0.1446980	test: 0.1555395	best: 0.1555395 (455)	total: 3m 26s	remaining: 4m 6s
456:	learn: 0.1445800	test: 0.1555697	best: 0.1555395 (455)	total: 3m 29s	remaining: 4m 9s
457:	learn: 0.1445303	test: 0.1555645	best: 0.1555395 (455)	total: 3m 32s	remaining: 4m 11s
458:	learn: 0.1444077	test: 0.1555367	best: 0.1555367 (458)	total: 3m 35s	remaining: 4m 13s
459:	learn: 0.1443389	test: 0.1554962	best: 0.1554962 (459)	total: 3m 38s	remaining: 4m 16s
460:	learn: 0.1443211	test: 0.1554929	best: 0.1554929 (460)	total: 3m 38s	remaining: 4m 15s
461:	learn: 0.1442562	test: 0.1555139	best: 0.1554929 (460)	total: 3m 38s	remaining: 4m 14s
462:	learn: 0.1442487	test: 0.1555094	best: 0.1554929 (460)	total: 3m 38s	remaining: 4m 13s
463:	learn: 0.1442378	test: 0.1555072	best: 0.1554929 (460)	total: 3m 38s	remaining: 4m 12s
464:	learn: 0.1441893	test: 0.1554908	best: 0.1554908 (464)	total: 3m 38s	remaining: 4m 11s
465:	learn: 0.1441427	test: 0.1554892	best: 0.1554892 (465)	total: 3m 39s	remaining: 4m 11s
466:	learn: 0.1440638	test: 0.1554075	best: 0.1554075 (466)	total: 3m 39s	remaining: 4m 10s
467:	learn: 0.1440460	test: 0.1554163	best: 0.1554075 (466)	total: 3m 39s	remaining: 4m 9s
468:	learn: 0.1440191	test: 0.1554090	best: 0.1554075 (466)	total: 3m 39s	remaining: 4m 8s
469:	learn: 0.1440050	test: 0.1554099	best: 0.1554075 (466)	total: 3m 39s	remaining: 4m 7s
470:	learn: 0.1439925	test: 0.1553996	best: 0.1553996 (470)	total: 3m 39s	remaining: 4m 6s
471:	learn: 0.1439110	test: 0.1554087	best: 0.1553996 (470)	total: 3m 42s	remaining: 4m 9s
472:	learn: 0.1439042	test: 0.1554034	best: 0.1553996 (470)	total: 3m 42s	remaining: 4m 8s
473:	learn: 0.1438054	test: 0.1553727	best: 0.1553727 (473)	total: 3m 45s	remaining: 4m 10s
474:	learn: 0.1437314	test: 0.1553519	best: 0.1553519 (474)	total: 3m 48s	remaining: 4m 12s
475:	learn: 0.1436494	test: 0.1553452	best: 0.1553452 (475)	total: 3m 51s	remaining: 4m 14s
476:	learn: 0.1435569	test: 0.1553332	best: 0.1553332 (476)	total: 3m 53s	remaining: 4m 16s
477:	learn: 0.1435555	test: 0.1553305	best: 0.1553305 (477)	total: 3m 53s	remaining: 4m 15s
478:	learn: 0.1434594	test: 0.1553446	best: 0.1553305 (477)	total: 3m 56s	remaining: 4m 17s
479:	learn: 0.1434097	test: 0.1553334	best: 0.1553305 (477)	total: 3m 56s	remaining: 4m 16s
480:	learn: 0.1433318	test: 0.1553214	best: 0.1553214 (480)	total: 4m	remaining: 4m 19s
481:	learn: 0.1433256	test: 0.1553159	best: 0.1553159 (481)	total: 4m	remaining: 4m 18s
482:	learn: 0.1432409	test: 0.1553322	best: 0.1553159 (481)	total: 4m	remaining: 4m 17s
483:	learn: 0.1432302	test: 0.1553212	best: 0.1553159 (481)	total: 4m	remaining: 4m 16s
484:	learn: 0.1432156	test: 0.1553134	best: 0.1553134 (484)	total: 4m	remaining: 4m 15s
485:	learn: 0.1432030	test: 0.1553154	best: 0.1553134 (484)	total: 4m	remaining: 4m 14s
486:	learn: 0.1430625	test: 0.1553191	best: 0.1553134 (484)	total: 4m 3s	remaining: 4m 16s
487:	learn: 0.1430392	test: 0.1553157	best: 0.1553134 (484)	total: 4m 3s	remaining: 4m 15s
488:	learn: 0.1429948	test: 0.1553114	best: 0.1553114 (488)	total: 4m 3s	remaining: 4m 14s
489:	learn: 0.1428045	test: 0.1553011	best: 0.1553011 (489)	total: 4m 6s	remaining: 4m 16s
490:	learn: 0.1427703	test: 0.1553023	best: 0.1553011 (489)	total: 4m 6s	remaining: 4m 15s
491:	learn: 0.1427277	test: 0.1552983	best: 0.1552983 (491)	total: 4m 6s	remaining: 4m 14s
492:	learn: 0.1427188	test: 0.1553065	best: 0.1552983 (491)	total: 4m 6s	remaining: 4m 13s
493:	learn: 0.1426752	test: 0.1552728	best: 0.1552728 (493)	total: 4m 9s	remaining: 4m 15s
494:	learn: 0.1426055	test: 0.1551965	best: 0.1551965 (494)	total: 4m 9s	remaining: 4m 14s
495:	learn: 0.1425866	test: 0.1552028	best: 0.1551965 (494)	total: 4m 9s	remaining: 4m 13s
496:	learn: 0.1425379	test: 0.1551883	best: 0.1551883 (496)	total: 4m 10s	remaining: 4m 13s
497:	learn: 0.1424930	test: 0.1551821	best: 0.1551821 (497)	total: 4m 11s	remaining: 4m 13s
498:	learn: 0.1424733	test: 0.1551834	best: 0.1551821 (497)	total: 4m 11s	remaining: 4m 12s
499:	learn: 0.1424691	test: 0.1551786	best: 0.1551786 (499)	total: 4m 11s	remaining: 4m 11s
500:	learn: 0.1424670	test: 0.1551740	best: 0.1551740 (500)	total: 4m 11s	remaining: 4m 10s
501:	learn: 0.1424212	test: 0.1551611	best: 0.1551611 (501)	total: 4m 13s	remaining: 4m 11s
502:	learn: 0.1424147	test: 0.1551563	best: 0.1551563 (502)	total: 4m 13s	remaining: 4m 10s
503:	learn: 0.1423556	test: 0.1551319	best: 0.1551319 (503)	total: 4m 15s	remaining: 4m 11s
504:	learn: 0.1423023	test: 0.1551229	best: 0.1551229 (504)	total: 4m 16s	remaining: 4m 11s
505:	learn: 0.1422670	test: 0.1551104	best: 0.1551104 (505)	total: 4m 16s	remaining: 4m 10s
506:	learn: 0.1422629	test: 0.1551075	best: 0.1551075 (506)	total: 4m 16s	remaining: 4m 9s
507:	learn: 0.1422337	test: 0.1551127	best: 0.1551075 (506)	total: 4m 18s	remaining: 4m 10s
508:	learn: 0.1422198	test: 0.1551063	best: 0.1551063 (508)	total: 4m 19s	remaining: 4m 9s
509:	learn: 0.1421960	test: 0.1550987	best: 0.1550987 (509)	total: 4m 19s	remaining: 4m 8s
510:	learn: 0.1421415	test: 0.1551384	best: 0.1550987 (509)	total: 4m 19s	remaining: 4m 8s
511:	learn: 0.1421187	test: 0.1551474	best: 0.1550987 (509)	total: 4m 20s	remaining: 4m 8s
512:	learn: 0.1421003	test: 0.1551505	best: 0.1550987 (509)	total: 4m 20s	remaining: 4m 7s
513:	learn: 0.1420984	test: 0.1551486	best: 0.1550987 (509)	total: 4m 20s	remaining: 4m 6s
514:	learn: 0.1420347	test: 0.1551289	best: 0.1550987 (509)	total: 4m 20s	remaining: 4m 5s
515:	learn: 0.1419829	test: 0.1551398	best: 0.1550987 (509)	total: 4m 20s	remaining: 4m 4s
516:	learn: 0.1419001	test: 0.1551407	best: 0.1550987 (509)	total: 4m 21s	remaining: 4m 4s
517:	learn: 0.1418369	test: 0.1551541	best: 0.1550987 (509)	total: 4m 24s	remaining: 4m 5s
518:	learn: 0.1417896	test: 0.1551521	best: 0.1550987 (509)	total: 4m 25s	remaining: 4m 6s
519:	learn: 0.1417722	test: 0.1551496	best: 0.1550987 (509)	total: 4m 25s	remaining: 4m 5s
520:	learn: 0.1417053	test: 0.1551545	best: 0.1550987 (509)	total: 4m 25s	remaining: 4m 4s
521:	learn: 0.1417039	test: 0.1551525	best: 0.1550987 (509)	total: 4m 25s	remaining: 4m 3s
522:	learn: 0.1416661	test: 0.1551478	best: 0.1550987 (509)	total: 4m 25s	remaining: 4m 2s
523:	learn: 0.1416100	test: 0.1551584	best: 0.1550987 (509)	total: 4m 26s	remaining: 4m 1s
524:	learn: 0.1415549	test: 0.1551709	best: 0.1550987 (509)	total: 4m 26s	remaining: 4m 1s
525:	learn: 0.1415470	test: 0.1551679	best: 0.1550987 (509)	total: 4m 26s	remaining: 4m
526:	learn: 0.1414798	test: 0.1550982	best: 0.1550982 (526)	total: 4m 26s	remaining: 3m 59s
527:	learn: 0.1414362	test: 0.1550853	best: 0.1550853 (527)	total: 4m 27s	remaining: 3m 58s
528:	learn: 0.1413339	test: 0.1550920	best: 0.1550853 (527)	total: 4m 29s	remaining: 4m
529:	learn: 0.1413016	test: 0.1550988	best: 0.1550853 (527)	total: 4m 30s	remaining: 3m 59s
530:	learn: 0.1412365	test: 0.1550995	best: 0.1550853 (527)	total: 4m 32s	remaining: 4m
531:	learn: 0.1411640	test: 0.1551018	best: 0.1550853 (527)	total: 4m 35s	remaining: 4m 2s
532:	learn: 0.1411318	test: 0.1551108	best: 0.1550853 (527)	total: 4m 35s	remaining: 4m 1s
533:	learn: 0.1410328	test: 0.1551021	best: 0.1550853 (527)	total: 4m 38s	remaining: 4m 2s
534:	learn: 0.1409435	test: 0.1550408	best: 0.1550408 (534)	total: 4m 38s	remaining: 4m 2s
535:	learn: 0.1409209	test: 0.1550104	best: 0.1550104 (535)	total: 4m 38s	remaining: 4m 1s
536:	learn: 0.1408462	test: 0.1550205	best: 0.1550104 (535)	total: 4m 41s	remaining: 4m 2s
537:	learn: 0.1408460	test: 0.1550199	best: 0.1550104 (535)	total: 4m 41s	remaining: 4m 1s
538:	learn: 0.1408059	test: 0.1550043	best: 0.1550043 (538)	total: 4m 42s	remaining: 4m 1s
539:	learn: 0.1408043	test: 0.1550026	best: 0.1550026 (539)	total: 4m 42s	remaining: 4m
540:	learn: 0.1407517	test: 0.1549760	best: 0.1549760 (540)	total: 4m 42s	remaining: 3m 59s
541:	learn: 0.1406862	test: 0.1549154	best: 0.1549154 (541)	total: 4m 42s	remaining: 3m 58s
542:	learn: 0.1406040	test: 0.1549248	best: 0.1549154 (541)	total: 4m 42s	remaining: 3m 58s
543:	learn: 0.1404639	test: 0.1549104	best: 0.1549104 (543)	total: 4m 45s	remaining: 3m 59s
544:	learn: 0.1404488	test: 0.1549112	best: 0.1549104 (543)	total: 4m 45s	remaining: 3m 58s
545:	learn: 0.1404381	test: 0.1549033	best: 0.1549033 (545)	total: 4m 45s	remaining: 3m 57s
546:	learn: 0.1404103	test: 0.1549060	best: 0.1549033 (545)	total: 4m 45s	remaining: 3m 56s
547:	learn: 0.1403960	test: 0.1549075	best: 0.1549033 (545)	total: 4m 46s	remaining: 3m 55s
548:	learn: 0.1403554	test: 0.1549034	best: 0.1549033 (545)	total: 4m 47s	remaining: 3m 56s
549:	learn: 0.1402844	test: 0.1549279	best: 0.1549033 (545)	total: 4m 48s	remaining: 3m 55s
550:	learn: 0.1402835	test: 0.1549264	best: 0.1549033 (545)	total: 4m 48s	remaining: 3m 54s
551:	learn: 0.1401893	test: 0.1549253	best: 0.1549033 (545)	total: 4m 49s	remaining: 3m 55s
552:	learn: 0.1401302	test: 0.1549000	best: 0.1549000 (552)	total: 4m 49s	remaining: 3m 54s
553:	learn: 0.1401098	test: 0.1548900	best: 0.1548900 (553)	total: 4m 49s	remaining: 3m 53s
554:	learn: 0.1401081	test: 0.1548898	best: 0.1548898 (554)	total: 4m 50s	remaining: 3m 52s
555:	learn: 0.1400222	test: 0.1548854	best: 0.1548854 (555)	total: 4m 52s	remaining: 3m 53s
556:	learn: 0.1399911	test: 0.1548798	best: 0.1548798 (556)	total: 4m 52s	remaining: 3m 52s
557:	learn: 0.1398880	test: 0.1548840	best: 0.1548798 (556)	total: 4m 55s	remaining: 3m 54s
558:	learn: 0.1398703	test: 0.1548909	best: 0.1548798 (556)	total: 4m 55s	remaining: 3m 53s
559:	learn: 0.1398527	test: 0.1548822	best: 0.1548798 (556)	total: 4m 55s	remaining: 3m 52s
560:	learn: 0.1397948	test: 0.1548890	best: 0.1548798 (556)	total: 4m 56s	remaining: 3m 51s
561:	learn: 0.1397877	test: 0.1548933	best: 0.1548798 (556)	total: 4m 56s	remaining: 3m 50s
562:	learn: 0.1397222	test: 0.1548916	best: 0.1548798 (556)	total: 4m 58s	remaining: 3m 51s
563:	learn: 0.1397211	test: 0.1548892	best: 0.1548798 (556)	total: 4m 58s	remaining: 3m 51s
564:	learn: 0.1396744	test: 0.1548846	best: 0.1548798 (556)	total: 4m 59s	remaining: 3m 50s
565:	learn: 0.1395826	test: 0.1548613	best: 0.1548613 (565)	total: 5m 1s	remaining: 3m 51s
566:	learn: 0.1395746	test: 0.1548598	best: 0.1548598 (566)	total: 5m 1s	remaining: 3m 50s
567:	learn: 0.1395700	test: 0.1548537	best: 0.1548537 (567)	total: 5m 2s	remaining: 3m 49s
568:	learn: 0.1395621	test: 0.1548528	best: 0.1548528 (568)	total: 5m 2s	remaining: 3m 48s
569:	learn: 0.1395574	test: 0.1548518	best: 0.1548518 (569)	total: 5m 2s	remaining: 3m 48s
570:	learn: 0.1395003	test: 0.1548679	best: 0.1548518 (569)	total: 5m 4s	remaining: 3m 49s
571:	learn: 0.1394924	test: 0.1548763	best: 0.1548518 (569)	total: 5m 4s	remaining: 3m 48s
572:	learn: 0.1394490	test: 0.1548601	best: 0.1548518 (569)	total: 5m 7s	remaining: 3m 49s
573:	learn: 0.1393926	test: 0.1548048	best: 0.1548048 (573)	total: 5m 7s	remaining: 3m 48s
574:	learn: 0.1393812	test: 0.1548034	best: 0.1548034 (574)	total: 5m 7s	remaining: 3m 47s
575:	learn: 0.1393064	test: 0.1547894	best: 0.1547894 (575)	total: 5m 8s	remaining: 3m 47s
576:	learn: 0.1392620	test: 0.1547822	best: 0.1547822 (576)	total: 5m 9s	remaining: 3m 46s
577:	learn: 0.1391769	test: 0.1547714	best: 0.1547714 (577)	total: 5m 12s	remaining: 3m 47s
578:	learn: 0.1391436	test: 0.1547680	best: 0.1547680 (578)	total: 5m 13s	remaining: 3m 47s
579:	learn: 0.1391053	test: 0.1547527	best: 0.1547527 (579)	total: 5m 13s	remaining: 3m 47s
580:	learn: 0.1390750	test: 0.1547506	best: 0.1547506 (580)	total: 5m 16s	remaining: 3m 48s
581:	learn: 0.1390512	test: 0.1547499	best: 0.1547499 (581)	total: 5m 16s	remaining: 3m 47s
582:	learn: 0.1390412	test: 0.1547440	best: 0.1547440 (582)	total: 5m 16s	remaining: 3m 46s
583:	learn: 0.1390330	test: 0.1547523	best: 0.1547440 (582)	total: 5m 16s	remaining: 3m 45s
584:	learn: 0.1390323	test: 0.1547511	best: 0.1547440 (582)	total: 5m 16s	remaining: 3m 44s
585:	learn: 0.1388834	test: 0.1547274	best: 0.1547274 (585)	total: 5m 19s	remaining: 3m 45s
586:	learn: 0.1388805	test: 0.1547269	best: 0.1547269 (586)	total: 5m 19s	remaining: 3m 44s
587:	learn: 0.1388672	test: 0.1547196	best: 0.1547196 (587)	total: 5m 19s	remaining: 3m 43s
588:	learn: 0.1387961	test: 0.1546943	best: 0.1546943 (588)	total: 5m 22s	remaining: 3m 45s
589:	learn: 0.1386672	test: 0.1546445	best: 0.1546445 (589)	total: 5m 25s	remaining: 3m 46s
590:	learn: 0.1386647	test: 0.1546438	best: 0.1546438 (590)	total: 5m 25s	remaining: 3m 45s
591:	learn: 0.1386483	test: 0.1546414	best: 0.1546414 (591)	total: 5m 25s	remaining: 3m 44s
592:	learn: 0.1386468	test: 0.1546391	best: 0.1546391 (592)	total: 5m 25s	remaining: 3m 43s
593:	learn: 0.1385592	test: 0.1546033	best: 0.1546033 (593)	total: 5m 28s	remaining: 3m 44s
594:	learn: 0.1385425	test: 0.1546054	best: 0.1546033 (593)	total: 5m 29s	remaining: 3m 43s
595:	learn: 0.1385355	test: 0.1546029	best: 0.1546029 (595)	total: 5m 29s	remaining: 3m 43s
596:	learn: 0.1383685	test: 0.1545918	best: 0.1545918 (596)	total: 5m 31s	remaining: 3m 43s
597:	learn: 0.1383373	test: 0.1545809	best: 0.1545809 (597)	total: 5m 31s	remaining: 3m 42s
598:	learn: 0.1382835	test: 0.1545811	best: 0.1545809 (597)	total: 5m 32s	remaining: 3m 42s
599:	learn: 0.1382650	test: 0.1545946	best: 0.1545809 (597)	total: 5m 32s	remaining: 3m 41s
600:	learn: 0.1382619	test: 0.1545971	best: 0.1545809 (597)	total: 5m 32s	remaining: 3m 40s
601:	learn: 0.1381610	test: 0.1545697	best: 0.1545697 (601)	total: 5m 35s	remaining: 3m 41s
602:	learn: 0.1380902	test: 0.1545342	best: 0.1545342 (602)	total: 5m 35s	remaining: 3m 41s
603:	learn: 0.1380891	test: 0.1545328	best: 0.1545328 (603)	total: 5m 35s	remaining: 3m 40s
604:	learn: 0.1380785	test: 0.1545267	best: 0.1545267 (604)	total: 5m 35s	remaining: 3m 39s
605:	learn: 0.1379508	test: 0.1545143	best: 0.1545143 (605)	total: 5m 38s	remaining: 3m 40s
606:	learn: 0.1379430	test: 0.1545092	best: 0.1545092 (606)	total: 5m 38s	remaining: 3m 39s
607:	learn: 0.1378986	test: 0.1545174	best: 0.1545092 (606)	total: 5m 39s	remaining: 3m 38s
608:	learn: 0.1378827	test: 0.1545209	best: 0.1545092 (606)	total: 5m 39s	remaining: 3m 37s
609:	learn: 0.1378375	test: 0.1545201	best: 0.1545092 (606)	total: 5m 39s	remaining: 3m 37s
610:	learn: 0.1377841	test: 0.1544992	best: 0.1544992 (610)	total: 5m 41s	remaining: 3m 37s
611:	learn: 0.1376941	test: 0.1545013	best: 0.1544992 (610)	total: 5m 44s	remaining: 3m 38s
612:	learn: 0.1375836	test: 0.1544728	best: 0.1544728 (612)	total: 5m 46s	remaining: 3m 38s
613:	learn: 0.1375775	test: 0.1544680	best: 0.1544680 (613)	total: 5m 46s	remaining: 3m 37s
614:	learn: 0.1374728	test: 0.1544641	best: 0.1544641 (614)	total: 5m 47s	remaining: 3m 37s
615:	learn: 0.1374348	test: 0.1544589	best: 0.1544589 (615)	total: 5m 47s	remaining: 3m 36s
616:	learn: 0.1374303	test: 0.1544554	best: 0.1544554 (616)	total: 5m 47s	remaining: 3m 35s
617:	learn: 0.1374208	test: 0.1544464	best: 0.1544464 (617)	total: 5m 47s	remaining: 3m 35s
618:	learn: 0.1374161	test: 0.1544366	best: 0.1544366 (618)	total: 5m 48s	remaining: 3m 34s
619:	learn: 0.1373393	test: 0.1543881	best: 0.1543881 (619)	total: 5m 50s	remaining: 3m 35s
620:	learn: 0.1373376	test: 0.1543893	best: 0.1543881 (619)	total: 5m 51s	remaining: 3m 34s
621:	learn: 0.1373219	test: 0.1543877	best: 0.1543877 (621)	total: 5m 51s	remaining: 3m 33s
622:	learn: 0.1371908	test: 0.1544269	best: 0.1543877 (621)	total: 5m 51s	remaining: 3m 32s
623:	learn: 0.1371684	test: 0.1544269	best: 0.1543877 (621)	total: 5m 51s	remaining: 3m 31s
624:	learn: 0.1371550	test: 0.1544331	best: 0.1543877 (621)	total: 5m 51s	remaining: 3m 31s
625:	learn: 0.1371355	test: 0.1544384	best: 0.1543877 (621)	total: 5m 52s	remaining: 3m 30s
626:	learn: 0.1370652	test: 0.1544197	best: 0.1543877 (621)	total: 5m 52s	remaining: 3m 29s
627:	learn: 0.1370530	test: 0.1544282	best: 0.1543877 (621)	total: 5m 52s	remaining: 3m 28s
628:	learn: 0.1370449	test: 0.1544404	best: 0.1543877 (621)	total: 5m 52s	remaining: 3m 27s
629:	learn: 0.1369328	test: 0.1544232	best: 0.1543877 (621)	total: 5m 55s	remaining: 3m 28s
630:	learn: 0.1367200	test: 0.1544134	best: 0.1543877 (621)	total: 5m 57s	remaining: 3m 28s
631:	learn: 0.1366273	test: 0.1544148	best: 0.1543877 (621)	total: 5m 58s	remaining: 3m 28s
632:	learn: 0.1365117	test: 0.1544003	best: 0.1543877 (621)	total: 6m 1s	remaining: 3m 29s
633:	learn: 0.1364065	test: 0.1544002	best: 0.1543877 (621)	total: 6m 4s	remaining: 3m 30s
634:	learn: 0.1363788	test: 0.1544032	best: 0.1543877 (621)	total: 6m 4s	remaining: 3m 29s
635:	learn: 0.1363136	test: 0.1543513	best: 0.1543513 (635)	total: 6m 4s	remaining: 3m 28s
636:	learn: 0.1362176	test: 0.1543459	best: 0.1543459 (636)	total: 6m 5s	remaining: 3m 28s
637:	learn: 0.1362172	test: 0.1543451	best: 0.1543451 (637)	total: 6m 5s	remaining: 3m 27s
638:	learn: 0.1362083	test: 0.1543480	best: 0.1543451 (637)	total: 6m 6s	remaining: 3m 26s
639:	learn: 0.1362081	test: 0.1543472	best: 0.1543451 (637)	total: 6m 6s	remaining: 3m 25s
640:	learn: 0.1361990	test: 0.1543411	best: 0.1543411 (640)	total: 6m 6s	remaining: 3m 25s
641:	learn: 0.1361068	test: 0.1543345	best: 0.1543345 (641)	total: 6m 6s	remaining: 3m 24s
642:	learn: 0.1360391	test: 0.1543226	best: 0.1543226 (642)	total: 6m 9s	remaining: 3m 25s
643:	learn: 0.1360389	test: 0.1543218	best: 0.1543218 (643)	total: 6m 9s	remaining: 3m 24s
644:	learn: 0.1360302	test: 0.1543259	best: 0.1543218 (643)	total: 6m 9s	remaining: 3m 23s
645:	learn: 0.1359518	test: 0.1542955	best: 0.1542955 (645)	total: 6m 11s	remaining: 3m 23s
646:	learn: 0.1358641	test: 0.1543031	best: 0.1542955 (645)	total: 6m 14s	remaining: 3m 24s
647:	learn: 0.1357446	test: 0.1542817	best: 0.1542817 (647)	total: 6m 15s	remaining: 3m 24s
648:	learn: 0.1356919	test: 0.1542627	best: 0.1542627 (648)	total: 6m 18s	remaining: 3m 24s
649:	learn: 0.1356366	test: 0.1542010	best: 0.1542010 (649)	total: 6m 18s	remaining: 3m 23s
650:	learn: 0.1356016	test: 0.1541994	best: 0.1541994 (650)	total: 6m 18s	remaining: 3m 23s
651:	learn: 0.1355992	test: 0.1541962	best: 0.1541962 (651)	total: 6m 18s	remaining: 3m 22s
652:	learn: 0.1355413	test: 0.1541783	best: 0.1541783 (652)	total: 6m 19s	remaining: 3m 21s
653:	learn: 0.1354736	test: 0.1541838	best: 0.1541783 (652)	total: 6m 21s	remaining: 3m 22s
654:	learn: 0.1354561	test: 0.1541783	best: 0.1541783 (654)	total: 6m 22s	remaining: 3m 21s
655:	learn: 0.1353726	test: 0.1541716	best: 0.1541716 (655)	total: 6m 24s	remaining: 3m 21s
656:	learn: 0.1353428	test: 0.1541404	best: 0.1541404 (656)	total: 6m 25s	remaining: 3m 21s
657:	learn: 0.1353394	test: 0.1541419	best: 0.1541404 (656)	total: 6m 25s	remaining: 3m 20s
658:	learn: 0.1353014	test: 0.1541320	best: 0.1541320 (658)	total: 6m 27s	remaining: 3m 20s
659:	learn: 0.1352862	test: 0.1541379	best: 0.1541320 (658)	total: 6m 28s	remaining: 3m 19s
660:	learn: 0.1352859	test: 0.1541372	best: 0.1541320 (658)	total: 6m 28s	remaining: 3m 19s
661:	learn: 0.1352755	test: 0.1541317	best: 0.1541317 (661)	total: 6m 28s	remaining: 3m 18s
662:	learn: 0.1352102	test: 0.1541464	best: 0.1541317 (661)	total: 6m 30s	remaining: 3m 18s
663:	learn: 0.1351926	test: 0.1541294	best: 0.1541294 (663)	total: 6m 30s	remaining: 3m 17s
664:	learn: 0.1351911	test: 0.1541262	best: 0.1541262 (664)	total: 6m 30s	remaining: 3m 16s
665:	learn: 0.1351680	test: 0.1541027	best: 0.1541027 (665)	total: 6m 31s	remaining: 3m 16s
666:	learn: 0.1351638	test: 0.1541011	best: 0.1541011 (666)	total: 6m 31s	remaining: 3m 15s
667:	learn: 0.1351349	test: 0.1540858	best: 0.1540858 (667)	total: 6m 31s	remaining: 3m 14s
668:	learn: 0.1350358	test: 0.1540961	best: 0.1540858 (667)	total: 6m 33s	remaining: 3m 14s
669:	learn: 0.1350055	test: 0.1540684	best: 0.1540684 (669)	total: 6m 33s	remaining: 3m 13s
670:	learn: 0.1349940	test: 0.1540553	best: 0.1540553 (670)	total: 6m 33s	remaining: 3m 13s
671:	learn: 0.1349584	test: 0.1540615	best: 0.1540553 (670)	total: 6m 33s	remaining: 3m 12s
672:	learn: 0.1348720	test: 0.1540689	best: 0.1540553 (670)	total: 6m 36s	remaining: 3m 12s
673:	learn: 0.1348590	test: 0.1540640	best: 0.1540553 (670)	total: 6m 36s	remaining: 3m 11s
674:	learn: 0.1348584	test: 0.1540638	best: 0.1540553 (670)	total: 6m 36s	remaining: 3m 11s
675:	learn: 0.1348519	test: 0.1540619	best: 0.1540553 (670)	total: 6m 36s	remaining: 3m 10s
676:	learn: 0.1347835	test: 0.1540679	best: 0.1540553 (670)	total: 6m 37s	remaining: 3m 9s
677:	learn: 0.1347318	test: 0.1540662	best: 0.1540553 (670)	total: 6m 38s	remaining: 3m 9s
678:	learn: 0.1347244	test: 0.1540682	best: 0.1540553 (670)	total: 6m 38s	remaining: 3m 8s
679:	learn: 0.1346522	test: 0.1540450	best: 0.1540450 (679)	total: 6m 41s	remaining: 3m 9s
680:	learn: 0.1345836	test: 0.1540307	best: 0.1540307 (680)	total: 6m 42s	remaining: 3m 8s
681:	learn: 0.1345613	test: 0.1540038	best: 0.1540038 (681)	total: 6m 42s	remaining: 3m 7s
682:	learn: 0.1345580	test: 0.1540082	best: 0.1540038 (681)	total: 6m 43s	remaining: 3m 7s
683:	learn: 0.1345395	test: 0.1540046	best: 0.1540038 (681)	total: 6m 43s	remaining: 3m 6s
684:	learn: 0.1345271	test: 0.1539997	best: 0.1539997 (684)	total: 6m 43s	remaining: 3m 5s
685:	learn: 0.1343866	test: 0.1540216	best: 0.1539997 (684)	total: 6m 45s	remaining: 3m 5s
686:	learn: 0.1343743	test: 0.1540191	best: 0.1539997 (684)	total: 6m 45s	remaining: 3m 4s
687:	learn: 0.1343007	test: 0.1540294	best: 0.1539997 (684)	total: 6m 49s	remaining: 3m 5s
688:	learn: 0.1341879	test: 0.1540473	best: 0.1539997 (684)	total: 6m 53s	remaining: 3m 6s
689:	learn: 0.1341178	test: 0.1540439	best: 0.1539997 (684)	total: 6m 56s	remaining: 3m 6s
690:	learn: 0.1341001	test: 0.1540321	best: 0.1539997 (684)	total: 6m 56s	remaining: 3m 6s
691:	learn: 0.1340936	test: 0.1540404	best: 0.1539997 (684)	total: 6m 56s	remaining: 3m 5s
692:	learn: 0.1340929	test: 0.1540395	best: 0.1539997 (684)	total: 6m 56s	remaining: 3m 4s
693:	learn: 0.1339716	test: 0.1540315	best: 0.1539997 (684)	total: 7m	remaining: 3m 5s
694:	learn: 0.1339000	test: 0.1540046	best: 0.1539997 (684)	total: 7m 1s	remaining: 3m 4s
695:	learn: 0.1338324	test: 0.1540487	best: 0.1539997 (684)	total: 7m 1s	remaining: 3m 4s
696:	learn: 0.1338294	test: 0.1540501	best: 0.1539997 (684)	total: 7m 1s	remaining: 3m 3s
697:	learn: 0.1337506	test: 0.1540282	best: 0.1539997 (684)	total: 7m 5s	remaining: 3m 4s
698:	learn: 0.1336627	test: 0.1540177	best: 0.1539997 (684)	total: 7m 8s	remaining: 3m 4s
699:	learn: 0.1336539	test: 0.1540252	best: 0.1539997 (684)	total: 7m 8s	remaining: 3m 3s
700:	learn: 0.1336082	test: 0.1540069	best: 0.1539997 (684)	total: 7m 8s	remaining: 3m 2s
701:	learn: 0.1336037	test: 0.1540043	best: 0.1539997 (684)	total: 7m 8s	remaining: 3m 1s
702:	learn: 0.1335637	test: 0.1540139	best: 0.1539997 (684)	total: 7m 11s	remaining: 3m 2s
703:	learn: 0.1335204	test: 0.1540061	best: 0.1539997 (684)	total: 7m 11s	remaining: 3m 1s
704:	learn: 0.1335114	test: 0.1540102	best: 0.1539997 (684)	total: 7m 12s	remaining: 3m
705:	learn: 0.1334930	test: 0.1539971	best: 0.1539971 (705)	total: 7m 12s	remaining: 2m 59s
706:	learn: 0.1334649	test: 0.1539766	best: 0.1539766 (706)	total: 7m 13s	remaining: 2m 59s
707:	learn: 0.1333616	test: 0.1539660	best: 0.1539660 (707)	total: 7m 16s	remaining: 2m 59s
708:	learn: 0.1333091	test: 0.1539608	best: 0.1539608 (708)	total: 7m 16s	remaining: 2m 59s
709:	learn: 0.1332988	test: 0.1539610	best: 0.1539608 (708)	total: 7m 17s	remaining: 2m 58s
710:	learn: 0.1332948	test: 0.1539580	best: 0.1539580 (710)	total: 7m 17s	remaining: 2m 57s
711:	learn: 0.1332333	test: 0.1539021	best: 0.1539021 (711)	total: 7m 17s	remaining: 2m 56s
712:	learn: 0.1331610	test: 0.1538871	best: 0.1538871 (712)	total: 7m 20s	remaining: 2m 57s
713:	learn: 0.1331411	test: 0.1538941	best: 0.1538871 (712)	total: 7m 20s	remaining: 2m 56s
714:	learn: 0.1330458	test: 0.1538956	best: 0.1538871 (712)	total: 7m 23s	remaining: 2m 56s
715:	learn: 0.1330333	test: 0.1538971	best: 0.1538871 (712)	total: 7m 23s	remaining: 2m 56s
716:	learn: 0.1329912	test: 0.1539028	best: 0.1538871 (712)	total: 7m 23s	remaining: 2m 55s
717:	learn: 0.1329824	test: 0.1539025	best: 0.1538871 (712)	total: 7m 24s	remaining: 2m 54s
718:	learn: 0.1328351	test: 0.1538924	best: 0.1538871 (712)	total: 7m 26s	remaining: 2m 54s
719:	learn: 0.1328336	test: 0.1538914	best: 0.1538871 (712)	total: 7m 26s	remaining: 2m 53s
720:	learn: 0.1328307	test: 0.1538900	best: 0.1538871 (712)	total: 7m 26s	remaining: 2m 52s
721:	learn: 0.1328292	test: 0.1538888	best: 0.1538871 (712)	total: 7m 26s	remaining: 2m 51s
722:	learn: 0.1327141	test: 0.1539023	best: 0.1538871 (712)	total: 7m 28s	remaining: 2m 51s
723:	learn: 0.1327097	test: 0.1539006	best: 0.1538871 (712)	total: 7m 28s	remaining: 2m 51s
724:	learn: 0.1327089	test: 0.1538993	best: 0.1538871 (712)	total: 7m 28s	remaining: 2m 50s
725:	learn: 0.1327087	test: 0.1538986	best: 0.1538871 (712)	total: 7m 28s	remaining: 2m 49s
726:	learn: 0.1326932	test: 0.1539129	best: 0.1538871 (712)	total: 7m 28s	remaining: 2m 48s
727:	learn: 0.1326263	test: 0.1539375	best: 0.1538871 (712)	total: 7m 32s	remaining: 2m 48s
728:	learn: 0.1325864	test: 0.1539285	best: 0.1538871 (712)	total: 7m 34s	remaining: 2m 49s
729:	learn: 0.1325826	test: 0.1539245	best: 0.1538871 (712)	total: 7m 35s	remaining: 2m 48s
730:	learn: 0.1325773	test: 0.1539199	best: 0.1538871 (712)	total: 7m 35s	remaining: 2m 47s
731:	learn: 0.1325338	test: 0.1539181	best: 0.1538871 (712)	total: 7m 35s	remaining: 2m 46s
732:	learn: 0.1324823	test: 0.1538800	best: 0.1538800 (732)	total: 7m 35s	remaining: 2m 45s
733:	learn: 0.1323733	test: 0.1538734	best: 0.1538734 (733)	total: 7m 38s	remaining: 2m 46s
734:	learn: 0.1323078	test: 0.1538720	best: 0.1538720 (734)	total: 7m 41s	remaining: 2m 46s
735:	learn: 0.1323062	test: 0.1538716	best: 0.1538716 (735)	total: 7m 41s	remaining: 2m 45s
736:	learn: 0.1322545	test: 0.1538797	best: 0.1538716 (735)	total: 7m 43s	remaining: 2m 45s
737:	learn: 0.1322446	test: 0.1538809	best: 0.1538716 (735)	total: 7m 43s	remaining: 2m 44s
738:	learn: 0.1321965	test: 0.1538828	best: 0.1538716 (735)	total: 7m 43s	remaining: 2m 43s
739:	learn: 0.1321511	test: 0.1538299	best: 0.1538299 (739)	total: 7m 43s	remaining: 2m 42s
740:	learn: 0.1320798	test: 0.1538549	best: 0.1538299 (739)	total: 7m 44s	remaining: 2m 42s
741:	learn: 0.1320633	test: 0.1538510	best: 0.1538299 (739)	total: 7m 44s	remaining: 2m 41s
742:	learn: 0.1320099	test: 0.1538562	best: 0.1538299 (739)	total: 7m 45s	remaining: 2m 41s
743:	learn: 0.1320094	test: 0.1538553	best: 0.1538299 (739)	total: 7m 45s	remaining: 2m 40s
744:	learn: 0.1317862	test: 0.1538605	best: 0.1538299 (739)	total: 7m 48s	remaining: 2m 40s
745:	learn: 0.1316983	test: 0.1538604	best: 0.1538299 (739)	total: 7m 51s	remaining: 2m 40s
746:	learn: 0.1316750	test: 0.1538655	best: 0.1538299 (739)	total: 7m 51s	remaining: 2m 39s
747:	learn: 0.1316588	test: 0.1538542	best: 0.1538299 (739)	total: 7m 51s	remaining: 2m 38s
748:	learn: 0.1316477	test: 0.1538452	best: 0.1538299 (739)	total: 7m 52s	remaining: 2m 38s
749:	learn: 0.1315710	test: 0.1538504	best: 0.1538299 (739)	total: 7m 53s	remaining: 2m 37s
750:	learn: 0.1315622	test: 0.1538572	best: 0.1538299 (739)	total: 7m 53s	remaining: 2m 36s
751:	learn: 0.1315395	test: 0.1538568	best: 0.1538299 (739)	total: 7m 53s	remaining: 2m 36s
752:	learn: 0.1314863	test: 0.1538898	best: 0.1538299 (739)	total: 7m 53s	remaining: 2m 35s
753:	learn: 0.1313957	test: 0.1538804	best: 0.1538299 (739)	total: 7m 54s	remaining: 2m 34s
754:	learn: 0.1313935	test: 0.1538785	best: 0.1538299 (739)	total: 7m 54s	remaining: 2m 33s
755:	learn: 0.1313847	test: 0.1538772	best: 0.1538299 (739)	total: 7m 54s	remaining: 2m 33s
756:	learn: 0.1313234	test: 0.1538863	best: 0.1538299 (739)	total: 7m 57s	remaining: 2m 33s
757:	learn: 0.1312372	test: 0.1538581	best: 0.1538299 (739)	total: 8m	remaining: 2m 33s
758:	learn: 0.1311852	test: 0.1538480	best: 0.1538299 (739)	total: 8m 3s	remaining: 2m 33s
759:	learn: 0.1311001	test: 0.1538467	best: 0.1538299 (739)	total: 8m 6s	remaining: 2m 33s
760:	learn: 0.1309989	test: 0.1538341	best: 0.1538299 (739)	total: 8m 8s	remaining: 2m 33s
761:	learn: 0.1309631	test: 0.1538084	best: 0.1538084 (761)	total: 8m 8s	remaining: 2m 32s
762:	learn: 0.1309628	test: 0.1538075	best: 0.1538075 (762)	total: 8m 8s	remaining: 2m 31s
763:	learn: 0.1309492	test: 0.1538054	best: 0.1538054 (763)	total: 8m 8s	remaining: 2m 30s
764:	learn: 0.1309010	test: 0.1537894	best: 0.1537894 (764)	total: 8m 11s	remaining: 2m 30s
765:	learn: 0.1308979	test: 0.1537892	best: 0.1537892 (765)	total: 8m 11s	remaining: 2m 30s
766:	learn: 0.1308910	test: 0.1537828	best: 0.1537828 (766)	total: 8m 11s	remaining: 2m 29s
767:	learn: 0.1307794	test: 0.1537974	best: 0.1537828 (766)	total: 8m 14s	remaining: 2m 29s
768:	learn: 0.1307717	test: 0.1537979	best: 0.1537828 (766)	total: 8m 14s	remaining: 2m 28s
769:	learn: 0.1307635	test: 0.1538027	best: 0.1537828 (766)	total: 8m 14s	remaining: 2m 27s
770:	learn: 0.1307491	test: 0.1538062	best: 0.1537828 (766)	total: 8m 14s	remaining: 2m 26s
771:	learn: 0.1306451	test: 0.1538034	best: 0.1537828 (766)	total: 8m 17s	remaining: 2m 26s
772:	learn: 0.1306314	test: 0.1537972	best: 0.1537828 (766)	total: 8m 17s	remaining: 2m 26s
773:	learn: 0.1306311	test: 0.1537969	best: 0.1537828 (766)	total: 8m 17s	remaining: 2m 25s
774:	learn: 0.1306236	test: 0.1538002	best: 0.1537828 (766)	total: 8m 17s	remaining: 2m 24s
775:	learn: 0.1306132	test: 0.1537936	best: 0.1537828 (766)	total: 8m 17s	remaining: 2m 23s
776:	learn: 0.1306036	test: 0.1537835	best: 0.1537828 (766)	total: 8m 17s	remaining: 2m 22s
777:	learn: 0.1305352	test: 0.1537790	best: 0.1537790 (777)	total: 8m 20s	remaining: 2m 22s
778:	learn: 0.1305088	test: 0.1537735	best: 0.1537735 (778)	total: 8m 20s	remaining: 2m 22s
779:	learn: 0.1305064	test: 0.1537712	best: 0.1537712 (779)	total: 8m 20s	remaining: 2m 21s
780:	learn: 0.1304691	test: 0.1537657	best: 0.1537657 (780)	total: 8m 23s	remaining: 2m 21s
781:	learn: 0.1304005	test: 0.1537931	best: 0.1537657 (780)	total: 8m 23s	remaining: 2m 20s
782:	learn: 0.1302583	test: 0.1537835	best: 0.1537657 (780)	total: 8m 26s	remaining: 2m 20s
783:	learn: 0.1302529	test: 0.1537808	best: 0.1537657 (780)	total: 8m 26s	remaining: 2m 19s
784:	learn: 0.1301475	test: 0.1537757	best: 0.1537657 (780)	total: 8m 27s	remaining: 2m 18s
785:	learn: 0.1300657	test: 0.1538093	best: 0.1537657 (780)	total: 8m 30s	remaining: 2m 18s
786:	learn: 0.1300093	test: 0.1538241	best: 0.1537657 (780)	total: 8m 30s	remaining: 2m 18s
787:	learn: 0.1299421	test: 0.1538213	best: 0.1537657 (780)	total: 8m 31s	remaining: 2m 17s
788:	learn: 0.1299265	test: 0.1538388	best: 0.1537657 (780)	total: 8m 31s	remaining: 2m 16s
789:	learn: 0.1298532	test: 0.1538443	best: 0.1537657 (780)	total: 8m 34s	remaining: 2m 16s
790:	learn: 0.1298304	test: 0.1538410	best: 0.1537657 (780)	total: 8m 37s	remaining: 2m 16s
791:	learn: 0.1297856	test: 0.1538402	best: 0.1537657 (780)	total: 8m 38s	remaining: 2m 16s
792:	learn: 0.1297815	test: 0.1538378	best: 0.1537657 (780)	total: 8m 38s	remaining: 2m 15s
793:	learn: 0.1297792	test: 0.1538365	best: 0.1537657 (780)	total: 8m 38s	remaining: 2m 14s
794:	learn: 0.1296316	test: 0.1538180	best: 0.1537657 (780)	total: 8m 40s	remaining: 2m 14s
795:	learn: 0.1295496	test: 0.1538377	best: 0.1537657 (780)	total: 8m 41s	remaining: 2m 13s
796:	learn: 0.1295472	test: 0.1538388	best: 0.1537657 (780)	total: 8m 41s	remaining: 2m 12s
797:	learn: 0.1294550	test: 0.1538086	best: 0.1537657 (780)	total: 8m 44s	remaining: 2m 12s
798:	learn: 0.1294158	test: 0.1537614	best: 0.1537614 (798)	total: 8m 44s	remaining: 2m 11s
799:	learn: 0.1294072	test: 0.1537610	best: 0.1537610 (799)	total: 8m 44s	remaining: 2m 11s
800:	learn: 0.1293229	test: 0.1537457	best: 0.1537457 (800)	total: 8m 47s	remaining: 2m 11s
801:	learn: 0.1292743	test: 0.1537616	best: 0.1537457 (800)	total: 8m 51s	remaining: 2m 11s
802:	learn: 0.1291908	test: 0.1537466	best: 0.1537457 (800)	total: 8m 54s	remaining: 2m 11s
803:	learn: 0.1290627	test: 0.1537416	best: 0.1537416 (803)	total: 8m 57s	remaining: 2m 11s
804:	learn: 0.1290577	test: 0.1537444	best: 0.1537416 (803)	total: 8m 58s	remaining: 2m 10s
805:	learn: 0.1290539	test: 0.1537433	best: 0.1537416 (803)	total: 8m 58s	remaining: 2m 9s
806:	learn: 0.1289533	test: 0.1537650	best: 0.1537416 (803)	total: 9m 1s	remaining: 2m 9s
807:	learn: 0.1289401	test: 0.1537619	best: 0.1537416 (803)	total: 9m 1s	remaining: 2m 8s
808:	learn: 0.1289393	test: 0.1537606	best: 0.1537416 (803)	total: 9m 1s	remaining: 2m 7s
809:	learn: 0.1289098	test: 0.1537648	best: 0.1537416 (803)	total: 9m 2s	remaining: 2m 7s
810:	learn: 0.1288950	test: 0.1537738	best: 0.1537416 (803)	total: 9m 2s	remaining: 2m 6s
811:	learn: 0.1288948	test: 0.1537730	best: 0.1537416 (803)	total: 9m 2s	remaining: 2m 5s
812:	learn: 0.1287991	test: 0.1538029	best: 0.1537416 (803)	total: 9m 3s	remaining: 2m 4s
813:	learn: 0.1287832	test: 0.1538085	best: 0.1537416 (803)	total: 9m 3s	remaining: 2m 4s
814:	learn: 0.1286760	test: 0.1538518	best: 0.1537416 (803)	total: 9m 6s	remaining: 2m 4s
815:	learn: 0.1285525	test: 0.1538402	best: 0.1537416 (803)	total: 9m 9s	remaining: 2m 3s
816:	learn: 0.1285160	test: 0.1538400	best: 0.1537416 (803)	total: 9m 12s	remaining: 2m 3s
817:	learn: 0.1284582	test: 0.1538540	best: 0.1537416 (803)	total: 9m 15s	remaining: 2m 3s
818:	learn: 0.1283915	test: 0.1538592	best: 0.1537416 (803)	total: 9m 17s	remaining: 2m 3s
819:	learn: 0.1282762	test: 0.1538299	best: 0.1537416 (803)	total: 9m 21s	remaining: 2m 3s
820:	learn: 0.1282252	test: 0.1538308	best: 0.1537416 (803)	total: 9m 23s	remaining: 2m 2s
821:	learn: 0.1281739	test: 0.1538092	best: 0.1537416 (803)	total: 9m 26s	remaining: 2m 2s
822:	learn: 0.1281448	test: 0.1538158	best: 0.1537416 (803)	total: 9m 26s	remaining: 2m 1s
823:	learn: 0.1280310	test: 0.1538356	best: 0.1537416 (803)	total: 9m 29s	remaining: 2m 1s
824:	learn: 0.1279499	test: 0.1538160	best: 0.1537416 (803)	total: 9m 32s	remaining: 2m 1s
825:	learn: 0.1278271	test: 0.1537776	best: 0.1537416 (803)	total: 9m 34s	remaining: 2m 1s
826:	learn: 0.1277197	test: 0.1537569	best: 0.1537416 (803)	total: 9m 36s	remaining: 2m
827:	learn: 0.1277182	test: 0.1537567	best: 0.1537416 (803)	total: 9m 36s	remaining: 1m 59s
828:	learn: 0.1276715	test: 0.1537173	best: 0.1537173 (828)	total: 9m 36s	remaining: 1m 58s
829:	learn: 0.1276624	test: 0.1537174	best: 0.1537173 (828)	total: 9m 36s	remaining: 1m 58s
830:	learn: 0.1276373	test: 0.1537129	best: 0.1537129 (830)	total: 9m 39s	remaining: 1m 57s
831:	learn: 0.1275942	test: 0.1536876	best: 0.1536876 (831)	total: 9m 40s	remaining: 1m 57s
832:	learn: 0.1275887	test: 0.1536960	best: 0.1536876 (831)	total: 9m 40s	remaining: 1m 56s
833:	learn: 0.1274273	test: 0.1537110	best: 0.1536876 (831)	total: 9m 43s	remaining: 1m 56s
834:	learn: 0.1273742	test: 0.1537021	best: 0.1536876 (831)	total: 9m 43s	remaining: 1m 55s
835:	learn: 0.1273234	test: 0.1537108	best: 0.1536876 (831)	total: 9m 46s	remaining: 1m 55s
836:	learn: 0.1272609	test: 0.1537151	best: 0.1536876 (831)	total: 9m 49s	remaining: 1m 54s
837:	learn: 0.1272542	test: 0.1537146	best: 0.1536876 (831)	total: 9m 49s	remaining: 1m 53s
838:	learn: 0.1272457	test: 0.1537035	best: 0.1536876 (831)	total: 9m 49s	remaining: 1m 53s
839:	learn: 0.1272260	test: 0.1536998	best: 0.1536876 (831)	total: 9m 49s	remaining: 1m 52s
840:	learn: 0.1271766	test: 0.1536952	best: 0.1536876 (831)	total: 9m 52s	remaining: 1m 52s
841:	learn: 0.1271437	test: 0.1537281	best: 0.1536876 (831)	total: 9m 53s	remaining: 1m 51s
842:	learn: 0.1271155	test: 0.1537222	best: 0.1536876 (831)	total: 9m 55s	remaining: 1m 50s
843:	learn: 0.1270208	test: 0.1537303	best: 0.1536876 (831)	total: 9m 57s	remaining: 1m 50s
844:	learn: 0.1268911	test: 0.1537275	best: 0.1536876 (831)	total: 10m 1s	remaining: 1m 50s
845:	learn: 0.1268756	test: 0.1537345	best: 0.1536876 (831)	total: 10m 1s	remaining: 1m 49s
846:	learn: 0.1268406	test: 0.1537223	best: 0.1536876 (831)	total: 10m 4s	remaining: 1m 49s
847:	learn: 0.1267432	test: 0.1536997	best: 0.1536876 (831)	total: 10m 7s	remaining: 1m 48s
848:	learn: 0.1267068	test: 0.1536560	best: 0.1536560 (848)	total: 10m 7s	remaining: 1m 48s
849:	learn: 0.1267066	test: 0.1536551	best: 0.1536551 (849)	total: 10m 7s	remaining: 1m 47s
850:	learn: 0.1266502	test: 0.1536638	best: 0.1536551 (849)	total: 10m 10s	remaining: 1m 46s
851:	learn: 0.1266028	test: 0.1536846	best: 0.1536551 (849)	total: 10m 10s	remaining: 1m 46s
852:	learn: 0.1264677	test: 0.1536783	best: 0.1536551 (849)	total: 10m 13s	remaining: 1m 45s
853:	learn: 0.1264319	test: 0.1536677	best: 0.1536551 (849)	total: 10m 14s	remaining: 1m 44s
854:	learn: 0.1263815	test: 0.1536944	best: 0.1536551 (849)	total: 10m 14s	remaining: 1m 44s
855:	learn: 0.1262908	test: 0.1537006	best: 0.1536551 (849)	total: 10m 18s	remaining: 1m 43s
856:	learn: 0.1262733	test: 0.1536983	best: 0.1536551 (849)	total: 10m 21s	remaining: 1m 43s
857:	learn: 0.1262683	test: 0.1536980	best: 0.1536551 (849)	total: 10m 21s	remaining: 1m 42s
858:	learn: 0.1262604	test: 0.1536968	best: 0.1536551 (849)	total: 10m 21s	remaining: 1m 42s
859:	learn: 0.1262196	test: 0.1537200	best: 0.1536551 (849)	total: 10m 22s	remaining: 1m 41s
860:	learn: 0.1261989	test: 0.1537173	best: 0.1536551 (849)	total: 10m 22s	remaining: 1m 40s
861:	learn: 0.1259971	test: 0.1537059	best: 0.1536551 (849)	total: 10m 25s	remaining: 1m 40s
862:	learn: 0.1259745	test: 0.1537106	best: 0.1536551 (849)	total: 10m 27s	remaining: 1m 39s
863:	learn: 0.1258782	test: 0.1537234	best: 0.1536551 (849)	total: 10m 29s	remaining: 1m 39s
864:	learn: 0.1258284	test: 0.1537598	best: 0.1536551 (849)	total: 10m 32s	remaining: 1m 38s
865:	learn: 0.1258158	test: 0.1537799	best: 0.1536551 (849)	total: 10m 32s	remaining: 1m 37s
866:	learn: 0.1257393	test: 0.1537711	best: 0.1536551 (849)	total: 10m 35s	remaining: 1m 37s
867:	learn: 0.1256716	test: 0.1537598	best: 0.1536551 (849)	total: 10m 37s	remaining: 1m 36s
868:	learn: 0.1256360	test: 0.1537176	best: 0.1536551 (849)	total: 10m 37s	remaining: 1m 36s
869:	learn: 0.1256333	test: 0.1537198	best: 0.1536551 (849)	total: 10m 37s	remaining: 1m 35s
870:	learn: 0.1256305	test: 0.1537174	best: 0.1536551 (849)	total: 10m 37s	remaining: 1m 34s
871:	learn: 0.1255996	test: 0.1537236	best: 0.1536551 (849)	total: 10m 40s	remaining: 1m 33s
872:	learn: 0.1255238	test: 0.1537075	best: 0.1536551 (849)	total: 10m 43s	remaining: 1m 33s
873:	learn: 0.1255197	test: 0.1537160	best: 0.1536551 (849)	total: 10m 43s	remaining: 1m 32s
874:	learn: 0.1254858	test: 0.1537204	best: 0.1536551 (849)	total: 10m 46s	remaining: 1m 32s
875:	learn: 0.1254787	test: 0.1537341	best: 0.1536551 (849)	total: 10m 46s	remaining: 1m 31s
876:	learn: 0.1253968	test: 0.1537399	best: 0.1536551 (849)	total: 10m 49s	remaining: 1m 31s
877:	learn: 0.1253276	test: 0.1537421	best: 0.1536551 (849)	total: 10m 52s	remaining: 1m 30s
878:	learn: 0.1253078	test: 0.1537396	best: 0.1536551 (849)	total: 10m 52s	remaining: 1m 29s
879:	learn: 0.1251945	test: 0.1537263	best: 0.1536551 (849)	total: 10m 55s	remaining: 1m 29s
880:	learn: 0.1251775	test: 0.1537183	best: 0.1536551 (849)	total: 10m 55s	remaining: 1m 28s
881:	learn: 0.1250999	test: 0.1537033	best: 0.1536551 (849)	total: 10m 58s	remaining: 1m 28s
882:	learn: 0.1250016	test: 0.1537302	best: 0.1536551 (849)	total: 11m 1s	remaining: 1m 27s
883:	learn: 0.1248830	test: 0.1537135	best: 0.1536551 (849)	total: 11m 3s	remaining: 1m 27s
884:	learn: 0.1248717	test: 0.1537150	best: 0.1536551 (849)	total: 11m 3s	remaining: 1m 26s
885:	learn: 0.1247680	test: 0.1537422	best: 0.1536551 (849)	total: 11m 7s	remaining: 1m 25s
886:	learn: 0.1246973	test: 0.1537382	best: 0.1536551 (849)	total: 11m 9s	remaining: 1m 25s
887:	learn: 0.1246380	test: 0.1537508	best: 0.1536551 (849)	total: 11m 11s	remaining: 1m 24s
888:	learn: 0.1244746	test: 0.1537260	best: 0.1536551 (849)	total: 11m 13s	remaining: 1m 24s
889:	learn: 0.1243524	test: 0.1536999	best: 0.1536551 (849)	total: 11m 16s	remaining: 1m 23s
890:	learn: 0.1242843	test: 0.1537208	best: 0.1536551 (849)	total: 11m 19s	remaining: 1m 23s
891:	learn: 0.1241104	test: 0.1537156	best: 0.1536551 (849)	total: 11m 22s	remaining: 1m 22s
892:	learn: 0.1240541	test: 0.1537002	best: 0.1536551 (849)	total: 11m 25s	remaining: 1m 22s
893:	learn: 0.1239432	test: 0.1536832	best: 0.1536551 (849)	total: 11m 29s	remaining: 1m 21s
894:	learn: 0.1239373	test: 0.1536844	best: 0.1536551 (849)	total: 11m 29s	remaining: 1m 20s
895:	learn: 0.1239314	test: 0.1536844	best: 0.1536551 (849)	total: 11m 29s	remaining: 1m 20s
896:	learn: 0.1238264	test: 0.1536827	best: 0.1536551 (849)	total: 11m 32s	remaining: 1m 19s
897:	learn: 0.1237525	test: 0.1536955	best: 0.1536551 (849)	total: 11m 35s	remaining: 1m 19s
898:	learn: 0.1236930	test: 0.1536876	best: 0.1536551 (849)	total: 11m 39s	remaining: 1m 18s
899:	learn: 0.1236179	test: 0.1537227	best: 0.1536551 (849)	total: 11m 41s	remaining: 1m 17s
900:	learn: 0.1235189	test: 0.1537107	best: 0.1536551 (849)	total: 11m 45s	remaining: 1m 17s
901:	learn: 0.1233728	test: 0.1537102	best: 0.1536551 (849)	total: 11m 47s	remaining: 1m 16s
902:	learn: 0.1233096	test: 0.1537081	best: 0.1536551 (849)	total: 11m 49s	remaining: 1m 16s
903:	learn: 0.1232126	test: 0.1537112	best: 0.1536551 (849)	total: 11m 52s	remaining: 1m 15s
904:	learn: 0.1230994	test: 0.1537032	best: 0.1536551 (849)	total: 11m 56s	remaining: 1m 15s
905:	learn: 0.1230232	test: 0.1536894	best: 0.1536551 (849)	total: 11m 58s	remaining: 1m 14s
906:	learn: 0.1229736	test: 0.1536933	best: 0.1536551 (849)	total: 11m 58s	remaining: 1m 13s
907:	learn: 0.1229423	test: 0.1537027	best: 0.1536551 (849)	total: 11m 59s	remaining: 1m 12s
908:	learn: 0.1227716	test: 0.1536827	best: 0.1536551 (849)	total: 12m 2s	remaining: 1m 12s
909:	learn: 0.1225520	test: 0.1536817	best: 0.1536551 (849)	total: 12m 4s	remaining: 1m 11s
910:	learn: 0.1224290	test: 0.1536943	best: 0.1536551 (849)	total: 12m 7s	remaining: 1m 11s
911:	learn: 0.1223590	test: 0.1536892	best: 0.1536551 (849)	total: 12m 10s	remaining: 1m 10s
912:	learn: 0.1222613	test: 0.1536831	best: 0.1536551 (849)	total: 12m 13s	remaining: 1m 9s
913:	learn: 0.1221591	test: 0.1536831	best: 0.1536551 (849)	total: 12m 16s	remaining: 1m 9s
914:	learn: 0.1221025	test: 0.1536944	best: 0.1536551 (849)	total: 12m 19s	remaining: 1m 8s
915:	learn: 0.1220523	test: 0.1536935	best: 0.1536551 (849)	total: 12m 22s	remaining: 1m 8s
916:	learn: 0.1219369	test: 0.1537065	best: 0.1536551 (849)	total: 12m 25s	remaining: 1m 7s
917:	learn: 0.1217661	test: 0.1536854	best: 0.1536551 (849)	total: 12m 27s	remaining: 1m 6s
918:	learn: 0.1216748	test: 0.1536930	best: 0.1536551 (849)	total: 12m 30s	remaining: 1m 6s
919:	learn: 0.1216036	test: 0.1536744	best: 0.1536551 (849)	total: 12m 33s	remaining: 1m 5s
920:	learn: 0.1215447	test: 0.1536742	best: 0.1536551 (849)	total: 12m 36s	remaining: 1m 4s
921:	learn: 0.1215378	test: 0.1536737	best: 0.1536551 (849)	total: 12m 36s	remaining: 1m 4s
922:	learn: 0.1214897	test: 0.1536757	best: 0.1536551 (849)	total: 12m 39s	remaining: 1m 3s
923:	learn: 0.1213730	test: 0.1536873	best: 0.1536551 (849)	total: 12m 42s	remaining: 1m 2s
924:	learn: 0.1213582	test: 0.1536906	best: 0.1536551 (849)	total: 12m 42s	remaining: 1m 1s
925:	learn: 0.1213327	test: 0.1536923	best: 0.1536551 (849)	total: 12m 42s	remaining: 1m
926:	learn: 0.1213053	test: 0.1536822	best: 0.1536551 (849)	total: 12m 46s	remaining: 1m
927:	learn: 0.1212711	test: 0.1537106	best: 0.1536551 (849)	total: 12m 46s	remaining: 59.5s
928:	learn: 0.1212619	test: 0.1537070	best: 0.1536551 (849)	total: 12m 46s	remaining: 58.6s
929:	learn: 0.1210554	test: 0.1537033	best: 0.1536551 (849)	total: 12m 49s	remaining: 57.9s
930:	learn: 0.1208838	test: 0.1537007	best: 0.1536551 (849)	total: 12m 52s	remaining: 57.2s
931:	learn: 0.1208640	test: 0.1536982	best: 0.1536551 (849)	total: 12m 53s	remaining: 56.4s
932:	learn: 0.1208053	test: 0.1536739	best: 0.1536551 (849)	total: 12m 56s	remaining: 55.7s
933:	learn: 0.1206784	test: 0.1536841	best: 0.1536551 (849)	total: 12m 58s	remaining: 55s
934:	learn: 0.1206706	test: 0.1536821	best: 0.1536551 (849)	total: 12m 58s	remaining: 54.1s
935:	learn: 0.1206046	test: 0.1536783	best: 0.1536551 (849)	total: 12m 59s	remaining: 53.3s
936:	learn: 0.1204214	test: 0.1536742	best: 0.1536551 (849)	total: 13m 2s	remaining: 52.6s
937:	learn: 0.1204124	test: 0.1536735	best: 0.1536551 (849)	total: 13m 5s	remaining: 52s
938:	learn: 0.1203699	test: 0.1536757	best: 0.1536551 (849)	total: 13m 8s	remaining: 51.2s
939:	learn: 0.1202969	test: 0.1536791	best: 0.1536551 (849)	total: 13m 11s	remaining: 50.5s
940:	learn: 0.1202254	test: 0.1536765	best: 0.1536551 (849)	total: 13m 14s	remaining: 49.8s
941:	learn: 0.1201819	test: 0.1537010	best: 0.1536551 (849)	total: 13m 16s	remaining: 49.1s
942:	learn: 0.1200276	test: 0.1537066	best: 0.1536551 (849)	total: 13m 19s	remaining: 48.3s
943:	learn: 0.1200026	test: 0.1537145	best: 0.1536551 (849)	total: 13m 20s	remaining: 47.5s
944:	learn: 0.1199300	test: 0.1537032	best: 0.1536551 (849)	total: 13m 23s	remaining: 46.7s
945:	learn: 0.1198104	test: 0.1536738	best: 0.1536551 (849)	total: 13m 25s	remaining: 46s
946:	learn: 0.1196670	test: 0.1536769	best: 0.1536551 (849)	total: 13m 29s	remaining: 45.3s
947:	learn: 0.1195340	test: 0.1536783	best: 0.1536551 (849)	total: 13m 31s	remaining: 44.5s
948:	learn: 0.1194803	test: 0.1536437	best: 0.1536437 (948)	total: 13m 35s	remaining: 43.8s
949:	learn: 0.1193612	test: 0.1536542	best: 0.1536437 (948)	total: 13m 37s	remaining: 43.1s
950:	learn: 0.1193011	test: 0.1536422	best: 0.1536422 (950)	total: 13m 41s	remaining: 42.3s
951:	learn: 0.1191730	test: 0.1536599	best: 0.1536422 (950)	total: 13m 44s	remaining: 41.6s
952:	learn: 0.1190809	test: 0.1536589	best: 0.1536422 (950)	total: 13m 47s	remaining: 40.8s
953:	learn: 0.1190531	test: 0.1536646	best: 0.1536422 (950)	total: 13m 49s	remaining: 40s
954:	learn: 0.1190067	test: 0.1536555	best: 0.1536422 (950)	total: 13m 51s	remaining: 39.2s
955:	learn: 0.1188644	test: 0.1536469	best: 0.1536422 (950)	total: 13m 54s	remaining: 38.4s
956:	learn: 0.1187039	test: 0.1536195	best: 0.1536195 (956)	total: 13m 57s	remaining: 37.6s
957:	learn: 0.1185982	test: 0.1535822	best: 0.1535822 (957)	total: 14m	remaining: 36.8s
958:	learn: 0.1184648	test: 0.1536235	best: 0.1535822 (957)	total: 14m 3s	remaining: 36.1s
959:	learn: 0.1183622	test: 0.1536287	best: 0.1535822 (957)	total: 14m 6s	remaining: 35.3s
960:	learn: 0.1182475	test: 0.1535953	best: 0.1535822 (957)	total: 14m 9s	remaining: 34.5s
961:	learn: 0.1180852	test: 0.1535712	best: 0.1535712 (961)	total: 14m 13s	remaining: 33.7s
962:	learn: 0.1179821	test: 0.1535531	best: 0.1535531 (962)	total: 14m 16s	remaining: 32.9s
963:	learn: 0.1179106	test: 0.1535597	best: 0.1535531 (962)	total: 14m 18s	remaining: 32.1s
964:	learn: 0.1178577	test: 0.1535427	best: 0.1535427 (964)	total: 14m 22s	remaining: 31.3s
965:	learn: 0.1177847	test: 0.1535538	best: 0.1535427 (964)	total: 14m 25s	remaining: 30.5s
966:	learn: 0.1177573	test: 0.1535196	best: 0.1535196 (966)	total: 14m 25s	remaining: 29.5s
967:	learn: 0.1176923	test: 0.1534718	best: 0.1534718 (967)	total: 14m 28s	remaining: 28.7s
968:	learn: 0.1175435	test: 0.1534540	best: 0.1534540 (968)	total: 14m 31s	remaining: 27.9s
969:	learn: 0.1173661	test: 0.1534101	best: 0.1534101 (969)	total: 14m 34s	remaining: 27s
970:	learn: 0.1173574	test: 0.1534003	best: 0.1534003 (970)	total: 14m 34s	remaining: 26.1s
971:	learn: 0.1173084	test: 0.1533950	best: 0.1533950 (971)	total: 14m 37s	remaining: 25.3s
972:	learn: 0.1172578	test: 0.1533913	best: 0.1533913 (972)	total: 14m 40s	remaining: 24.4s
973:	learn: 0.1172203	test: 0.1533960	best: 0.1533913 (972)	total: 14m 43s	remaining: 23.6s
974:	learn: 0.1171212	test: 0.1533734	best: 0.1533734 (974)	total: 14m 46s	remaining: 22.7s
975:	learn: 0.1170385	test: 0.1533476	best: 0.1533476 (975)	total: 14m 48s	remaining: 21.8s
976:	learn: 0.1169587	test: 0.1533115	best: 0.1533115 (976)	total: 14m 51s	remaining: 21s
977:	learn: 0.1169174	test: 0.1533056	best: 0.1533056 (977)	total: 14m 54s	remaining: 20.1s
978:	learn: 0.1168374	test: 0.1533429	best: 0.1533056 (977)	total: 14m 57s	remaining: 19.3s
979:	learn: 0.1166952	test: 0.1533717	best: 0.1533056 (977)	total: 15m	remaining: 18.4s
980:	learn: 0.1166203	test: 0.1533780	best: 0.1533056 (977)	total: 15m 3s	remaining: 17.5s
981:	learn: 0.1164116	test: 0.1533688	best: 0.1533056 (977)	total: 15m 5s	remaining: 16.6s
982:	learn: 0.1163590	test: 0.1533601	best: 0.1533056 (977)	total: 15m 8s	remaining: 15.7s
983:	learn: 0.1162936	test: 0.1533504	best: 0.1533056 (977)	total: 15m 11s	remaining: 14.8s
984:	learn: 0.1161653	test: 0.1533391	best: 0.1533056 (977)	total: 15m 14s	remaining: 13.9s
985:	learn: 0.1161328	test: 0.1533364	best: 0.1533056 (977)	total: 15m 17s	remaining: 13s
986:	learn: 0.1160693	test: 0.1533459	best: 0.1533056 (977)	total: 15m 20s	remaining: 12.1s
987:	learn: 0.1159499	test: 0.1533543	best: 0.1533056 (977)	total: 15m 23s	remaining: 11.2s
988:	learn: 0.1158548	test: 0.1533626	best: 0.1533056 (977)	total: 15m 26s	remaining: 10.3s
989:	learn: 0.1158011	test: 0.1533759	best: 0.1533056 (977)	total: 15m 29s	remaining: 9.39s
990:	learn: 0.1157582	test: 0.1533734	best: 0.1533056 (977)	total: 15m 32s	remaining: 8.47s
991:	learn: 0.1156320	test: 0.1533903	best: 0.1533056 (977)	total: 15m 35s	remaining: 7.54s
992:	learn: 0.1155852	test: 0.1533877	best: 0.1533056 (977)	total: 15m 38s	remaining: 6.61s
993:	learn: 0.1154667	test: 0.1533459	best: 0.1533056 (977)	total: 15m 41s	remaining: 5.68s
994:	learn: 0.1154376	test: 0.1533614	best: 0.1533056 (977)	total: 15m 44s	remaining: 4.75s
995:	learn: 0.1153142	test: 0.1533804	best: 0.1533056 (977)	total: 15m 47s	remaining: 3.81s
996:	learn: 0.1152458	test: 0.1534024	best: 0.1533056 (977)	total: 15m 50s	remaining: 2.86s
997:	learn: 0.1151724	test: 0.1533871	best: 0.1533056 (977)	total: 15m 53s	remaining: 1.91s
998:	learn: 0.1150877	test: 0.1534009	best: 0.1533056 (977)	total: 15m 56s	remaining: 958ms
999:	learn: 0.1150566	test: 0.1534112	best: 0.1533056 (977)	total: 15m 59s	remaining: 0us

bestTest = 0.1533056093
bestIteration = 977

Out[21]:
<catboost.core.CatBoostClassifier at 0x1419bcafba8>

In [22]:
test = pd.read_csv(f'{PATH}\\av_test_TQDFDgg.csv', low_memory=False, parse_dates=['incident_date'])

In [23]:
test.head(3)


Out[23]:
victim_id incident_time incident_date incident_location incident_tehsil cause_of_emergency base_to_scene_distance scene_to_hospital_distance roadway_feature road_type surrounding_area
0 VIC20100001032706 15:46:12 2010-05-19 Chc Sahaspur Sahaspur MVC - Pedestrian (Run Over/Hit & Run) 23 27 INT LOC MAR
1 VIC20120000441519 16:55:28 2012-03-18 Doiwala Ambulance Doiwala Multiple Vehicular Incident 5 21 CUR HIW AGL
2 VIC20130000014119 18:49:35 2013-04-01 Race Course Chowk Raipur Multiple Vehicular Incident 3 1 CUR HIW AGL

In [28]:
prediction_proba = model.predict_proba(test)

In [29]:
model.get_feature_importance(X_train,y_train,cat_features=categorical_features_indices)


Out[29]:
[0.0,
 1.1129709561865988,
 4.4016411556994965,
 6.1345647175531255,
 6.998560673937555,
 5.972310613916887,
 37.423568482713634,
 3.0380239859691693,
 1.622082743095675,
 3.1978542547884197,
 10.258152030191379,
 1.7966032786782968,
 2.3300737146483876,
 3.7255273601526704,
 3.442680584435092,
 3.327519385745386,
 0.8214413430669426,
 1.12442581884976,
 0.9372256309116047,
 0.9277285753608542,
 0.796284940893562,
 0.6107597532055076]

In [30]:
prediction_proba[:,1]


Out[30]:
array([ 0.06831,  0.05915,  0.01654, ...,  0.03902,  0.0543 ,  0.04739])

In [31]:
def make_submission(probs):
    sample = pd.read_csv(f'{PATH}//av_sample_submission_n2Tyn0h.csv')
    submit = sample.copy()
    submit['criticality'] = probs
    return submit

In [33]:
submit = make_submission(prediction_proba[:,1])

In [34]:
submit.head(2)


Out[34]:
victim_id criticality
0 VIC20100001032706 0.068305
1 VIC20120000441519 0.059148

In [35]:
submit.to_csv(PATH + 'av_cat_2.csv', index=False)

In [5]:
sub1 = pd.read_csv(PATH + 'av_cat_.csv')

In [6]:
sub2 = pd.read_csv(PATH + 'av_cat_2.csv')

In [ ]:
sub3 = pd.read_csv(PATH)

In [7]:
sub1.head(1)


Out[7]:
victim_id criticality
0 VIC20100001032706 0.069681

In [8]:
sub2.head(2)


Out[8]:
victim_id criticality
0 VIC20100001032706 0.068305
1 VIC20120000441519 0.059148

In [9]:
pred1 = sub1['criticality'];
pred2 = sub2['criticality'];

In [11]:
pred3 = (.4*pred1 + .6*pred2)/2.

In [12]:
sub1['criticality'] = pred3

In [13]:
sub1.to_csv(PATH + 'av_cat_1_2_.csv', index=False)

gridcv


In [204]:
from sklearn.ensemble import GradientBoostingClassifier  #GBM algorithm
from sklearn import cross_validation, metrics   #Additional scklearn functions
from sklearn.grid_search import GridSearchCV   #Perforing grid search


C:\ProgramData\Anaconda3\lib\site-packages\sklearn\cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)
C:\ProgramData\Anaconda3\lib\site-packages\sklearn\grid_search.py:42: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
  DeprecationWarning)

In [209]:
def modelfit(alg, dtrain, predictors, performCV=True, printFeatureImportance=True, cv_folds=5):
    #Fit the algorithm on the data
    alg.fit(dtrain[predictors], y)
        
    #Predict training set:
    dtrain_predictions = alg.predict(dtrain[predictors])
    dtrain_predprob = alg.predict_proba(dtrain[predictors])[:,1]
    
    #Perform cross-validation:
    if performCV:
        cv_score = cross_validation.cross_val_score(alg, dtrain[predictors], y, cv=cv_folds, scoring='roc_auc')
    
    #Print model report:
    print ("\nModel Report")
    print ("Accuracy : %.4g" % metrics.accuracy_score(y , dtrain_predictions))
    print ("AUC Score (Train): %f" % metrics.roc_auc_score(y , dtrain_predprob))
    
    if performCV:
        print ("CV Score : Mean - %.7g | Std - %.7g | Min - %.7g | Max - %.7g" % (np.mean(cv_score),np.std(cv_score),np.min(cv_score),np.max(cv_score)))
        
    #Print Feature Importance:
    if printFeatureImportance:
        feat_imp = pd.Series(alg.feature_importances_, predictors).sort_values(ascending=False)
        plt.figure(figsize=(20,20))
        feat_imp.plot(kind='bar', title='Feature Importances')
        plt.ylabel('Feature Importance Score')

In [210]:
#Choose all predictors except target & IDcols
predictors = df.columns
gbm0 = GradientBoostingClassifier(random_state=10)
modelfit(gbm0, df, predictors)


Model Report
Accuracy : 0.9603
AUC Score (Train): 0.870501
CV Score : Mean - 0.7950892 | Std - 0.02467951 | Min - 0.7703814 | Max - 0.8424375

In [212]:
param_test1 = {'n_estimators':[20, 30, 40, 50, 60, 70, 80, 90]}
gsearch1 = GridSearchCV(estimator = GradientBoostingClassifier(learning_rate=0.05, min_samples_split=500,
                        min_samples_leaf=50,max_depth=8,max_features='sqrt',subsample=0.8,random_state=10), 
                        param_grid = param_test1, scoring='roc_auc',n_jobs=4,iid=False, cv=5)
gsearch1.fit(df[predictors], y)


Out[212]:
GridSearchCV(cv=5, error_score='raise',
       estimator=GradientBoostingClassifier(criterion='friedman_mse', init=None,
              learning_rate=0.05, loss='deviance', max_depth=8,
              max_features='sqrt', max_leaf_nodes=None,
              min_impurity_decrease=0.0, min_impurity_split=None,
              min_samples_leaf=50, min_samples_split=500,
              min_weight_fraction_leaf=0.0, n_estimators=100,
              presort='auto', random_state=10, subsample=0.8, verbose=0,
              warm_start=False),
       fit_params={}, iid=False, n_jobs=4,
       param_grid={'n_estimators': [20, 30, 40, 50, 60, 70, 80, 90]},
       pre_dispatch='2*n_jobs', refit=True, scoring='roc_auc', verbose=0)

In [213]:
gsearch1.grid_scores_, gsearch1.best_params_, gsearch1.best_score_


Out[213]:
([mean: 0.76812, std: 0.02706, params: {'n_estimators': 20},
  mean: 0.77004, std: 0.02740, params: {'n_estimators': 30},
  mean: 0.77381, std: 0.02709, params: {'n_estimators': 40},
  mean: 0.77702, std: 0.02671, params: {'n_estimators': 50},
  mean: 0.78037, std: 0.02678, params: {'n_estimators': 60},
  mean: 0.78425, std: 0.02559, params: {'n_estimators': 70},
  mean: 0.78591, std: 0.02616, params: {'n_estimators': 80},
  mean: 0.78726, std: 0.02711, params: {'n_estimators': 90}],
 {'n_estimators': 90},
 0.7872580277711331)

In [215]:
## Test 2
param_test2 = {'max_depth':[5, 7, 9, 11, 13, 15] ,'min_samples_split': [200, 400, 600, 800, 1000]}
gsearch2 = GridSearchCV(estimator = GradientBoostingClassifier(learning_rate=0.05, n_estimators=90, max_features='sqrt', subsample=0.8, random_state=10), 
param_grid = param_test2, scoring='roc_auc',n_jobs=4,iid=False, cv=5)

In [216]:
gsearch2.fit(df[predictors], y)
gsearch2.grid_scores_, gsearch2.best_params_, gsearch2.best_score_


Out[216]:
([mean: 0.78051, std: 0.02758, params: {'max_depth': 5, 'min_samples_split': 200},
  mean: 0.78206, std: 0.02766, params: {'max_depth': 5, 'min_samples_split': 400},
  mean: 0.78349, std: 0.02935, params: {'max_depth': 5, 'min_samples_split': 600},
  mean: 0.78399, std: 0.03035, params: {'max_depth': 5, 'min_samples_split': 800},
  mean: 0.78113, std: 0.02870, params: {'max_depth': 5, 'min_samples_split': 1000},
  mean: 0.78132, std: 0.03128, params: {'max_depth': 7, 'min_samples_split': 200},
  mean: 0.78252, std: 0.02891, params: {'max_depth': 7, 'min_samples_split': 400},
  mean: 0.78477, std: 0.02503, params: {'max_depth': 7, 'min_samples_split': 600},
  mean: 0.78607, std: 0.02890, params: {'max_depth': 7, 'min_samples_split': 800},
  mean: 0.78567, std: 0.02563, params: {'max_depth': 7, 'min_samples_split': 1000},
  mean: 0.78175, std: 0.03052, params: {'max_depth': 9, 'min_samples_split': 200},
  mean: 0.78102, std: 0.02997, params: {'max_depth': 9, 'min_samples_split': 400},
  mean: 0.77856, std: 0.02791, params: {'max_depth': 9, 'min_samples_split': 600},
  mean: 0.78273, std: 0.02939, params: {'max_depth': 9, 'min_samples_split': 800},
  mean: 0.78581, std: 0.02958, params: {'max_depth': 9, 'min_samples_split': 1000},
  mean: 0.77360, std: 0.02857, params: {'max_depth': 11, 'min_samples_split': 200},
  mean: 0.77661, std: 0.02433, params: {'max_depth': 11, 'min_samples_split': 400},
  mean: 0.78004, std: 0.02795, params: {'max_depth': 11, 'min_samples_split': 600},
  mean: 0.77862, std: 0.02773, params: {'max_depth': 11, 'min_samples_split': 800},
  mean: 0.78378, std: 0.02755, params: {'max_depth': 11, 'min_samples_split': 1000},
  mean: 0.77162, std: 0.02400, params: {'max_depth': 13, 'min_samples_split': 200},
  mean: 0.77339, std: 0.02792, params: {'max_depth': 13, 'min_samples_split': 400},
  mean: 0.78074, std: 0.02463, params: {'max_depth': 13, 'min_samples_split': 600},
  mean: 0.77830, std: 0.02768, params: {'max_depth': 13, 'min_samples_split': 800},
  mean: 0.78393, std: 0.02380, params: {'max_depth': 13, 'min_samples_split': 1000},
  mean: 0.77288, std: 0.02501, params: {'max_depth': 15, 'min_samples_split': 200},
  mean: 0.77532, std: 0.02042, params: {'max_depth': 15, 'min_samples_split': 400},
  mean: 0.77981, std: 0.02797, params: {'max_depth': 15, 'min_samples_split': 600},
  mean: 0.78247, std: 0.02535, params: {'max_depth': 15, 'min_samples_split': 800},
  mean: 0.78440, std: 0.02115, params: {'max_depth': 15, 'min_samples_split': 1000}],
 {'max_depth': 7, 'min_samples_split': 800},
 0.7860716441858158)

In [217]:
#test 3
param_test3 = {'min_samples_split': [800, 1000, 1200, 1400, 1600] , 'min_samples_leaf': [30, 40, 50, 60, 70]}
gsearch3 = GridSearchCV(estimator = GradientBoostingClassifier(learning_rate=0.05, n_estimators=90,\
                                    max_depth=7,max_features='sqrt', subsample=0.8, random_state=10), 
param_grid = param_test3, scoring='roc_auc',n_jobs=4,iid=False, cv=5)

In [ ]:
gsearch3.fit(df[predictors], y)

In [222]:
gsearch3.grid_scores_, gsearch3.best_params_, gsearch3.best_score_


Out[222]:
([mean: 0.78660, std: 0.02750, params: {'min_samples_leaf': 30, 'min_samples_split': 800},
  mean: 0.78640, std: 0.02748, params: {'min_samples_leaf': 30, 'min_samples_split': 1000},
  mean: 0.78510, std: 0.02794, params: {'min_samples_leaf': 30, 'min_samples_split': 1200},
  mean: 0.78463, std: 0.02771, params: {'min_samples_leaf': 30, 'min_samples_split': 1400},
  mean: 0.78187, std: 0.02797, params: {'min_samples_leaf': 30, 'min_samples_split': 1600},
  mean: 0.78615, std: 0.03011, params: {'min_samples_leaf': 40, 'min_samples_split': 800},
  mean: 0.78732, std: 0.02671, params: {'min_samples_leaf': 40, 'min_samples_split': 1000},
  mean: 0.78704, std: 0.02895, params: {'min_samples_leaf': 40, 'min_samples_split': 1200},
  mean: 0.78528, std: 0.02780, params: {'min_samples_leaf': 40, 'min_samples_split': 1400},
  mean: 0.78355, std: 0.02818, params: {'min_samples_leaf': 40, 'min_samples_split': 1600},
  mean: 0.78623, std: 0.02916, params: {'min_samples_leaf': 50, 'min_samples_split': 800},
  mean: 0.78951, std: 0.02649, params: {'min_samples_leaf': 50, 'min_samples_split': 1000},
  mean: 0.78605, std: 0.02696, params: {'min_samples_leaf': 50, 'min_samples_split': 1200},
  mean: 0.78511, std: 0.02805, params: {'min_samples_leaf': 50, 'min_samples_split': 1400},
  mean: 0.78514, std: 0.02908, params: {'min_samples_leaf': 50, 'min_samples_split': 1600},
  mean: 0.78508, std: 0.02920, params: {'min_samples_leaf': 60, 'min_samples_split': 800},
  mean: 0.78711, std: 0.02683, params: {'min_samples_leaf': 60, 'min_samples_split': 1000},
  mean: 0.78524, std: 0.02867, params: {'min_samples_leaf': 60, 'min_samples_split': 1200},
  mean: 0.78563, std: 0.02896, params: {'min_samples_leaf': 60, 'min_samples_split': 1400},
  mean: 0.78372, std: 0.03005, params: {'min_samples_leaf': 60, 'min_samples_split': 1600},
  mean: 0.78497, std: 0.02866, params: {'min_samples_leaf': 70, 'min_samples_split': 800},
  mean: 0.78627, std: 0.02649, params: {'min_samples_leaf': 70, 'min_samples_split': 1000},
  mean: 0.78524, std: 0.02805, params: {'min_samples_leaf': 70, 'min_samples_split': 1200},
  mean: 0.78399, std: 0.02894, params: {'min_samples_leaf': 70, 'min_samples_split': 1400},
  mean: 0.78280, std: 0.02959, params: {'min_samples_leaf': 70, 'min_samples_split': 1600}],
 {'min_samples_leaf': 50, 'min_samples_split': 1000},
 0.7895124836661931)

In [221]:
modelfit(gsearch3.best_estimator_, df, predictors)


Model Report
Accuracy : 0.9557
AUC Score (Train): 0.857750
CV Score : Mean - 0.7895125 | Std - 0.02649423 | Min - 0.768983 | Max - 0.8403744

In [223]:
#test 4
param_test4 = {'max_features': [7, 9, 11, 13, 15, 17, 19, 21]}
gsearch4 = GridSearchCV(estimator = GradientBoostingClassifier(learning_rate=0.05, min_samples_split = 1000, n_estimators=70,max_depth=7,\
                                                               max_features='sqrt', subsample=0.8, random_state=10,min_samples_leaf = 50), 
param_grid = param_test4, scoring='roc_auc',n_jobs=4,iid=False, cv=5)

In [224]:
gsearch4.fit(df[predictors], y )
gsearch4.grid_scores_, gsearch4.best_params_, gsearch4.best_score_


Out[224]:
([mean: 0.78744, std: 0.02699, params: {'max_features': 7},
  mean: 0.78831, std: 0.02603, params: {'max_features': 9},
  mean: 0.78990, std: 0.02486, params: {'max_features': 11},
  mean: 0.79034, std: 0.02486, params: {'max_features': 13},
  mean: 0.79478, std: 0.02473, params: {'max_features': 15},
  mean: 0.79731, std: 0.02469, params: {'max_features': 17},
  mean: 0.79403, std: 0.02776, params: {'max_features': 19},
  mean: 0.79541, std: 0.02483, params: {'max_features': 21}],
 {'max_features': 17},
 0.7973140508980135)

In [227]:
#test 5
param_test5 = {'subsample':[0.6,0.7,0.75,0.8,0.85,0.9]}
gsearch5 = GridSearchCV(estimator = GradientBoostingClassifier(learning_rate=0.05, min_samples_split = 1000, n_estimators=70,max_depth=7,\
                                                            subsample=0.8, \
                                                               random_state=10,min_samples_leaf = 50,max_features=17), 
param_grid = param_test5, scoring='roc_auc',n_jobs=4,iid=False, cv=5)

In [228]:
gsearch5.fit(df[predictors], y )
gsearch5.grid_scores_, gsearch5.best_params_, gsearch5.best_score_


Out[228]:
([mean: 0.79196, std: 0.02388, params: {'subsample': 0.6},
  mean: 0.79809, std: 0.02678, params: {'subsample': 0.7},
  mean: 0.79499, std: 0.02698, params: {'subsample': 0.75},
  mean: 0.79731, std: 0.02469, params: {'subsample': 0.8},
  mean: 0.79579, std: 0.02545, params: {'subsample': 0.85},
  mean: 0.79430, std: 0.02638, params: {'subsample': 0.9}],
 {'subsample': 0.7},
 0.7980930249966234)

In [232]:
gbm_tuned_2 = GradientBoostingClassifier(learning_rate=0.05, min_samples_split = 1000, n_estimators=500,max_depth=10,\
                                        subsample=0.8, random_state=10,min_samples_leaf = 50,max_features=17)
modelfit(gbm_tuned_2, df, predictors)


Model Report
Accuracy : 0.9666
AUC Score (Train): 0.982117
CV Score : Mean - 0.7730332 | Std - 0.02045937 | Min - 0.7509213 | Max - 0.8020239

In [235]:
test.info()


<class 'pandas.core.frame.DataFrame'>
RangeIndex: 5048 entries, 0 to 5047
Data columns (total 22 columns):
victim_id                     5048 non-null category
incident_time                 5048 non-null category
incident_location             5048 non-null category
incident_tehsil               5048 non-null category
cause_of_emergency            5048 non-null category
base_to_scene_distance        5048 non-null int64
scene_to_hospital_distance    5048 non-null int64
roadway_feature               5048 non-null category
road_type                     5048 non-null category
surrounding_area              5048 non-null category
incident_Year                 5048 non-null int64
incident_Month                5048 non-null int64
incident_Week                 5048 non-null int64
incident_Day                  5048 non-null int64
incident_Dayofweek            5048 non-null int64
incident_Dayofyear            5048 non-null int64
incident_Is_month_end         5048 non-null bool
incident_Is_month_start       5048 non-null bool
incident_Is_quarter_end       5048 non-null bool
incident_Is_quarter_start     5048 non-null bool
incident_Is_year_end          5048 non-null bool
incident_Is_year_start        5048 non-null bool
dtypes: bool(6), category(8), int64(8)
memory usage: 899.9 KB

In [233]:
prediction_proba_2 = gbm_tuned_2.predict_proba(test)


---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-233-5e1979a5407b> in <module>()
----> 1 prediction_proba_2 = gbm_tuned_2.predict_proba(test)

C:\ProgramData\Anaconda3\lib\site-packages\sklearn\ensemble\gradient_boosting.py in predict_proba(self, X)
   1577             classes corresponds to that in the attribute `classes_`.
   1578         """
-> 1579         score = self.decision_function(X)
   1580         try:
   1581             return self.loss_._score_to_proba(score)

C:\ProgramData\Anaconda3\lib\site-packages\sklearn\ensemble\gradient_boosting.py in decision_function(self, X)
   1484             [n_samples].
   1485         """
-> 1486         X = check_array(X, dtype=DTYPE, order="C",  accept_sparse='csr')
   1487         score = self._decision_function(X)
   1488         if score.shape[1] == 1:

C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils\validation.py in check_array(array, accept_sparse, dtype, order, copy, force_all_finite, ensure_2d, allow_nd, ensure_min_samples, ensure_min_features, warn_on_dtype, estimator)
    431                                       force_all_finite)
    432     else:
--> 433         array = np.array(array, dtype=dtype, order=order, copy=copy)
    434 
    435         if ensure_2d:

ValueError: could not convert string to float: 'AGL'

In [ ]:
submit = make_submission(prediction_proba_2[:,1])