In [1]:
import pandas as pd
import numpy as np
import tensorflow as tf
from sklearn.cross_validation import train_test_split
import xgboost as xgb
from scipy import sparse
from sklearn.feature_extraction import FeatureHasher
from scipy.sparse import coo_matrix,csr_matrix,csc_matrix, hstack
from sklearn.preprocessing import normalize
from sklearn.utils import shuffle
from sklearn import linear_model
import gc
from sklearn import preprocessing

In [2]:
import matplotlib.pyplot as plt
%matplotlib inline

In [3]:
predictors_target_11 = ['ruta_freq', 'clien_freq', 'agen_freq', 'prod_freq',
       'agen_for_log_de', 'ruta_for_log_de', 'cliente_for_log_de',
       'producto_for_log_de', 'agen_ruta_for_log_de',
       'agen_cliente_for_log_de', 'agen_producto_for_log_de',
       'ruta_cliente_for_log_de', 'ruta_producto_for_log_de',
       'cliente_producto_for_log_de', 'cliente_for_log_sum',
       'cliente_producto_agen_for_log_sum', 'corr', 't_min_6', 't_min_2',
       't_min_3', 't_min_4', 't_min_5', 't2_min_t6', 't3_min_t6',
       't4_min_t6', 't5_min_t6', 't2_min_t3', 't2_min_t4', 't2_min_t5',
       't3_min_t4', 't3_min_t5', 't4_min_t5', 'LR_prod', 'LR_prod_corr',
       'target', 't_m_6_cum', 't_m_5_cum', 't_m_4_cum', 't_m_3_cum',
       't_m_2_cum', 'NombreCliente', 'weight', 'weight_per_piece', 'pieces']

In [4]:
predictors_11 = ['ruta_freq', 'clien_freq', 'agen_freq',
       'prod_freq', 'agen_for_log_de', 'ruta_for_log_de',
       'cliente_for_log_de', 'producto_for_log_de', 'agen_ruta_for_log_de',
       'agen_cliente_for_log_de', 'agen_producto_for_log_de',
       'ruta_cliente_for_log_de', 'ruta_producto_for_log_de',
       'cliente_producto_for_log_de', 'cliente_for_log_sum',
       'cliente_producto_agen_for_log_sum', 'corr', 't_min_6', 't_min_2',
       't_min_3', 't_min_4', 't_min_5', 't2_min_t6', 't3_min_t6',
       't4_min_t6', 't5_min_t6', 't2_min_t3', 't2_min_t4', 't2_min_t5',
       't3_min_t4', 't3_min_t5', 't4_min_t5', 'LR_prod', 'LR_prod_corr',
       't_m_6_cum', 't_m_5_cum', 't_m_4_cum', 't_m_3_cum', 't_m_2_cum',
       'NombreCliente', 'weight', 'weight_per_piece', 'pieces']

In [5]:
train_pivot_xgb_time2 = pd.read_csv('train_pivot_34567_to_9.csv',usecols = predictors_target_11,dtype = np.float32)

In [6]:
train_pivot_xgb_time2.columns.values


Out[6]:
array(['ruta_freq', 'clien_freq', 'agen_freq', 'prod_freq',
       'agen_for_log_de', 'ruta_for_log_de', 'cliente_for_log_de',
       'producto_for_log_de', 'agen_ruta_for_log_de',
       'agen_cliente_for_log_de', 'agen_producto_for_log_de',
       'ruta_cliente_for_log_de', 'ruta_producto_for_log_de',
       'cliente_producto_for_log_de', 'cliente_for_log_sum',
       'cliente_producto_agen_for_log_sum', 'corr', 't_min_6', 't_min_2',
       't_min_3', 't_min_4', 't_min_5', 't2_min_t6', 't3_min_t6',
       't4_min_t6', 't5_min_t6', 't2_min_t3', 't2_min_t4', 't2_min_t5',
       't3_min_t4', 't3_min_t5', 't4_min_t5', 'LR_prod', 'LR_prod_corr',
       'target', 't_m_6_cum', 't_m_5_cum', 't_m_4_cum', 't_m_3_cum',
       't_m_2_cum', 'NombreCliente', 'weight', 'weight_per_piece', 'pieces'], dtype=object)

In [7]:
train_pivot_xgb_time2.head()


Out[7]:
ruta_freq clien_freq agen_freq prod_freq agen_for_log_de ruta_for_log_de cliente_for_log_de producto_for_log_de agen_ruta_for_log_de agen_cliente_for_log_de ... target t_m_6_cum t_m_5_cum t_m_4_cum t_m_3_cum t_m_2_cum NombreCliente weight weight_per_piece pieces
0 11.0 160.0 4017.0 2159.0 3.936934 3.095841 2.897803 3.106304 3.095841 3.015667 ... 4.574711 0.000000 0.000000 0.000000 0.000000 0.000000 233.0 600.0 75.00 8.0
1 548.0 160.0 12574.0 15736.0 3.489749 3.208231 2.897803 1.563950 2.877003 2.877003 ... 2.639057 3.044523 5.877736 8.650325 11.422914 14.367352 18989.0 640.0 NaN NaN
2 548.0 160.0 12574.0 7432.0 3.489749 3.208231 2.897803 2.637196 2.877003 2.877003 ... 2.397895 1.386294 1.386294 1.386294 1.386294 1.386294 18989.0 180.0 30.00 6.0
3 548.0 160.0 12574.0 17261.0 3.489749 3.208231 2.897803 2.674463 2.877003 2.877003 ... 3.784190 3.784190 7.218177 11.024839 14.580188 18.191105 18989.0 450.0 56.25 8.0
4 548.0 160.0 12574.0 87803.0 3.489749 3.208231 2.897803 1.730373 2.877003 2.877003 ... 4.682131 4.795791 9.202510 12.963710 17.212206 21.786917 18989.0 340.0 42.50 8.0

5 rows × 44 columns


In [8]:
train_pivot_xgb_time2.shape


Out[8]:
(10385350, 44)

In [9]:
train_pivot_56789_to_11 = pd.read_csv('train_pivot_56789_to_11_private.csv',dtype=np.float32)

In [10]:
train_pivot_56789_to_11.head()


Out[10]:
id ruta_freq clien_freq agen_freq prod_freq agen_for_log_de ruta_for_log_de cliente_for_log_de producto_for_log_de agen_ruta_for_log_de ... LR_prod_corr t_m_6_cum t_m_5_cum t_m_4_cum t_m_3_cum t_m_2_cum NombreCliente weight weight_per_piece pieces
0 1547831.0 713.0 166.0 12208.0 91578.0 3.523074 3.222417 2.890955 1.724493 2.835826 ... 7.372772 3.761200 8.009695 12.584406 17.084215 21.766348 5954.0 340.0 42.500 8.0
1 6825659.0 713.0 166.0 12208.0 10780.0 3.523074 3.222417 2.890955 3.987424 2.835826 ... 18.803841 0.000000 2.833213 6.165418 8.730368 11.949243 5954.0 480.0 NaN NaN
2 5853787.0 713.0 166.0 12208.0 11047.0 3.523074 3.222417 2.890955 2.694399 2.835826 ... 11.708699 1.791759 4.564348 6.962244 10.006766 13.002499 5954.0 567.0 NaN NaN
3 2316053.0 713.0 166.0 12208.0 4912.0 3.523074 3.222417 2.890955 2.392465 2.835826 ... 10.535754 0.000000 0.000000 0.000000 0.000000 1.386294 5954.0 435.0 54.375 8.0
4 900676.0 713.0 166.0 12208.0 10614.0 3.523074 3.222417 2.890955 2.745177 2.835826 ... 12.040730 1.098612 1.098612 1.098612 2.890372 5.934894 5954.0 248.0 62.000 4.0

5 rows × 44 columns


In [18]:
train_pivot_56789_to_11.columns.values


Out[18]:
array(['id', 'ruta_freq', 'clien_freq', 'agen_freq', 'prod_freq',
       'agen_for_log_de', 'ruta_for_log_de', 'cliente_for_log_de',
       'producto_for_log_de', 'agen_ruta_for_log_de',
       'agen_cliente_for_log_de', 'agen_producto_for_log_de',
       'ruta_cliente_for_log_de', 'ruta_producto_for_log_de',
       'cliente_producto_for_log_de', 'cliente_for_log_sum',
       'cliente_producto_agen_for_log_sum', 'corr', 't_min_6', 't_min_2',
       't_min_3', 't_min_4', 't_min_5', 't2_min_t6', 't3_min_t6',
       't4_min_t6', 't5_min_t6', 't2_min_t3', 't2_min_t4', 't2_min_t5',
       't3_min_t4', 't3_min_t5', 't4_min_t5', 'LR_prod', 'LR_prod_corr',
       't_m_6_cum', 't_m_5_cum', 't_m_4_cum', 't_m_3_cum', 't_m_2_cum',
       'NombreCliente', 'weight', 'weight_per_piece', 'pieces'], dtype=object)

begin xgboost



In [11]:
train_feature_11 = train_pivot_xgb_time2.drop(['target'],axis = 1)
train_label_11 = train_pivot_xgb_time2['target']

dtrain_11 = xgb.DMatrix(train_feature_11,label = train_label_11,missing= np.nan)

In [92]:
#right now the best is this parameter set with 700 round
param_11 = {'booster':'gbtree',
         'nthread': 8,
         'max_depth':8, 
         'eta':0.015,
         'silent':1,
         'subsample':0.5, 
         'objective':'reg:linear',
         'eval_metric':'rmse',
         'colsample_bytree':0.5}

In [43]:
# # for cv
# num_round = 1400

# cvresult = xgb.cv(param_11, dtrain_11, num_round, nfold=4,show_stdv=False,
#                         seed = 0, verbose_eval = 1)
# print(cvresult.tail())

In [131]:
# for real train
num_round = 2200
evallist = [(dtrain_11,'train')]
bst = xgb.train(param_11, dtrain_11, num_round,evallist)


[0]	train-rmse:1.35068
[1]	train-rmse:1.33297
[2]	train-rmse:1.31555
[3]	train-rmse:1.29857
[4]	train-rmse:1.28177
[5]	train-rmse:1.26544
[6]	train-rmse:1.2493
[7]	train-rmse:1.23334
[8]	train-rmse:1.21778
[9]	train-rmse:1.20234
[10]	train-rmse:1.18717
[11]	train-rmse:1.17227
[12]	train-rmse:1.15764
[13]	train-rmse:1.14325
[14]	train-rmse:1.12907
[15]	train-rmse:1.11514
[16]	train-rmse:1.10143
[17]	train-rmse:1.08799
[18]	train-rmse:1.07478
[19]	train-rmse:1.06182
[20]	train-rmse:1.0491
[21]	train-rmse:1.03677
[22]	train-rmse:1.02445
[23]	train-rmse:1.01235
[24]	train-rmse:1.00063
[25]	train-rmse:0.989205
[26]	train-rmse:0.977832
[27]	train-rmse:0.966595
[28]	train-rmse:0.955548
[29]	train-rmse:0.944862
[30]	train-rmse:0.934253
[31]	train-rmse:0.923844
[32]	train-rmse:0.913594
[33]	train-rmse:0.903533
[34]	train-rmse:0.893702
[35]	train-rmse:0.884046
[36]	train-rmse:0.874552
[37]	train-rmse:0.865223
[38]	train-rmse:0.856063
[39]	train-rmse:0.847138
[40]	train-rmse:0.838336
[41]	train-rmse:0.829915
[42]	train-rmse:0.821547
[43]	train-rmse:0.813318
[44]	train-rmse:0.80518
[45]	train-rmse:0.797244
[46]	train-rmse:0.78942
[47]	train-rmse:0.781744
[48]	train-rmse:0.774356
[49]	train-rmse:0.767098
[50]	train-rmse:0.759885
[51]	train-rmse:0.752821
[52]	train-rmse:0.745895
[53]	train-rmse:0.739203
[54]	train-rmse:0.732639
[55]	train-rmse:0.726235
[56]	train-rmse:0.719865
[57]	train-rmse:0.713614
[58]	train-rmse:0.707488
[59]	train-rmse:0.701498
[60]	train-rmse:0.695686
[61]	train-rmse:0.689953
[62]	train-rmse:0.68439
[63]	train-rmse:0.678897
[64]	train-rmse:0.673515
[65]	train-rmse:0.668255
[66]	train-rmse:0.663121
[67]	train-rmse:0.658086
[68]	train-rmse:0.653165
[69]	train-rmse:0.648399
[70]	train-rmse:0.643812
[71]	train-rmse:0.639186
[72]	train-rmse:0.634686
[73]	train-rmse:0.630329
[74]	train-rmse:0.626033
[75]	train-rmse:0.621863
[76]	train-rmse:0.617788
[77]	train-rmse:0.613783
[78]	train-rmse:0.609819
[79]	train-rmse:0.606018
[80]	train-rmse:0.602257
[81]	train-rmse:0.598558
[82]	train-rmse:0.594973
[83]	train-rmse:0.59147
[84]	train-rmse:0.588031
[85]	train-rmse:0.584705
[86]	train-rmse:0.581433
[87]	train-rmse:0.578254
[88]	train-rmse:0.575145
[89]	train-rmse:0.572117
[90]	train-rmse:0.569167
[91]	train-rmse:0.56629
[92]	train-rmse:0.563492
[93]	train-rmse:0.560733
[94]	train-rmse:0.5581
[95]	train-rmse:0.555454
[96]	train-rmse:0.55289
[97]	train-rmse:0.550383
[98]	train-rmse:0.548054
[99]	train-rmse:0.545672
[100]	train-rmse:0.543342
[101]	train-rmse:0.541081
[102]	train-rmse:0.53888
[103]	train-rmse:0.536719
[104]	train-rmse:0.534629
[105]	train-rmse:0.532617
[106]	train-rmse:0.530637
[107]	train-rmse:0.528736
[108]	train-rmse:0.526832
[109]	train-rmse:0.525011
[110]	train-rmse:0.523212
[111]	train-rmse:0.521474
[112]	train-rmse:0.519767
[113]	train-rmse:0.518162
[114]	train-rmse:0.516555
[115]	train-rmse:0.514982
[116]	train-rmse:0.513459
[117]	train-rmse:0.511949
[118]	train-rmse:0.510484
[119]	train-rmse:0.50906
[120]	train-rmse:0.507668
[121]	train-rmse:0.506307
[122]	train-rmse:0.504989
[123]	train-rmse:0.503691
[124]	train-rmse:0.502438
[125]	train-rmse:0.501222
[126]	train-rmse:0.500051
[127]	train-rmse:0.498912
[128]	train-rmse:0.497779
[129]	train-rmse:0.496706
[130]	train-rmse:0.495631
[131]	train-rmse:0.494587
[132]	train-rmse:0.493579
[133]	train-rmse:0.492593
[134]	train-rmse:0.491649
[135]	train-rmse:0.490717
[136]	train-rmse:0.48979
[137]	train-rmse:0.488886
[138]	train-rmse:0.488035
[139]	train-rmse:0.487175
[140]	train-rmse:0.486352
[141]	train-rmse:0.485541
[142]	train-rmse:0.484764
[143]	train-rmse:0.483985
[144]	train-rmse:0.483258
[145]	train-rmse:0.482556
[146]	train-rmse:0.481845
[147]	train-rmse:0.481166
[148]	train-rmse:0.480512
[149]	train-rmse:0.479875
[150]	train-rmse:0.479245
[151]	train-rmse:0.478633
[152]	train-rmse:0.47807
[153]	train-rmse:0.477503
[154]	train-rmse:0.476946
[155]	train-rmse:0.476377
[156]	train-rmse:0.475862
[157]	train-rmse:0.47534
[158]	train-rmse:0.474827
[159]	train-rmse:0.474322
[160]	train-rmse:0.473832
[161]	train-rmse:0.47334
[162]	train-rmse:0.472885
[163]	train-rmse:0.472447
[164]	train-rmse:0.471997
[165]	train-rmse:0.471552
[166]	train-rmse:0.471146
[167]	train-rmse:0.470766
[168]	train-rmse:0.470375
[169]	train-rmse:0.469985
[170]	train-rmse:0.46959
[171]	train-rmse:0.469227
[172]	train-rmse:0.468872
[173]	train-rmse:0.468508
[174]	train-rmse:0.468161
[175]	train-rmse:0.467822
[176]	train-rmse:0.467495
[177]	train-rmse:0.46719
[178]	train-rmse:0.46688
[179]	train-rmse:0.466585
[180]	train-rmse:0.466278
[181]	train-rmse:0.465991
[182]	train-rmse:0.465704
[183]	train-rmse:0.465437
[184]	train-rmse:0.465171
[185]	train-rmse:0.464897
[186]	train-rmse:0.464644
[187]	train-rmse:0.464391
[188]	train-rmse:0.464139
[189]	train-rmse:0.463906
[190]	train-rmse:0.463663
[191]	train-rmse:0.463436
[192]	train-rmse:0.463216
[193]	train-rmse:0.463003
[194]	train-rmse:0.462801
[195]	train-rmse:0.462603
[196]	train-rmse:0.462394
[197]	train-rmse:0.46219
[198]	train-rmse:0.462002
[199]	train-rmse:0.461822
[200]	train-rmse:0.461637
[201]	train-rmse:0.46145
[202]	train-rmse:0.461287
[203]	train-rmse:0.461123
[204]	train-rmse:0.460949
[205]	train-rmse:0.460794
[206]	train-rmse:0.460621
[207]	train-rmse:0.460464
[208]	train-rmse:0.46032
[209]	train-rmse:0.460172
[210]	train-rmse:0.460022
[211]	train-rmse:0.459879
[212]	train-rmse:0.459753
[213]	train-rmse:0.459624
[214]	train-rmse:0.459491
[215]	train-rmse:0.459363
[216]	train-rmse:0.459249
[217]	train-rmse:0.459121
[218]	train-rmse:0.458988
[219]	train-rmse:0.458878
[220]	train-rmse:0.458762
[221]	train-rmse:0.458652
[222]	train-rmse:0.458522
[223]	train-rmse:0.458402
[224]	train-rmse:0.458291
[225]	train-rmse:0.458198
[226]	train-rmse:0.458085
[227]	train-rmse:0.457982
[228]	train-rmse:0.457896
[229]	train-rmse:0.457791
[230]	train-rmse:0.457678
[231]	train-rmse:0.457577
[232]	train-rmse:0.457478
[233]	train-rmse:0.457396
[234]	train-rmse:0.457306
[235]	train-rmse:0.457217
[236]	train-rmse:0.457114
[237]	train-rmse:0.457039
[238]	train-rmse:0.456972
[239]	train-rmse:0.456867
[240]	train-rmse:0.456791
[241]	train-rmse:0.456711
[242]	train-rmse:0.456626
[243]	train-rmse:0.456542
[244]	train-rmse:0.456481
[245]	train-rmse:0.456416
[246]	train-rmse:0.456347
[247]	train-rmse:0.456289
[248]	train-rmse:0.456211
[249]	train-rmse:0.456143
[250]	train-rmse:0.456066
[251]	train-rmse:0.455988
[252]	train-rmse:0.455917
[253]	train-rmse:0.455855
[254]	train-rmse:0.4558
[255]	train-rmse:0.455741
[256]	train-rmse:0.455677
[257]	train-rmse:0.455611
[258]	train-rmse:0.455557
[259]	train-rmse:0.455504
[260]	train-rmse:0.455434
[261]	train-rmse:0.455369
[262]	train-rmse:0.455314
[263]	train-rmse:0.455252
[264]	train-rmse:0.455192
[265]	train-rmse:0.455129
[266]	train-rmse:0.455084
[267]	train-rmse:0.455041
[268]	train-rmse:0.454992
[269]	train-rmse:0.45494
[270]	train-rmse:0.454899
[271]	train-rmse:0.454848
[272]	train-rmse:0.454806
[273]	train-rmse:0.454753
[274]	train-rmse:0.454692
[275]	train-rmse:0.454647
[276]	train-rmse:0.454596
[277]	train-rmse:0.454561
[278]	train-rmse:0.454511
[279]	train-rmse:0.454464
[280]	train-rmse:0.454424
[281]	train-rmse:0.454384
[282]	train-rmse:0.454333
[283]	train-rmse:0.454303
[284]	train-rmse:0.454264
[285]	train-rmse:0.454217
[286]	train-rmse:0.454178
[287]	train-rmse:0.454143
[288]	train-rmse:0.45411
[289]	train-rmse:0.454063
[290]	train-rmse:0.454018
[291]	train-rmse:0.453991
[292]	train-rmse:0.453945
[293]	train-rmse:0.453908
[294]	train-rmse:0.453864
[295]	train-rmse:0.453826
[296]	train-rmse:0.453783
[297]	train-rmse:0.453748
[298]	train-rmse:0.453707
[299]	train-rmse:0.453672
[300]	train-rmse:0.453627
[301]	train-rmse:0.453597
[302]	train-rmse:0.453568
[303]	train-rmse:0.453527
[304]	train-rmse:0.453504
[305]	train-rmse:0.453461
[306]	train-rmse:0.453429
[307]	train-rmse:0.453393
[308]	train-rmse:0.453359
[309]	train-rmse:0.453322
[310]	train-rmse:0.453288
[311]	train-rmse:0.453243
[312]	train-rmse:0.453217
[313]	train-rmse:0.45319
[314]	train-rmse:0.453152
[315]	train-rmse:0.453126
[316]	train-rmse:0.4531
[317]	train-rmse:0.453067
[318]	train-rmse:0.45303
[319]	train-rmse:0.453004
[320]	train-rmse:0.452976
[321]	train-rmse:0.45295
[322]	train-rmse:0.452921
[323]	train-rmse:0.452898
[324]	train-rmse:0.452872
[325]	train-rmse:0.452839
[326]	train-rmse:0.452799
[327]	train-rmse:0.452757
[328]	train-rmse:0.452722
[329]	train-rmse:0.452686
[330]	train-rmse:0.45266
[331]	train-rmse:0.452635
[332]	train-rmse:0.452608
[333]	train-rmse:0.45257
[334]	train-rmse:0.452537
[335]	train-rmse:0.45251
[336]	train-rmse:0.452486
[337]	train-rmse:0.452451
[338]	train-rmse:0.452429
[339]	train-rmse:0.45241
[340]	train-rmse:0.452376
[341]	train-rmse:0.45235
[342]	train-rmse:0.452313
[343]	train-rmse:0.452295
[344]	train-rmse:0.452259
[345]	train-rmse:0.45224
[346]	train-rmse:0.452214
[347]	train-rmse:0.45219
[348]	train-rmse:0.452169
[349]	train-rmse:0.452146
[350]	train-rmse:0.45212
[351]	train-rmse:0.4521
[352]	train-rmse:0.452075
[353]	train-rmse:0.452047
[354]	train-rmse:0.452021
[355]	train-rmse:0.45199
[356]	train-rmse:0.451973
[357]	train-rmse:0.451952
[358]	train-rmse:0.451932
[359]	train-rmse:0.451903
[360]	train-rmse:0.45188
[361]	train-rmse:0.451863
[362]	train-rmse:0.451839
[363]	train-rmse:0.451821
[364]	train-rmse:0.451787
[365]	train-rmse:0.451763
[366]	train-rmse:0.451739
[367]	train-rmse:0.451701
[368]	train-rmse:0.451678
[369]	train-rmse:0.451655
[370]	train-rmse:0.451627
[371]	train-rmse:0.451593
[372]	train-rmse:0.451573
[373]	train-rmse:0.451555
[374]	train-rmse:0.451528
[375]	train-rmse:0.451506
[376]	train-rmse:0.451487
[377]	train-rmse:0.451472
[378]	train-rmse:0.451454
[379]	train-rmse:0.451433
[380]	train-rmse:0.451419
[381]	train-rmse:0.451399
[382]	train-rmse:0.451381
[383]	train-rmse:0.45136
[384]	train-rmse:0.451342
[385]	train-rmse:0.451322
[386]	train-rmse:0.451308
[387]	train-rmse:0.451288
[388]	train-rmse:0.451266
[389]	train-rmse:0.451245
[390]	train-rmse:0.451224
[391]	train-rmse:0.451209
[392]	train-rmse:0.451192
[393]	train-rmse:0.451162
[394]	train-rmse:0.451145
[395]	train-rmse:0.451123
[396]	train-rmse:0.451107
[397]	train-rmse:0.451084
[398]	train-rmse:0.451069
[399]	train-rmse:0.451057
[400]	train-rmse:0.451035
[401]	train-rmse:0.451015
[402]	train-rmse:0.451002
[403]	train-rmse:0.450982
[404]	train-rmse:0.450968
[405]	train-rmse:0.450948
[406]	train-rmse:0.450934
[407]	train-rmse:0.45092
[408]	train-rmse:0.450908
[409]	train-rmse:0.450889
[410]	train-rmse:0.450867
[411]	train-rmse:0.450845
[412]	train-rmse:0.45083
[413]	train-rmse:0.45081
[414]	train-rmse:0.450792
[415]	train-rmse:0.450768
[416]	train-rmse:0.450743
[417]	train-rmse:0.450726
[418]	train-rmse:0.450705
[419]	train-rmse:0.450687
[420]	train-rmse:0.450669
[421]	train-rmse:0.450654
[422]	train-rmse:0.450633
[423]	train-rmse:0.450601
[424]	train-rmse:0.450574
[425]	train-rmse:0.450557
[426]	train-rmse:0.450538
[427]	train-rmse:0.450516
[428]	train-rmse:0.450497
[429]	train-rmse:0.450481
[430]	train-rmse:0.450461
[431]	train-rmse:0.450443
[432]	train-rmse:0.450423
[433]	train-rmse:0.450408
[434]	train-rmse:0.450395
[435]	train-rmse:0.450381
[436]	train-rmse:0.450369
[437]	train-rmse:0.450348
[438]	train-rmse:0.450332
[439]	train-rmse:0.450313
[440]	train-rmse:0.450304
[441]	train-rmse:0.45028
[442]	train-rmse:0.450259
[443]	train-rmse:0.450241
[444]	train-rmse:0.450227
[445]	train-rmse:0.450209
[446]	train-rmse:0.450188
[447]	train-rmse:0.450165
[448]	train-rmse:0.450147
[449]	train-rmse:0.450129
[450]	train-rmse:0.450114
[451]	train-rmse:0.450098
[452]	train-rmse:0.450084
[453]	train-rmse:0.45007
[454]	train-rmse:0.45006
[455]	train-rmse:0.450041
[456]	train-rmse:0.450025
[457]	train-rmse:0.450005
[458]	train-rmse:0.449988
[459]	train-rmse:0.449977
[460]	train-rmse:0.449966
[461]	train-rmse:0.449952
[462]	train-rmse:0.449941
[463]	train-rmse:0.449927
[464]	train-rmse:0.449915
[465]	train-rmse:0.449899
[466]	train-rmse:0.449886
[467]	train-rmse:0.449872
[468]	train-rmse:0.449852
[469]	train-rmse:0.449838
[470]	train-rmse:0.449825
[471]	train-rmse:0.449812
[472]	train-rmse:0.449803
[473]	train-rmse:0.44979
[474]	train-rmse:0.449779
[475]	train-rmse:0.44976
[476]	train-rmse:0.449742
[477]	train-rmse:0.449729
[478]	train-rmse:0.449715
[479]	train-rmse:0.449705
[480]	train-rmse:0.449697
[481]	train-rmse:0.449681
[482]	train-rmse:0.449668
[483]	train-rmse:0.449655
[484]	train-rmse:0.449645
[485]	train-rmse:0.449623
[486]	train-rmse:0.449607
[487]	train-rmse:0.449596
[488]	train-rmse:0.449579
[489]	train-rmse:0.449566
[490]	train-rmse:0.449551
[491]	train-rmse:0.44954
[492]	train-rmse:0.449531
[493]	train-rmse:0.449519
[494]	train-rmse:0.4495
[495]	train-rmse:0.449487
[496]	train-rmse:0.449471
[497]	train-rmse:0.44946
[498]	train-rmse:0.449449
[499]	train-rmse:0.449437
[500]	train-rmse:0.449423
[501]	train-rmse:0.44941
[502]	train-rmse:0.449396
[503]	train-rmse:0.449384
[504]	train-rmse:0.449373
[505]	train-rmse:0.449354
[506]	train-rmse:0.449342
[507]	train-rmse:0.449331
[508]	train-rmse:0.449317
[509]	train-rmse:0.449307
[510]	train-rmse:0.44929
[511]	train-rmse:0.449284
[512]	train-rmse:0.449273
[513]	train-rmse:0.449258
[514]	train-rmse:0.449248
[515]	train-rmse:0.44924
[516]	train-rmse:0.449229
[517]	train-rmse:0.449219
[518]	train-rmse:0.44921
[519]	train-rmse:0.449202
[520]	train-rmse:0.449186
[521]	train-rmse:0.449173
[522]	train-rmse:0.449163
[523]	train-rmse:0.449153
[524]	train-rmse:0.449136
[525]	train-rmse:0.449125
[526]	train-rmse:0.449117
[527]	train-rmse:0.449102
[528]	train-rmse:0.44909
[529]	train-rmse:0.449075
[530]	train-rmse:0.449064
[531]	train-rmse:0.449049
[532]	train-rmse:0.449033
[533]	train-rmse:0.449022
[534]	train-rmse:0.44901
[535]	train-rmse:0.448999
[536]	train-rmse:0.448991
[537]	train-rmse:0.448979
[538]	train-rmse:0.44897
[539]	train-rmse:0.448963
[540]	train-rmse:0.448951
[541]	train-rmse:0.44894
[542]	train-rmse:0.448932
[543]	train-rmse:0.448925
[544]	train-rmse:0.448909
[545]	train-rmse:0.448899
[546]	train-rmse:0.448882
[547]	train-rmse:0.448867
[548]	train-rmse:0.448849
[549]	train-rmse:0.448832
[550]	train-rmse:0.448822
[551]	train-rmse:0.448815
[552]	train-rmse:0.448808
[553]	train-rmse:0.448792
[554]	train-rmse:0.448783
[555]	train-rmse:0.448769
[556]	train-rmse:0.448756
[557]	train-rmse:0.448737
[558]	train-rmse:0.448718
[559]	train-rmse:0.448706
[560]	train-rmse:0.448694
[561]	train-rmse:0.448683
[562]	train-rmse:0.448671
[563]	train-rmse:0.448658
[564]	train-rmse:0.448646
[565]	train-rmse:0.448632
[566]	train-rmse:0.448628
[567]	train-rmse:0.448619
[568]	train-rmse:0.448607
[569]	train-rmse:0.448601
[570]	train-rmse:0.448584
[571]	train-rmse:0.448576
[572]	train-rmse:0.448566
[573]	train-rmse:0.448559
[574]	train-rmse:0.448547
[575]	train-rmse:0.448533
[576]	train-rmse:0.44852
[577]	train-rmse:0.448507
[578]	train-rmse:0.448494
[579]	train-rmse:0.448488
[580]	train-rmse:0.44848
[581]	train-rmse:0.448467
[582]	train-rmse:0.448456
[583]	train-rmse:0.448448
[584]	train-rmse:0.44844
[585]	train-rmse:0.448433
[586]	train-rmse:0.448419
[587]	train-rmse:0.448402
[588]	train-rmse:0.44839
[589]	train-rmse:0.448384
[590]	train-rmse:0.448371
[591]	train-rmse:0.448363
[592]	train-rmse:0.448351
[593]	train-rmse:0.448343
[594]	train-rmse:0.448328
[595]	train-rmse:0.448322
[596]	train-rmse:0.448315
[597]	train-rmse:0.448304
[598]	train-rmse:0.448296
[599]	train-rmse:0.448283
[600]	train-rmse:0.448273
[601]	train-rmse:0.448265
[602]	train-rmse:0.448252
[603]	train-rmse:0.448238
[604]	train-rmse:0.448223
[605]	train-rmse:0.448217
[606]	train-rmse:0.4482
[607]	train-rmse:0.44819
[608]	train-rmse:0.448179
[609]	train-rmse:0.448167
[610]	train-rmse:0.448159
[611]	train-rmse:0.448154
[612]	train-rmse:0.448144
[613]	train-rmse:0.448132
[614]	train-rmse:0.448123
[615]	train-rmse:0.448115
[616]	train-rmse:0.448107
[617]	train-rmse:0.448096
[618]	train-rmse:0.448091
[619]	train-rmse:0.448085
[620]	train-rmse:0.448068
[621]	train-rmse:0.448062
[622]	train-rmse:0.448051
[623]	train-rmse:0.448043
[624]	train-rmse:0.448038
[625]	train-rmse:0.448031
[626]	train-rmse:0.448021
[627]	train-rmse:0.448012
[628]	train-rmse:0.448004
[629]	train-rmse:0.447993
[630]	train-rmse:0.447985
[631]	train-rmse:0.447976
[632]	train-rmse:0.447971
[633]	train-rmse:0.447961
[634]	train-rmse:0.447954
[635]	train-rmse:0.447942
[636]	train-rmse:0.447933
[637]	train-rmse:0.447926
[638]	train-rmse:0.44792
[639]	train-rmse:0.447913
[640]	train-rmse:0.447902
[641]	train-rmse:0.447895
[642]	train-rmse:0.447888
[643]	train-rmse:0.447878
[644]	train-rmse:0.447858
[645]	train-rmse:0.447848
[646]	train-rmse:0.447841
[647]	train-rmse:0.447833
[648]	train-rmse:0.447827
[649]	train-rmse:0.447821
[650]	train-rmse:0.447812
[651]	train-rmse:0.447805
[652]	train-rmse:0.4478
[653]	train-rmse:0.44779
[654]	train-rmse:0.44778
[655]	train-rmse:0.447768
[656]	train-rmse:0.447761
[657]	train-rmse:0.447753
[658]	train-rmse:0.447741
[659]	train-rmse:0.447729
[660]	train-rmse:0.447724
[661]	train-rmse:0.447713
[662]	train-rmse:0.447702
[663]	train-rmse:0.447695
[664]	train-rmse:0.447689
[665]	train-rmse:0.447676
[666]	train-rmse:0.447667
[667]	train-rmse:0.447656
[668]	train-rmse:0.447643
[669]	train-rmse:0.447638
[670]	train-rmse:0.447633
[671]	train-rmse:0.447626
[672]	train-rmse:0.447617
[673]	train-rmse:0.447612
[674]	train-rmse:0.447606
[675]	train-rmse:0.447598
[676]	train-rmse:0.44759
[677]	train-rmse:0.447584
[678]	train-rmse:0.447576
[679]	train-rmse:0.447569
[680]	train-rmse:0.447564
[681]	train-rmse:0.447555
[682]	train-rmse:0.44755
[683]	train-rmse:0.447544
[684]	train-rmse:0.447532
[685]	train-rmse:0.447524
[686]	train-rmse:0.447512
[687]	train-rmse:0.447506
[688]	train-rmse:0.447492
[689]	train-rmse:0.447481
[690]	train-rmse:0.447474
[691]	train-rmse:0.447464
[692]	train-rmse:0.447451
[693]	train-rmse:0.447444
[694]	train-rmse:0.447434
[695]	train-rmse:0.44743
[696]	train-rmse:0.447419
[697]	train-rmse:0.447413
[698]	train-rmse:0.447404
[699]	train-rmse:0.447394
[700]	train-rmse:0.447383
[701]	train-rmse:0.447377
[702]	train-rmse:0.44737
[703]	train-rmse:0.447354
[704]	train-rmse:0.447345
[705]	train-rmse:0.447337
[706]	train-rmse:0.447326
[707]	train-rmse:0.44731
[708]	train-rmse:0.447302
[709]	train-rmse:0.447292
[710]	train-rmse:0.447283
[711]	train-rmse:0.44728
[712]	train-rmse:0.447273
[713]	train-rmse:0.447267
[714]	train-rmse:0.447257
[715]	train-rmse:0.44725
[716]	train-rmse:0.447242
[717]	train-rmse:0.447235
[718]	train-rmse:0.447225
[719]	train-rmse:0.447219
[720]	train-rmse:0.447211
[721]	train-rmse:0.447204
[722]	train-rmse:0.447196
[723]	train-rmse:0.447189
[724]	train-rmse:0.447181
[725]	train-rmse:0.447171
[726]	train-rmse:0.447163
[727]	train-rmse:0.447152
[728]	train-rmse:0.447145
[729]	train-rmse:0.447135
[730]	train-rmse:0.447127
[731]	train-rmse:0.447118
[732]	train-rmse:0.447113
[733]	train-rmse:0.447104
[734]	train-rmse:0.447093
[735]	train-rmse:0.447087
[736]	train-rmse:0.44708
[737]	train-rmse:0.447073
[738]	train-rmse:0.447068
[739]	train-rmse:0.447063
[740]	train-rmse:0.447056
[741]	train-rmse:0.447052
[742]	train-rmse:0.447046
[743]	train-rmse:0.447034
[744]	train-rmse:0.447026
[745]	train-rmse:0.447022
[746]	train-rmse:0.44701
[747]	train-rmse:0.447
[748]	train-rmse:0.44699
[749]	train-rmse:0.44698
[750]	train-rmse:0.44697
[751]	train-rmse:0.446962
[752]	train-rmse:0.446953
[753]	train-rmse:0.446946
[754]	train-rmse:0.446937
[755]	train-rmse:0.446931
[756]	train-rmse:0.446922
[757]	train-rmse:0.446916
[758]	train-rmse:0.446909
[759]	train-rmse:0.446904
[760]	train-rmse:0.446899
[761]	train-rmse:0.446894
[762]	train-rmse:0.446885
[763]	train-rmse:0.446881
[764]	train-rmse:0.446868
[765]	train-rmse:0.446861
[766]	train-rmse:0.44685
[767]	train-rmse:0.446844
[768]	train-rmse:0.44684
[769]	train-rmse:0.446832
[770]	train-rmse:0.446824
[771]	train-rmse:0.446817
[772]	train-rmse:0.446811
[773]	train-rmse:0.4468
[774]	train-rmse:0.446794
[775]	train-rmse:0.446781
[776]	train-rmse:0.446776
[777]	train-rmse:0.446773
[778]	train-rmse:0.446767
[779]	train-rmse:0.446759
[780]	train-rmse:0.446747
[781]	train-rmse:0.446743
[782]	train-rmse:0.446736
[783]	train-rmse:0.446727
[784]	train-rmse:0.446719
[785]	train-rmse:0.446708
[786]	train-rmse:0.446705
[787]	train-rmse:0.446696
[788]	train-rmse:0.446692
[789]	train-rmse:0.446685
[790]	train-rmse:0.446681
[791]	train-rmse:0.446674
[792]	train-rmse:0.446667
[793]	train-rmse:0.44666
[794]	train-rmse:0.446653
[795]	train-rmse:0.446647
[796]	train-rmse:0.44664
[797]	train-rmse:0.446634
[798]	train-rmse:0.446628
[799]	train-rmse:0.446624
[800]	train-rmse:0.446617
[801]	train-rmse:0.446612
[802]	train-rmse:0.446609
[803]	train-rmse:0.446604
[804]	train-rmse:0.446597
[805]	train-rmse:0.446593
[806]	train-rmse:0.446586
[807]	train-rmse:0.446579
[808]	train-rmse:0.446573
[809]	train-rmse:0.446566
[810]	train-rmse:0.446562
[811]	train-rmse:0.446553
[812]	train-rmse:0.446549
[813]	train-rmse:0.446541
[814]	train-rmse:0.446535
[815]	train-rmse:0.446526
[816]	train-rmse:0.446517
[817]	train-rmse:0.446511
[818]	train-rmse:0.4465
[819]	train-rmse:0.446496
[820]	train-rmse:0.446486
[821]	train-rmse:0.446473
[822]	train-rmse:0.446468
[823]	train-rmse:0.446462
[824]	train-rmse:0.446451
[825]	train-rmse:0.446444
[826]	train-rmse:0.446439
[827]	train-rmse:0.446429
[828]	train-rmse:0.446425
[829]	train-rmse:0.446419
[830]	train-rmse:0.446415
[831]	train-rmse:0.446412
[832]	train-rmse:0.446407
[833]	train-rmse:0.4464
[834]	train-rmse:0.446392
[835]	train-rmse:0.446385
[836]	train-rmse:0.446377
[837]	train-rmse:0.446372
[838]	train-rmse:0.446367
[839]	train-rmse:0.446359
[840]	train-rmse:0.446353
[841]	train-rmse:0.446345
[842]	train-rmse:0.446341
[843]	train-rmse:0.446336
[844]	train-rmse:0.446332
[845]	train-rmse:0.446323
[846]	train-rmse:0.446309
[847]	train-rmse:0.446306
[848]	train-rmse:0.446301
[849]	train-rmse:0.446292
[850]	train-rmse:0.446286
[851]	train-rmse:0.44628
[852]	train-rmse:0.446275
[853]	train-rmse:0.446272
[854]	train-rmse:0.446268
[855]	train-rmse:0.446262
[856]	train-rmse:0.446255
[857]	train-rmse:0.44625
[858]	train-rmse:0.446244
[859]	train-rmse:0.446238
[860]	train-rmse:0.44623
[861]	train-rmse:0.446224
[862]	train-rmse:0.446218
[863]	train-rmse:0.446214
[864]	train-rmse:0.446208
[865]	train-rmse:0.446201
[866]	train-rmse:0.44619
[867]	train-rmse:0.446183
[868]	train-rmse:0.446179
[869]	train-rmse:0.446175
[870]	train-rmse:0.446169
[871]	train-rmse:0.446161
[872]	train-rmse:0.446153
[873]	train-rmse:0.446147
[874]	train-rmse:0.446143
[875]	train-rmse:0.446139
[876]	train-rmse:0.446131
[877]	train-rmse:0.446126
[878]	train-rmse:0.44612
[879]	train-rmse:0.446116
[880]	train-rmse:0.446108
[881]	train-rmse:0.44609
[882]	train-rmse:0.446084
[883]	train-rmse:0.446076
[884]	train-rmse:0.446073
[885]	train-rmse:0.446067
[886]	train-rmse:0.446062
[887]	train-rmse:0.446057
[888]	train-rmse:0.446053
[889]	train-rmse:0.446047
[890]	train-rmse:0.44604
[891]	train-rmse:0.446034
[892]	train-rmse:0.446028
[893]	train-rmse:0.446023
[894]	train-rmse:0.44602
[895]	train-rmse:0.446015
[896]	train-rmse:0.44601
[897]	train-rmse:0.446003
[898]	train-rmse:0.445996
[899]	train-rmse:0.445992
[900]	train-rmse:0.445989
[901]	train-rmse:0.445983
[902]	train-rmse:0.445976
[903]	train-rmse:0.445971
[904]	train-rmse:0.445967
[905]	train-rmse:0.445961
[906]	train-rmse:0.445948
[907]	train-rmse:0.44594
[908]	train-rmse:0.445935
[909]	train-rmse:0.44593
[910]	train-rmse:0.445923
[911]	train-rmse:0.44592
[912]	train-rmse:0.445914
[913]	train-rmse:0.445907
[914]	train-rmse:0.445902
[915]	train-rmse:0.445894
[916]	train-rmse:0.445889
[917]	train-rmse:0.445885
[918]	train-rmse:0.445877
[919]	train-rmse:0.445872
[920]	train-rmse:0.445867
[921]	train-rmse:0.445861
[922]	train-rmse:0.445852
[923]	train-rmse:0.445846
[924]	train-rmse:0.445838
[925]	train-rmse:0.44583
[926]	train-rmse:0.445826
[927]	train-rmse:0.44582
[928]	train-rmse:0.445803
[929]	train-rmse:0.4458
[930]	train-rmse:0.445794
[931]	train-rmse:0.445784
[932]	train-rmse:0.44578
[933]	train-rmse:0.445772
[934]	train-rmse:0.445765
[935]	train-rmse:0.445759
[936]	train-rmse:0.445755
[937]	train-rmse:0.445751
[938]	train-rmse:0.445745
[939]	train-rmse:0.445738
[940]	train-rmse:0.445729
[941]	train-rmse:0.44572
[942]	train-rmse:0.445716
[943]	train-rmse:0.44571
[944]	train-rmse:0.445706
[945]	train-rmse:0.445695
[946]	train-rmse:0.44569
[947]	train-rmse:0.445684
[948]	train-rmse:0.445678
[949]	train-rmse:0.445671
[950]	train-rmse:0.445667
[951]	train-rmse:0.445652
[952]	train-rmse:0.445645
[953]	train-rmse:0.445641
[954]	train-rmse:0.445636
[955]	train-rmse:0.445627
[956]	train-rmse:0.445619
[957]	train-rmse:0.445615
[958]	train-rmse:0.445611
[959]	train-rmse:0.445605
[960]	train-rmse:0.445597
[961]	train-rmse:0.445594
[962]	train-rmse:0.445588
[963]	train-rmse:0.445582
[964]	train-rmse:0.445575
[965]	train-rmse:0.445569
[966]	train-rmse:0.445563
[967]	train-rmse:0.445559
[968]	train-rmse:0.445553
[969]	train-rmse:0.445547
[970]	train-rmse:0.445537
[971]	train-rmse:0.445529
[972]	train-rmse:0.445523
[973]	train-rmse:0.445521
[974]	train-rmse:0.445513
[975]	train-rmse:0.445507
[976]	train-rmse:0.445504
[977]	train-rmse:0.4455
[978]	train-rmse:0.445494
[979]	train-rmse:0.445486
[980]	train-rmse:0.445483
[981]	train-rmse:0.44548
[982]	train-rmse:0.445474
[983]	train-rmse:0.445469
[984]	train-rmse:0.445466
[985]	train-rmse:0.445463
[986]	train-rmse:0.445459
[987]	train-rmse:0.445454
[988]	train-rmse:0.445446
[989]	train-rmse:0.445443
[990]	train-rmse:0.44544
[991]	train-rmse:0.445432
[992]	train-rmse:0.445428
[993]	train-rmse:0.445424
[994]	train-rmse:0.445418
[995]	train-rmse:0.445414
[996]	train-rmse:0.445408
[997]	train-rmse:0.445405
[998]	train-rmse:0.445397
[999]	train-rmse:0.445393
[1000]	train-rmse:0.445386
[1001]	train-rmse:0.445381
[1002]	train-rmse:0.445378
[1003]	train-rmse:0.445372
[1004]	train-rmse:0.445367
[1005]	train-rmse:0.445361
[1006]	train-rmse:0.445358
[1007]	train-rmse:0.445349
[1008]	train-rmse:0.445344
[1009]	train-rmse:0.44534
[1010]	train-rmse:0.445333
[1011]	train-rmse:0.44533
[1012]	train-rmse:0.445327
[1013]	train-rmse:0.44532
[1014]	train-rmse:0.445315
[1015]	train-rmse:0.445308
[1016]	train-rmse:0.445302
[1017]	train-rmse:0.445297
[1018]	train-rmse:0.445294
[1019]	train-rmse:0.445286
[1020]	train-rmse:0.445282
[1021]	train-rmse:0.445276
[1022]	train-rmse:0.44527
[1023]	train-rmse:0.445264
[1024]	train-rmse:0.44526
[1025]	train-rmse:0.445256
[1026]	train-rmse:0.44525
[1027]	train-rmse:0.445244
[1028]	train-rmse:0.445237
[1029]	train-rmse:0.44523
[1030]	train-rmse:0.445225
[1031]	train-rmse:0.445219
[1032]	train-rmse:0.445213
[1033]	train-rmse:0.445207
[1034]	train-rmse:0.4452
[1035]	train-rmse:0.445196
[1036]	train-rmse:0.445193
[1037]	train-rmse:0.445189
[1038]	train-rmse:0.445183
[1039]	train-rmse:0.445178
[1040]	train-rmse:0.445174
[1041]	train-rmse:0.445168
[1042]	train-rmse:0.445165
[1043]	train-rmse:0.445159
[1044]	train-rmse:0.445155
[1045]	train-rmse:0.445153
[1046]	train-rmse:0.445146
[1047]	train-rmse:0.445139
[1048]	train-rmse:0.445136
[1049]	train-rmse:0.44513
[1050]	train-rmse:0.445124
[1051]	train-rmse:0.44512
[1052]	train-rmse:0.445116
[1053]	train-rmse:0.445112
[1054]	train-rmse:0.445107
[1055]	train-rmse:0.445101
[1056]	train-rmse:0.445096
[1057]	train-rmse:0.445091
[1058]	train-rmse:0.445085
[1059]	train-rmse:0.445077
[1060]	train-rmse:0.445071
[1061]	train-rmse:0.445065
[1062]	train-rmse:0.44506
[1063]	train-rmse:0.445052
[1064]	train-rmse:0.445048
[1065]	train-rmse:0.445045
[1066]	train-rmse:0.445041
[1067]	train-rmse:0.445034
[1068]	train-rmse:0.445031
[1069]	train-rmse:0.445026
[1070]	train-rmse:0.445023
[1071]	train-rmse:0.445017
[1072]	train-rmse:0.445009
[1073]	train-rmse:0.445004
[1074]	train-rmse:0.445
[1075]	train-rmse:0.444996
[1076]	train-rmse:0.444989
[1077]	train-rmse:0.444978
[1078]	train-rmse:0.444975
[1079]	train-rmse:0.444972
[1080]	train-rmse:0.444969
[1081]	train-rmse:0.444965
[1082]	train-rmse:0.444959
[1083]	train-rmse:0.444954
[1084]	train-rmse:0.444952
[1085]	train-rmse:0.444948
[1086]	train-rmse:0.44494
[1087]	train-rmse:0.444937
[1088]	train-rmse:0.444932
[1089]	train-rmse:0.444928
[1090]	train-rmse:0.444922
[1091]	train-rmse:0.444918
[1092]	train-rmse:0.444915
[1093]	train-rmse:0.444911
[1094]	train-rmse:0.444909
[1095]	train-rmse:0.444904
[1096]	train-rmse:0.444897
[1097]	train-rmse:0.444891
[1098]	train-rmse:0.444884
[1099]	train-rmse:0.444876
[1100]	train-rmse:0.444871
[1101]	train-rmse:0.444866
[1102]	train-rmse:0.44486
[1103]	train-rmse:0.444853
[1104]	train-rmse:0.44485
[1105]	train-rmse:0.444847
[1106]	train-rmse:0.444841
[1107]	train-rmse:0.444836
[1108]	train-rmse:0.444834
[1109]	train-rmse:0.444831
[1110]	train-rmse:0.444826
[1111]	train-rmse:0.444822
[1112]	train-rmse:0.444819
[1113]	train-rmse:0.444813
[1114]	train-rmse:0.444809
[1115]	train-rmse:0.444805
[1116]	train-rmse:0.444799
[1117]	train-rmse:0.444793
[1118]	train-rmse:0.444787
[1119]	train-rmse:0.444783
[1120]	train-rmse:0.444778
[1121]	train-rmse:0.444776
[1122]	train-rmse:0.444772
[1123]	train-rmse:0.444769
[1124]	train-rmse:0.444762
[1125]	train-rmse:0.444758
[1126]	train-rmse:0.444752
[1127]	train-rmse:0.444748
[1128]	train-rmse:0.444745
[1129]	train-rmse:0.444742
[1130]	train-rmse:0.444735
[1131]	train-rmse:0.44473
[1132]	train-rmse:0.444726
[1133]	train-rmse:0.44472
[1134]	train-rmse:0.444716
[1135]	train-rmse:0.444712
[1136]	train-rmse:0.444708
[1137]	train-rmse:0.444703
[1138]	train-rmse:0.444699
[1139]	train-rmse:0.444696
[1140]	train-rmse:0.444691
[1141]	train-rmse:0.44468
[1142]	train-rmse:0.444677
[1143]	train-rmse:0.444673
[1144]	train-rmse:0.444669
[1145]	train-rmse:0.444663
[1146]	train-rmse:0.444658
[1147]	train-rmse:0.444655
[1148]	train-rmse:0.444651
[1149]	train-rmse:0.444649
[1150]	train-rmse:0.444641
[1151]	train-rmse:0.444636
[1152]	train-rmse:0.444632
[1153]	train-rmse:0.444625
[1154]	train-rmse:0.444622
[1155]	train-rmse:0.444617
[1156]	train-rmse:0.444613
[1157]	train-rmse:0.444609
[1158]	train-rmse:0.444605
[1159]	train-rmse:0.444603
[1160]	train-rmse:0.444597
[1161]	train-rmse:0.444594
[1162]	train-rmse:0.44459
[1163]	train-rmse:0.444586
[1164]	train-rmse:0.444583
[1165]	train-rmse:0.444577
[1166]	train-rmse:0.444569
[1167]	train-rmse:0.444562
[1168]	train-rmse:0.444557
[1169]	train-rmse:0.444549
[1170]	train-rmse:0.444546
[1171]	train-rmse:0.444541
[1172]	train-rmse:0.444535
[1173]	train-rmse:0.444526
[1174]	train-rmse:0.444524
[1175]	train-rmse:0.444516
[1176]	train-rmse:0.444511
[1177]	train-rmse:0.444506
[1178]	train-rmse:0.4445
[1179]	train-rmse:0.444493
[1180]	train-rmse:0.44449
[1181]	train-rmse:0.444487
[1182]	train-rmse:0.444483
[1183]	train-rmse:0.44448
[1184]	train-rmse:0.444472
[1185]	train-rmse:0.44447
[1186]	train-rmse:0.444466
[1187]	train-rmse:0.444463
[1188]	train-rmse:0.444459
[1189]	train-rmse:0.444454
[1190]	train-rmse:0.444452
[1191]	train-rmse:0.444446
[1192]	train-rmse:0.444441
[1193]	train-rmse:0.444439
[1194]	train-rmse:0.444436
[1195]	train-rmse:0.444433
[1196]	train-rmse:0.444429
[1197]	train-rmse:0.444424
[1198]	train-rmse:0.444419
[1199]	train-rmse:0.444415
[1200]	train-rmse:0.444409
[1201]	train-rmse:0.444405
[1202]	train-rmse:0.444403
[1203]	train-rmse:0.444397
[1204]	train-rmse:0.44439
[1205]	train-rmse:0.444386
[1206]	train-rmse:0.44438
[1207]	train-rmse:0.444375
[1208]	train-rmse:0.444373
[1209]	train-rmse:0.444371
[1210]	train-rmse:0.444368
[1211]	train-rmse:0.444364
[1212]	train-rmse:0.444358
[1213]	train-rmse:0.444353
[1214]	train-rmse:0.444347
[1215]	train-rmse:0.444343
[1216]	train-rmse:0.44434
[1217]	train-rmse:0.444335
[1218]	train-rmse:0.444329
[1219]	train-rmse:0.444325
[1220]	train-rmse:0.444321
[1221]	train-rmse:0.444315
[1222]	train-rmse:0.444311
[1223]	train-rmse:0.444304
[1224]	train-rmse:0.444299
[1225]	train-rmse:0.444294
[1226]	train-rmse:0.44429
[1227]	train-rmse:0.44428
[1228]	train-rmse:0.444277
[1229]	train-rmse:0.444274
[1230]	train-rmse:0.444269
[1231]	train-rmse:0.444266
[1232]	train-rmse:0.444261
[1233]	train-rmse:0.444256
[1234]	train-rmse:0.444249
[1235]	train-rmse:0.444245
[1236]	train-rmse:0.44424
[1237]	train-rmse:0.444237
[1238]	train-rmse:0.444232
[1239]	train-rmse:0.444229
[1240]	train-rmse:0.444226
[1241]	train-rmse:0.444222
[1242]	train-rmse:0.444216
[1243]	train-rmse:0.444213
[1244]	train-rmse:0.444209
[1245]	train-rmse:0.444205
[1246]	train-rmse:0.444201
[1247]	train-rmse:0.444197
[1248]	train-rmse:0.444195
[1249]	train-rmse:0.44419
[1250]	train-rmse:0.444188
[1251]	train-rmse:0.444185
[1252]	train-rmse:0.444184
[1253]	train-rmse:0.444179
[1254]	train-rmse:0.444177
[1255]	train-rmse:0.444174
[1256]	train-rmse:0.444169
[1257]	train-rmse:0.444165
[1258]	train-rmse:0.44416
[1259]	train-rmse:0.444156
[1260]	train-rmse:0.444153
[1261]	train-rmse:0.444151
[1262]	train-rmse:0.444149
[1263]	train-rmse:0.444145
[1264]	train-rmse:0.444141
[1265]	train-rmse:0.444137
[1266]	train-rmse:0.444135
[1267]	train-rmse:0.444132
[1268]	train-rmse:0.444122
[1269]	train-rmse:0.444116
[1270]	train-rmse:0.444112
[1271]	train-rmse:0.444106
[1272]	train-rmse:0.444101
[1273]	train-rmse:0.444096
[1274]	train-rmse:0.444093
[1275]	train-rmse:0.444089
[1276]	train-rmse:0.444085
[1277]	train-rmse:0.444083
[1278]	train-rmse:0.444077
[1279]	train-rmse:0.444075
[1280]	train-rmse:0.44407
[1281]	train-rmse:0.444068
[1282]	train-rmse:0.444064
[1283]	train-rmse:0.44406
[1284]	train-rmse:0.444056
[1285]	train-rmse:0.444052
[1286]	train-rmse:0.444049
[1287]	train-rmse:0.444043
[1288]	train-rmse:0.444039
[1289]	train-rmse:0.444034
[1290]	train-rmse:0.444031
[1291]	train-rmse:0.444027
[1292]	train-rmse:0.444021
[1293]	train-rmse:0.444018
[1294]	train-rmse:0.444015
[1295]	train-rmse:0.444012
[1296]	train-rmse:0.444008
[1297]	train-rmse:0.444003
[1298]	train-rmse:0.444
[1299]	train-rmse:0.443997
[1300]	train-rmse:0.44399
[1301]	train-rmse:0.443988
[1302]	train-rmse:0.443984
[1303]	train-rmse:0.443979
[1304]	train-rmse:0.443975
[1305]	train-rmse:0.443973
[1306]	train-rmse:0.443969
[1307]	train-rmse:0.443963
[1308]	train-rmse:0.443958
[1309]	train-rmse:0.443953
[1310]	train-rmse:0.44395
[1311]	train-rmse:0.443945
[1312]	train-rmse:0.443942
[1313]	train-rmse:0.443937
[1314]	train-rmse:0.443931
[1315]	train-rmse:0.443926
[1316]	train-rmse:0.443921
[1317]	train-rmse:0.443918
[1318]	train-rmse:0.443915
[1319]	train-rmse:0.443913
[1320]	train-rmse:0.443911
[1321]	train-rmse:0.443906
[1322]	train-rmse:0.443903
[1323]	train-rmse:0.443898
[1324]	train-rmse:0.443895
[1325]	train-rmse:0.443891
[1326]	train-rmse:0.443888
[1327]	train-rmse:0.443885
[1328]	train-rmse:0.443883
[1329]	train-rmse:0.44388
[1330]	train-rmse:0.443876
[1331]	train-rmse:0.443873
[1332]	train-rmse:0.443868
[1333]	train-rmse:0.443865
[1334]	train-rmse:0.443862
[1335]	train-rmse:0.443857
[1336]	train-rmse:0.443855
[1337]	train-rmse:0.443852
[1338]	train-rmse:0.44385
[1339]	train-rmse:0.443846
[1340]	train-rmse:0.443844
[1341]	train-rmse:0.443841
[1342]	train-rmse:0.443839
[1343]	train-rmse:0.443832
[1344]	train-rmse:0.443828
[1345]	train-rmse:0.443825
[1346]	train-rmse:0.443823
[1347]	train-rmse:0.443818
[1348]	train-rmse:0.443815
[1349]	train-rmse:0.443811
[1350]	train-rmse:0.443809
[1351]	train-rmse:0.443802
[1352]	train-rmse:0.443799
[1353]	train-rmse:0.443795
[1354]	train-rmse:0.44379
[1355]	train-rmse:0.443787
[1356]	train-rmse:0.443783
[1357]	train-rmse:0.44378
[1358]	train-rmse:0.443778
[1359]	train-rmse:0.443775
[1360]	train-rmse:0.443772
[1361]	train-rmse:0.443768
[1362]	train-rmse:0.443767
[1363]	train-rmse:0.443763
[1364]	train-rmse:0.443759
[1365]	train-rmse:0.443756
[1366]	train-rmse:0.443754
[1367]	train-rmse:0.443749
[1368]	train-rmse:0.443745
[1369]	train-rmse:0.443742
[1370]	train-rmse:0.443738
[1371]	train-rmse:0.443734
[1372]	train-rmse:0.443732
[1373]	train-rmse:0.443726
[1374]	train-rmse:0.443722
[1375]	train-rmse:0.443719
[1376]	train-rmse:0.443715
[1377]	train-rmse:0.443713
[1378]	train-rmse:0.443706
[1379]	train-rmse:0.443701
[1380]	train-rmse:0.443696
[1381]	train-rmse:0.443693
[1382]	train-rmse:0.443688
[1383]	train-rmse:0.443685
[1384]	train-rmse:0.443679
[1385]	train-rmse:0.443677
[1386]	train-rmse:0.443672
[1387]	train-rmse:0.443669
[1388]	train-rmse:0.443664
[1389]	train-rmse:0.443661
[1390]	train-rmse:0.443659
[1391]	train-rmse:0.443654
[1392]	train-rmse:0.443652
[1393]	train-rmse:0.443649
[1394]	train-rmse:0.443644
[1395]	train-rmse:0.443641
[1396]	train-rmse:0.44364
[1397]	train-rmse:0.443633
[1398]	train-rmse:0.443629
[1399]	train-rmse:0.443628
[1400]	train-rmse:0.443625
[1401]	train-rmse:0.44362
[1402]	train-rmse:0.443618
[1403]	train-rmse:0.443614
[1404]	train-rmse:0.44361
[1405]	train-rmse:0.443607
[1406]	train-rmse:0.443604
[1407]	train-rmse:0.443602
[1408]	train-rmse:0.443598
[1409]	train-rmse:0.443595
[1410]	train-rmse:0.44359
[1411]	train-rmse:0.443588
[1412]	train-rmse:0.443584
[1413]	train-rmse:0.443581
[1414]	train-rmse:0.443578
[1415]	train-rmse:0.443574
[1416]	train-rmse:0.44357
[1417]	train-rmse:0.443565
[1418]	train-rmse:0.443559
[1419]	train-rmse:0.443556
[1420]	train-rmse:0.443554
[1421]	train-rmse:0.44355
[1422]	train-rmse:0.443547
[1423]	train-rmse:0.443544
[1424]	train-rmse:0.44354
[1425]	train-rmse:0.443535
[1426]	train-rmse:0.443529
[1427]	train-rmse:0.443528
[1428]	train-rmse:0.443525
[1429]	train-rmse:0.44352
[1430]	train-rmse:0.443514
[1431]	train-rmse:0.443506
[1432]	train-rmse:0.443503
[1433]	train-rmse:0.4435
[1434]	train-rmse:0.443498
[1435]	train-rmse:0.443495
[1436]	train-rmse:0.443492
[1437]	train-rmse:0.44349
[1438]	train-rmse:0.443488
[1439]	train-rmse:0.443481
[1440]	train-rmse:0.443479
[1441]	train-rmse:0.443476
[1442]	train-rmse:0.443475
[1443]	train-rmse:0.443472
[1444]	train-rmse:0.443465
[1445]	train-rmse:0.443462
[1446]	train-rmse:0.443459
[1447]	train-rmse:0.443455
[1448]	train-rmse:0.443451
[1449]	train-rmse:0.443449
[1450]	train-rmse:0.443443
[1451]	train-rmse:0.443441
[1452]	train-rmse:0.443438
[1453]	train-rmse:0.443436
[1454]	train-rmse:0.443434
[1455]	train-rmse:0.443431
[1456]	train-rmse:0.443426
[1457]	train-rmse:0.443422
[1458]	train-rmse:0.443418
[1459]	train-rmse:0.443415
[1460]	train-rmse:0.443413
[1461]	train-rmse:0.443409
[1462]	train-rmse:0.443406
[1463]	train-rmse:0.443403
[1464]	train-rmse:0.443401
[1465]	train-rmse:0.443396
[1466]	train-rmse:0.443392
[1467]	train-rmse:0.44339
[1468]	train-rmse:0.443386
[1469]	train-rmse:0.443383
[1470]	train-rmse:0.443376
[1471]	train-rmse:0.443371
[1472]	train-rmse:0.443366
[1473]	train-rmse:0.443363
[1474]	train-rmse:0.443361
[1475]	train-rmse:0.443353
[1476]	train-rmse:0.44335
[1477]	train-rmse:0.443349
[1478]	train-rmse:0.443347
[1479]	train-rmse:0.443345
[1480]	train-rmse:0.443341
[1481]	train-rmse:0.443339
[1482]	train-rmse:0.443336
[1483]	train-rmse:0.443334
[1484]	train-rmse:0.44333
[1485]	train-rmse:0.443326
[1486]	train-rmse:0.443321
[1487]	train-rmse:0.443316
[1488]	train-rmse:0.443314
[1489]	train-rmse:0.443311
[1490]	train-rmse:0.443307
[1491]	train-rmse:0.443304
[1492]	train-rmse:0.4433
[1493]	train-rmse:0.443296
[1494]	train-rmse:0.443292
[1495]	train-rmse:0.443288
[1496]	train-rmse:0.443286
[1497]	train-rmse:0.443283
[1498]	train-rmse:0.443277
[1499]	train-rmse:0.443274
[1500]	train-rmse:0.443272
[1501]	train-rmse:0.443269
[1502]	train-rmse:0.443266
[1503]	train-rmse:0.443262
[1504]	train-rmse:0.44326
[1505]	train-rmse:0.443253
[1506]	train-rmse:0.44325
[1507]	train-rmse:0.443248
[1508]	train-rmse:0.443244
[1509]	train-rmse:0.443241
[1510]	train-rmse:0.443235
[1511]	train-rmse:0.443228
[1512]	train-rmse:0.443224
[1513]	train-rmse:0.44322
[1514]	train-rmse:0.443213
[1515]	train-rmse:0.443211
[1516]	train-rmse:0.443208
[1517]	train-rmse:0.443206
[1518]	train-rmse:0.443204
[1519]	train-rmse:0.443202
[1520]	train-rmse:0.443199
[1521]	train-rmse:0.443196
[1522]	train-rmse:0.443193
[1523]	train-rmse:0.443189
[1524]	train-rmse:0.443186
[1525]	train-rmse:0.443185
[1526]	train-rmse:0.443182
[1527]	train-rmse:0.443181
[1528]	train-rmse:0.443178
[1529]	train-rmse:0.443173
[1530]	train-rmse:0.44317
[1531]	train-rmse:0.443165
[1532]	train-rmse:0.443162
[1533]	train-rmse:0.443157
[1534]	train-rmse:0.443155
[1535]	train-rmse:0.44315
[1536]	train-rmse:0.443146
[1537]	train-rmse:0.443141
[1538]	train-rmse:0.443138
[1539]	train-rmse:0.443135
[1540]	train-rmse:0.443133
[1541]	train-rmse:0.443129
[1542]	train-rmse:0.443125
[1543]	train-rmse:0.443122
[1544]	train-rmse:0.443116
[1545]	train-rmse:0.443112
[1546]	train-rmse:0.44311
[1547]	train-rmse:0.443108
[1548]	train-rmse:0.443105
[1549]	train-rmse:0.443098
[1550]	train-rmse:0.443095
[1551]	train-rmse:0.443092
[1552]	train-rmse:0.443089
[1553]	train-rmse:0.443086
[1554]	train-rmse:0.443084
[1555]	train-rmse:0.443081
[1556]	train-rmse:0.443079
[1557]	train-rmse:0.443076
[1558]	train-rmse:0.443072
[1559]	train-rmse:0.44307
[1560]	train-rmse:0.443067
[1561]	train-rmse:0.443062
[1562]	train-rmse:0.443059
[1563]	train-rmse:0.443055
[1564]	train-rmse:0.443052
[1565]	train-rmse:0.443048
[1566]	train-rmse:0.443045
[1567]	train-rmse:0.443041
[1568]	train-rmse:0.443038
[1569]	train-rmse:0.443037
[1570]	train-rmse:0.443034
[1571]	train-rmse:0.443031
[1572]	train-rmse:0.443027
[1573]	train-rmse:0.443022
[1574]	train-rmse:0.44302
[1575]	train-rmse:0.443016
[1576]	train-rmse:0.443014
[1577]	train-rmse:0.443012
[1578]	train-rmse:0.443007
[1579]	train-rmse:0.443005
[1580]	train-rmse:0.443002
[1581]	train-rmse:0.443
[1582]	train-rmse:0.442996
[1583]	train-rmse:0.44299
[1584]	train-rmse:0.442985
[1585]	train-rmse:0.442983
[1586]	train-rmse:0.442981
[1587]	train-rmse:0.442976
[1588]	train-rmse:0.442974
[1589]	train-rmse:0.442972
[1590]	train-rmse:0.44297
[1591]	train-rmse:0.442968
[1592]	train-rmse:0.442965
[1593]	train-rmse:0.44296
[1594]	train-rmse:0.442958
[1595]	train-rmse:0.442953
[1596]	train-rmse:0.44295
[1597]	train-rmse:0.442944
[1598]	train-rmse:0.442942
[1599]	train-rmse:0.442938
[1600]	train-rmse:0.442933
[1601]	train-rmse:0.442928
[1602]	train-rmse:0.442924
[1603]	train-rmse:0.442921
[1604]	train-rmse:0.442918
[1605]	train-rmse:0.442915
[1606]	train-rmse:0.442911
[1607]	train-rmse:0.442909
[1608]	train-rmse:0.442907
[1609]	train-rmse:0.442903
[1610]	train-rmse:0.442901
[1611]	train-rmse:0.442899
[1612]	train-rmse:0.442898
[1613]	train-rmse:0.442896
[1614]	train-rmse:0.442891
[1615]	train-rmse:0.442888
[1616]	train-rmse:0.442886
[1617]	train-rmse:0.442883
[1618]	train-rmse:0.44288
[1619]	train-rmse:0.442877
[1620]	train-rmse:0.442872
[1621]	train-rmse:0.44287
[1622]	train-rmse:0.442868
[1623]	train-rmse:0.442863
[1624]	train-rmse:0.44286
[1625]	train-rmse:0.442858
[1626]	train-rmse:0.442855
[1627]	train-rmse:0.442851
[1628]	train-rmse:0.442848
[1629]	train-rmse:0.442844
[1630]	train-rmse:0.442835
[1631]	train-rmse:0.442831
[1632]	train-rmse:0.44283
[1633]	train-rmse:0.442823
[1634]	train-rmse:0.442816
[1635]	train-rmse:0.442812
[1636]	train-rmse:0.44281
[1637]	train-rmse:0.442808
[1638]	train-rmse:0.442806
[1639]	train-rmse:0.442805
[1640]	train-rmse:0.442803
[1641]	train-rmse:0.4428
[1642]	train-rmse:0.442797
[1643]	train-rmse:0.442793
[1644]	train-rmse:0.442791
[1645]	train-rmse:0.442789
[1646]	train-rmse:0.442786
[1647]	train-rmse:0.442781
[1648]	train-rmse:0.44278
[1649]	train-rmse:0.442777
[1650]	train-rmse:0.442773
[1651]	train-rmse:0.442767
[1652]	train-rmse:0.442761
[1653]	train-rmse:0.442758
[1654]	train-rmse:0.442755
[1655]	train-rmse:0.442751
[1656]	train-rmse:0.442746
[1657]	train-rmse:0.442743
[1658]	train-rmse:0.442739
[1659]	train-rmse:0.442734
[1660]	train-rmse:0.442729
[1661]	train-rmse:0.442726
[1662]	train-rmse:0.442721
[1663]	train-rmse:0.442717
[1664]	train-rmse:0.442716
[1665]	train-rmse:0.442713
[1666]	train-rmse:0.442709
[1667]	train-rmse:0.442707
[1668]	train-rmse:0.442705
[1669]	train-rmse:0.442702
[1670]	train-rmse:0.442698
[1671]	train-rmse:0.442693
[1672]	train-rmse:0.442688
[1673]	train-rmse:0.442686
[1674]	train-rmse:0.442681
[1675]	train-rmse:0.442679
[1676]	train-rmse:0.442677
[1677]	train-rmse:0.442674
[1678]	train-rmse:0.44267
[1679]	train-rmse:0.44267
[1680]	train-rmse:0.442666
[1681]	train-rmse:0.442665
[1682]	train-rmse:0.442661
[1683]	train-rmse:0.442655
[1684]	train-rmse:0.442652
[1685]	train-rmse:0.44265
[1686]	train-rmse:0.442647
[1687]	train-rmse:0.442644
[1688]	train-rmse:0.442642
[1689]	train-rmse:0.44264
[1690]	train-rmse:0.442637
[1691]	train-rmse:0.442632
[1692]	train-rmse:0.442629
[1693]	train-rmse:0.442626
[1694]	train-rmse:0.442623
[1695]	train-rmse:0.44262
[1696]	train-rmse:0.442617
[1697]	train-rmse:0.442613
[1698]	train-rmse:0.442608
[1699]	train-rmse:0.442607
[1700]	train-rmse:0.442603
[1701]	train-rmse:0.442601
[1702]	train-rmse:0.442598
[1703]	train-rmse:0.442596
[1704]	train-rmse:0.442592
[1705]	train-rmse:0.442588
[1706]	train-rmse:0.442586
[1707]	train-rmse:0.442582
[1708]	train-rmse:0.442579
[1709]	train-rmse:0.442575
[1710]	train-rmse:0.442572
[1711]	train-rmse:0.442569
[1712]	train-rmse:0.442566
[1713]	train-rmse:0.442562
[1714]	train-rmse:0.44256
[1715]	train-rmse:0.442556
[1716]	train-rmse:0.442554
[1717]	train-rmse:0.442551
[1718]	train-rmse:0.442547
[1719]	train-rmse:0.442546
[1720]	train-rmse:0.442542
[1721]	train-rmse:0.442539
[1722]	train-rmse:0.442535
[1723]	train-rmse:0.442531
[1724]	train-rmse:0.442526
[1725]	train-rmse:0.442519
[1726]	train-rmse:0.442518
[1727]	train-rmse:0.442516
[1728]	train-rmse:0.442514
[1729]	train-rmse:0.442509
[1730]	train-rmse:0.442507
[1731]	train-rmse:0.442505
[1732]	train-rmse:0.442502
[1733]	train-rmse:0.442494
[1734]	train-rmse:0.442489
[1735]	train-rmse:0.442486
[1736]	train-rmse:0.442484
[1737]	train-rmse:0.442481
[1738]	train-rmse:0.442479
[1739]	train-rmse:0.442476
[1740]	train-rmse:0.442473
[1741]	train-rmse:0.442469
[1742]	train-rmse:0.442466
[1743]	train-rmse:0.442464
[1744]	train-rmse:0.442463
[1745]	train-rmse:0.442461
[1746]	train-rmse:0.44246
[1747]	train-rmse:0.442457
[1748]	train-rmse:0.442455
[1749]	train-rmse:0.442453
[1750]	train-rmse:0.442451
[1751]	train-rmse:0.442448
[1752]	train-rmse:0.442446
[1753]	train-rmse:0.442444
[1754]	train-rmse:0.442441
[1755]	train-rmse:0.442437
[1756]	train-rmse:0.442435
[1757]	train-rmse:0.44243
[1758]	train-rmse:0.442427
[1759]	train-rmse:0.442423
[1760]	train-rmse:0.442417
[1761]	train-rmse:0.442415
[1762]	train-rmse:0.442412
[1763]	train-rmse:0.44241
[1764]	train-rmse:0.442409
[1765]	train-rmse:0.442406
[1766]	train-rmse:0.442403
[1767]	train-rmse:0.442401
[1768]	train-rmse:0.442398
[1769]	train-rmse:0.442396
[1770]	train-rmse:0.442394
[1771]	train-rmse:0.442391
[1772]	train-rmse:0.442384
[1773]	train-rmse:0.442381
[1774]	train-rmse:0.442379
[1775]	train-rmse:0.442377
[1776]	train-rmse:0.442375
[1777]	train-rmse:0.442372
[1778]	train-rmse:0.44237
[1779]	train-rmse:0.442365
[1780]	train-rmse:0.442361
[1781]	train-rmse:0.44236
[1782]	train-rmse:0.442357
[1783]	train-rmse:0.442354
[1784]	train-rmse:0.442351
[1785]	train-rmse:0.442345
[1786]	train-rmse:0.442337
[1787]	train-rmse:0.442331
[1788]	train-rmse:0.442329
[1789]	train-rmse:0.442327
[1790]	train-rmse:0.442325
[1791]	train-rmse:0.442324
[1792]	train-rmse:0.442321
[1793]	train-rmse:0.442319
[1794]	train-rmse:0.442317
[1795]	train-rmse:0.442311
[1796]	train-rmse:0.442309
[1797]	train-rmse:0.442306
[1798]	train-rmse:0.442302
[1799]	train-rmse:0.442295
[1800]	train-rmse:0.442292
[1801]	train-rmse:0.44229
[1802]	train-rmse:0.442286
[1803]	train-rmse:0.442283
[1804]	train-rmse:0.44228
[1805]	train-rmse:0.442277
[1806]	train-rmse:0.442275
[1807]	train-rmse:0.442272
[1808]	train-rmse:0.44227
[1809]	train-rmse:0.442269
[1810]	train-rmse:0.442266
[1811]	train-rmse:0.442263
[1812]	train-rmse:0.442261
[1813]	train-rmse:0.442258
[1814]	train-rmse:0.442255
[1815]	train-rmse:0.442252
[1816]	train-rmse:0.442249
[1817]	train-rmse:0.442245
[1818]	train-rmse:0.442242
[1819]	train-rmse:0.442239
[1820]	train-rmse:0.442236
[1821]	train-rmse:0.442233
[1822]	train-rmse:0.44223
[1823]	train-rmse:0.442227
[1824]	train-rmse:0.442224
[1825]	train-rmse:0.442223
[1826]	train-rmse:0.44222
[1827]	train-rmse:0.442219
[1828]	train-rmse:0.442214
[1829]	train-rmse:0.442212
[1830]	train-rmse:0.442209
[1831]	train-rmse:0.442207
[1832]	train-rmse:0.442205
[1833]	train-rmse:0.442202
[1834]	train-rmse:0.442199
[1835]	train-rmse:0.442197
[1836]	train-rmse:0.442195
[1837]	train-rmse:0.442192
[1838]	train-rmse:0.44219
[1839]	train-rmse:0.442188
[1840]	train-rmse:0.442186
[1841]	train-rmse:0.442182
[1842]	train-rmse:0.44218
[1843]	train-rmse:0.442177
[1844]	train-rmse:0.442174
[1845]	train-rmse:0.44217
[1846]	train-rmse:0.442165
[1847]	train-rmse:0.442163
[1848]	train-rmse:0.442161
[1849]	train-rmse:0.442159
[1850]	train-rmse:0.442154
[1851]	train-rmse:0.442149
[1852]	train-rmse:0.442146
[1853]	train-rmse:0.442144
[1854]	train-rmse:0.442142
[1855]	train-rmse:0.442139
[1856]	train-rmse:0.442137
[1857]	train-rmse:0.442134
[1858]	train-rmse:0.442131
[1859]	train-rmse:0.442129
[1860]	train-rmse:0.442125
[1861]	train-rmse:0.442123
[1862]	train-rmse:0.442118
[1863]	train-rmse:0.442114
[1864]	train-rmse:0.442111
[1865]	train-rmse:0.442108
[1866]	train-rmse:0.442106
[1867]	train-rmse:0.442103
[1868]	train-rmse:0.442101
[1869]	train-rmse:0.442098
[1870]	train-rmse:0.442094
[1871]	train-rmse:0.442091
[1872]	train-rmse:0.442088
[1873]	train-rmse:0.442086
[1874]	train-rmse:0.442083
[1875]	train-rmse:0.442082
[1876]	train-rmse:0.442078
[1877]	train-rmse:0.442076
[1878]	train-rmse:0.442071
[1879]	train-rmse:0.442068
[1880]	train-rmse:0.442065
[1881]	train-rmse:0.442063
[1882]	train-rmse:0.442061
[1883]	train-rmse:0.442059
[1884]	train-rmse:0.442056
[1885]	train-rmse:0.442053
[1886]	train-rmse:0.442051
[1887]	train-rmse:0.442048
[1888]	train-rmse:0.442045
[1889]	train-rmse:0.442043
[1890]	train-rmse:0.442042
[1891]	train-rmse:0.442039
[1892]	train-rmse:0.442037
[1893]	train-rmse:0.442033
[1894]	train-rmse:0.442031
[1895]	train-rmse:0.442029
[1896]	train-rmse:0.442027
[1897]	train-rmse:0.442025
[1898]	train-rmse:0.442021
[1899]	train-rmse:0.442019
[1900]	train-rmse:0.442016
[1901]	train-rmse:0.442014
[1902]	train-rmse:0.442012
[1903]	train-rmse:0.44201
[1904]	train-rmse:0.442007
[1905]	train-rmse:0.442005
[1906]	train-rmse:0.442001
[1907]	train-rmse:0.441999
[1908]	train-rmse:0.441997
[1909]	train-rmse:0.441995
[1910]	train-rmse:0.441991
[1911]	train-rmse:0.441989
[1912]	train-rmse:0.441988
[1913]	train-rmse:0.441985
[1914]	train-rmse:0.441982
[1915]	train-rmse:0.441979
[1916]	train-rmse:0.441976
[1917]	train-rmse:0.441973
[1918]	train-rmse:0.44197
[1919]	train-rmse:0.441965
[1920]	train-rmse:0.441963
[1921]	train-rmse:0.441959
[1922]	train-rmse:0.441957
[1923]	train-rmse:0.441953
[1924]	train-rmse:0.441952
[1925]	train-rmse:0.441949
[1926]	train-rmse:0.441947
[1927]	train-rmse:0.441943
[1928]	train-rmse:0.441938
[1929]	train-rmse:0.441936
[1930]	train-rmse:0.441934
[1931]	train-rmse:0.441929
[1932]	train-rmse:0.441927
[1933]	train-rmse:0.441925
[1934]	train-rmse:0.441923
[1935]	train-rmse:0.441919
[1936]	train-rmse:0.441917
[1937]	train-rmse:0.441913
[1938]	train-rmse:0.441909
[1939]	train-rmse:0.441907
[1940]	train-rmse:0.441904
[1941]	train-rmse:0.441902
[1942]	train-rmse:0.441899
[1943]	train-rmse:0.441897
[1944]	train-rmse:0.441894
[1945]	train-rmse:0.441892
[1946]	train-rmse:0.441889
[1947]	train-rmse:0.441887
[1948]	train-rmse:0.441885
[1949]	train-rmse:0.441881
[1950]	train-rmse:0.441877
[1951]	train-rmse:0.441874
[1952]	train-rmse:0.441872
[1953]	train-rmse:0.441869
[1954]	train-rmse:0.441867
[1955]	train-rmse:0.441864
[1956]	train-rmse:0.441862
[1957]	train-rmse:0.441857
[1958]	train-rmse:0.441855
[1959]	train-rmse:0.441852
[1960]	train-rmse:0.441851
[1961]	train-rmse:0.441849
[1962]	train-rmse:0.441846
[1963]	train-rmse:0.441843
[1964]	train-rmse:0.441841
[1965]	train-rmse:0.441838
[1966]	train-rmse:0.441834
[1967]	train-rmse:0.441832
[1968]	train-rmse:0.441829
[1969]	train-rmse:0.441826
[1970]	train-rmse:0.441822
[1971]	train-rmse:0.441818
[1972]	train-rmse:0.441816
[1973]	train-rmse:0.441813
[1974]	train-rmse:0.44181
[1975]	train-rmse:0.441806
[1976]	train-rmse:0.441803
[1977]	train-rmse:0.441801
[1978]	train-rmse:0.441797
[1979]	train-rmse:0.441795
[1980]	train-rmse:0.441793
[1981]	train-rmse:0.441792
[1982]	train-rmse:0.44179
[1983]	train-rmse:0.441787
[1984]	train-rmse:0.441782
[1985]	train-rmse:0.44178
[1986]	train-rmse:0.441777
[1987]	train-rmse:0.441776
[1988]	train-rmse:0.441774
[1989]	train-rmse:0.441771
[1990]	train-rmse:0.441769
[1991]	train-rmse:0.441769
[1992]	train-rmse:0.441766
[1993]	train-rmse:0.441764
[1994]	train-rmse:0.441763
[1995]	train-rmse:0.441761
[1996]	train-rmse:0.441758
[1997]	train-rmse:0.441756
[1998]	train-rmse:0.441753
[1999]	train-rmse:0.441752
[2000]	train-rmse:0.441749
[2001]	train-rmse:0.441747
[2002]	train-rmse:0.441745
[2003]	train-rmse:0.441741
[2004]	train-rmse:0.44174
[2005]	train-rmse:0.441737
[2006]	train-rmse:0.441733
[2007]	train-rmse:0.441731
[2008]	train-rmse:0.441729
[2009]	train-rmse:0.441728
[2010]	train-rmse:0.441724
[2011]	train-rmse:0.441721
[2012]	train-rmse:0.441719
[2013]	train-rmse:0.441716
[2014]	train-rmse:0.441714
[2015]	train-rmse:0.441712
[2016]	train-rmse:0.441708
[2017]	train-rmse:0.441706
[2018]	train-rmse:0.441704
[2019]	train-rmse:0.441702
[2020]	train-rmse:0.441698
[2021]	train-rmse:0.441697
[2022]	train-rmse:0.441695
[2023]	train-rmse:0.44169
[2024]	train-rmse:0.441687
[2025]	train-rmse:0.441682
[2026]	train-rmse:0.441678
[2027]	train-rmse:0.441676
[2028]	train-rmse:0.441673
[2029]	train-rmse:0.441672
[2030]	train-rmse:0.441667
[2031]	train-rmse:0.441665
[2032]	train-rmse:0.441662
[2033]	train-rmse:0.44166
[2034]	train-rmse:0.441659
[2035]	train-rmse:0.441655
[2036]	train-rmse:0.441653
[2037]	train-rmse:0.441649
[2038]	train-rmse:0.441647
[2039]	train-rmse:0.441643
[2040]	train-rmse:0.441641
[2041]	train-rmse:0.441639
[2042]	train-rmse:0.441635
[2043]	train-rmse:0.441633
[2044]	train-rmse:0.441631
[2045]	train-rmse:0.441627
[2046]	train-rmse:0.441622
[2047]	train-rmse:0.441621
[2048]	train-rmse:0.44162
[2049]	train-rmse:0.441618
[2050]	train-rmse:0.441616
[2051]	train-rmse:0.441614
[2052]	train-rmse:0.441612
[2053]	train-rmse:0.44161
[2054]	train-rmse:0.441608
[2055]	train-rmse:0.441605
[2056]	train-rmse:0.441601
[2057]	train-rmse:0.441598
[2058]	train-rmse:0.441596
[2059]	train-rmse:0.441594
[2060]	train-rmse:0.44159
[2061]	train-rmse:0.441588
[2062]	train-rmse:0.441586
[2063]	train-rmse:0.441583
[2064]	train-rmse:0.441581
[2065]	train-rmse:0.44158
[2066]	train-rmse:0.441577
[2067]	train-rmse:0.441573
[2068]	train-rmse:0.441572
[2069]	train-rmse:0.44157
[2070]	train-rmse:0.441567
[2071]	train-rmse:0.441562
[2072]	train-rmse:0.44156
[2073]	train-rmse:0.441557
[2074]	train-rmse:0.441554
[2075]	train-rmse:0.441552
[2076]	train-rmse:0.441549
[2077]	train-rmse:0.441545
[2078]	train-rmse:0.441541
[2079]	train-rmse:0.441537
[2080]	train-rmse:0.441532
[2081]	train-rmse:0.441529
[2082]	train-rmse:0.441527
[2083]	train-rmse:0.441525
[2084]	train-rmse:0.441519
[2085]	train-rmse:0.441516
[2086]	train-rmse:0.441513
[2087]	train-rmse:0.441509
[2088]	train-rmse:0.441507
[2089]	train-rmse:0.441505
[2090]	train-rmse:0.441502
[2091]	train-rmse:0.4415
[2092]	train-rmse:0.441498
[2093]	train-rmse:0.441496
[2094]	train-rmse:0.441494
[2095]	train-rmse:0.441492
[2096]	train-rmse:0.44149
[2097]	train-rmse:0.441487
[2098]	train-rmse:0.441484
[2099]	train-rmse:0.441482
[2100]	train-rmse:0.441479
[2101]	train-rmse:0.441474
[2102]	train-rmse:0.44147
[2103]	train-rmse:0.441467
[2104]	train-rmse:0.441462
[2105]	train-rmse:0.441459
[2106]	train-rmse:0.441458
[2107]	train-rmse:0.441455
[2108]	train-rmse:0.441454
[2109]	train-rmse:0.441452
[2110]	train-rmse:0.44145
[2111]	train-rmse:0.441448
[2112]	train-rmse:0.441446
[2113]	train-rmse:0.441445
[2114]	train-rmse:0.441444
[2115]	train-rmse:0.441442
[2116]	train-rmse:0.44144
[2117]	train-rmse:0.441437
[2118]	train-rmse:0.441436
[2119]	train-rmse:0.441433
[2120]	train-rmse:0.44143
[2121]	train-rmse:0.441428
[2122]	train-rmse:0.441424
[2123]	train-rmse:0.44142
[2124]	train-rmse:0.441418
[2125]	train-rmse:0.441416
[2126]	train-rmse:0.441411
[2127]	train-rmse:0.441409
[2128]	train-rmse:0.441407
[2129]	train-rmse:0.441405
[2130]	train-rmse:0.441402
[2131]	train-rmse:0.4414
[2132]	train-rmse:0.441398
[2133]	train-rmse:0.441396
[2134]	train-rmse:0.441391
[2135]	train-rmse:0.441389
[2136]	train-rmse:0.441386
[2137]	train-rmse:0.441384
[2138]	train-rmse:0.441381
[2139]	train-rmse:0.441378
[2140]	train-rmse:0.441376
[2141]	train-rmse:0.441374
[2142]	train-rmse:0.44137
[2143]	train-rmse:0.441366
[2144]	train-rmse:0.441363
[2145]	train-rmse:0.441361
[2146]	train-rmse:0.44136
[2147]	train-rmse:0.441357
[2148]	train-rmse:0.441355
[2149]	train-rmse:0.441353
[2150]	train-rmse:0.441351
[2151]	train-rmse:0.441347
[2152]	train-rmse:0.441344
[2153]	train-rmse:0.441343
[2154]	train-rmse:0.44134
[2155]	train-rmse:0.441338
[2156]	train-rmse:0.441334
[2157]	train-rmse:0.44133
[2158]	train-rmse:0.441326
[2159]	train-rmse:0.441324
[2160]	train-rmse:0.441322
[2161]	train-rmse:0.44132
[2162]	train-rmse:0.441317
[2163]	train-rmse:0.441315
[2164]	train-rmse:0.441313
[2165]	train-rmse:0.44131
[2166]	train-rmse:0.441308
[2167]	train-rmse:0.441306
[2168]	train-rmse:0.441303
[2169]	train-rmse:0.441302
[2170]	train-rmse:0.441298
[2171]	train-rmse:0.441296
[2172]	train-rmse:0.441294
[2173]	train-rmse:0.441292
[2174]	train-rmse:0.44129
[2175]	train-rmse:0.441288
[2176]	train-rmse:0.441285
[2177]	train-rmse:0.441282
[2178]	train-rmse:0.441279
[2179]	train-rmse:0.441276
[2180]	train-rmse:0.441274
[2181]	train-rmse:0.441273
[2182]	train-rmse:0.441269
[2183]	train-rmse:0.441267
[2184]	train-rmse:0.441266
[2185]	train-rmse:0.441263
[2186]	train-rmse:0.441261
[2187]	train-rmse:0.441259
[2188]	train-rmse:0.441256
[2189]	train-rmse:0.441253
[2190]	train-rmse:0.441252
[2191]	train-rmse:0.441249
[2192]	train-rmse:0.441247
[2193]	train-rmse:0.441245
[2194]	train-rmse:0.441244
[2195]	train-rmse:0.441243
[2196]	train-rmse:0.441241
[2197]	train-rmse:0.441238
[2198]	train-rmse:0.441236
[2199]	train-rmse:0.441234
  • 1600 : 0.442933
  • 1800 : 0.442292
  • 2200 : 0.441234

In [141]:
bst.save_model('bst11_2200_eta0015.model')

In [56]:
dtest_11 = xgb.DMatrix(train_pivot_56789_to_11.drop(['id'],axis =1), missing=np.nan)

In [132]:
submission_11_all_train = pd.DataFrame()
submission_11_all_train = train_pivot_56789_to_11[['id']].copy()
submission_11_all_train['predict'] = bst.predict(dtest_11)
submission_11_all_train.reset_index(drop = True,inplace = True)

In [96]:
submission_11_all_train['predict'].describe()


Out[96]:
count    3.460866e+06
mean     1.561886e+00
std      7.065410e-01
min     -3.176572e-01
25%      1.056087e+00
50%      1.396147e+00
75%      1.880355e+00
max      7.308497e+00
Name: predict, dtype: float64

In [97]:
submission_11_all_train.head()


Out[97]:
id predict
0 1547831.0 4.339578
1 6825659.0 2.999748
2 5853787.0 2.638007
3 2316053.0 1.133329
4 900676.0 2.027621

In [133]:
submission_11_all_train['id'] = submission_11_all_train['id'].astype(int)

concat result


In [29]:
submission_10 = pd.read_csv('week10_private.csv',index_col = 0)

In [38]:
submission_10.head()


Out[38]:
id predict
0 1569352 2.389577
1 6667200 3.532464
2 1592616 2.962314
3 3909690 4.135859
4 3659672 3.563721

In [33]:
submission_all_train = pd.concat([submission_10,submission_11_all_train],axis =0)
submission_all_train['predict'] = submission_all_train['predict'].apply(np.expm1)
submission_all_train.rename(columns = {'predict':'Demanda_uni_equil'},inplace = True)

In [ ]:
submission_all_train['Demanda_uni_equil'] = submission_all_train['Demanda_uni_equil'].round(1)
submission_all_train.loc[submission_all_train['Demanda_uni_equil']<0,'Demanda_uni_equil'] = 0
submission_all_train['Demanda_uni_equil'].describe()

In [ ]:
submission_all_train['id'] = submission_all_train['id'].astype(int)

In [36]:
submission_all_train.head()


Out[36]:
id Demanda_uni_equil
0 1569352 9.9
1 6667200 33.2
2 1592616 18.3
3 3909690 61.5
4 3659672 34.3

In [ ]:
submission_all_train.to('')

validation 45678 to 10



In [45]:
train_pivot_45678_to_10 = pd.read_pickle('validation_45678_10.pickle')
train_pivot_45678_to_10.head()


Out[45]:
Semana id ruta_freq clien_freq agen_freq prod_freq agen_for_log_de ruta_for_log_de cliente_for_log_de producto_for_log_de agen_ruta_for_log_de ... LR_prod_corr t_m_6_cum t_m_5_cum t_m_4_cum t_m_3_cum t_m_2_cum NombreCliente weight weight_per_piece pieces
0 1569352 10.0 158.0 3861.0 169.0 3.951774 3.165635 2.83547 2.493198 3.165635 ... -1.349546 2.397895 2.397895 2.397895 2.397895 2.397895 131.0 691.0 NaN NaN
1 6667200 658.0 158.0 12429.0 10746.0 3.509364 3.211487 2.83547 4.374220 2.805172 ... 19.839575 3.761200 7.545390 11.041898 14.475884 18.164764 6027.0 740.0 NaN NaN
2 1592616 658.0 158.0 12429.0 10736.0 3.509364 3.211487 2.83547 3.987994 2.805172 ... 17.888412 0.000000 0.000000 2.833213 6.165418 8.730368 6027.0 480.0 NaN NaN
3 3909690 658.0 158.0 12429.0 13169.0 3.509364 3.211487 2.83547 4.535940 2.805172 ... 20.221937 4.158883 8.589700 12.303272 16.620760 20.715105 6027.0 680.0 NaN NaN
4 3659672 658.0 158.0 12429.0 10624.0 3.509364 3.211487 2.83547 3.268587 2.805172 ... 13.291507 1.945910 5.529429 9.084777 12.773657 16.602299 6027.0 567.0 NaN NaN

5 rows × 44 columns


In [46]:
dtest_valid = xgb.DMatrix(train_pivot_45678_to_10.drop(['id'],axis =1), missing=np.nan)

In [134]:
submission_10_valid = pd.DataFrame()
submission_10_valid = train_pivot_45678_to_10[['id']].copy()
submission_10_valid['predict'] = bst.predict(dtest_valid)
submission_10_valid.reset_index(drop = True,inplace = True)

In [100]:
submission_10_valid.head()


Out[100]:
Semana id predict
0 1569352 2.259041
1 6667200 3.567400
2 1592616 2.877977
3 3909690 4.066172
4 3659672 3.513400

In [135]:
submission_all_train = pd.DataFrame()
submission_all_train = pd.concat([submission_10_valid,submission_11_all_train],axis =0)
submission_all_train['predict'] = submission_all_train['predict'].apply(np.expm1)
submission_all_train.rename(columns = {'predict':'Demanda_uni_equil'},inplace = True)
submission_all_train.head()


Out[135]:
Semana id Demanda_uni_equil
0 1569352 8.406385
1 6667200 34.465729
2 1592616 16.756153
3 3909690 57.540695
4 3659672 33.211864

In [136]:
submission_all_train.loc[submission_all_train['Demanda_uni_equil']<0,'Demanda_uni_equil'] = 0
submission_all_train['Demanda_uni_equil'].describe()


Out[136]:
count    6.999251e+06
mean     6.043300e+00
std      1.571901e+01
min      0.000000e+00
25%      1.877748e+00
50%      3.051292e+00
75%      5.550261e+00
max      5.625943e+03
Name: Demanda_uni_equil, dtype: float64

In [137]:
submission_all_train['id'] = submission_all_train['id'].astype(int)

In [138]:
submission_all_train['Demanda_uni_equil'].describe()


Out[138]:
count    6.999251e+06
mean     6.043300e+00
std      1.571901e+01
min      0.000000e+00
25%      1.877748e+00
50%      3.051292e+00
75%      5.550261e+00
max      5.625943e+03
Name: Demanda_uni_equil, dtype: float64

In [139]:
submission_all_train.head()


Out[139]:
Semana id Demanda_uni_equil
0 1569352 8.406385
1 6667200 34.465729
2 1592616 16.756153
3 3909690 57.540695
4 3659672 33.211864

In [123]:
submission_all_train['Demanda_uni_equil'] = submission_all_train['Demanda_uni_equil'].round(1)

In [140]:
submission_all_train.to_csv('valid10_6.csv',index = False)

In [ ]:


In [ ]:


In [ ]:


In [ ]:


In [ ]: