These are chat archives for beniz/deepdetect

23rd
Jun 2017
Deepak Kumar Battini
@deepakkumar1984
Jun 23 2017 01:22
Trying to train using XGBoost : Logistic Regression
{
"service":"merz",
"async":false,
"parameters":{
"mllib":{
"iterations":1000,
"test_interval":100,
"objective":"reg:logistic"
},
"input":{
"label":"y",
"id":"ID",
"separator":",",
"shuffle":true,
"test_split":0.1
},
"output":{
"measure":["acc", "eucll"]
}
},
"data":["/data/models/merz/train.csv"]
}
Getting error:
{
"status": {
"code": 500,
"msg": "InternalError",
"dd_code": 1007,
"dd_msg": "[01:19:56] src/data/simple_dmatrix.cc:146: Check failed: pcol->Size() == info().num_col (378 vs. 377) \n\nStack trace returned 10 entries:\n[bt] (0) ./dede(_ZN7xgboost4data13SimpleDMatrix12MakeOneBatchERKSt6vectorIbSaIbEEfPNS0_10SparsePageE+0x1378) [0x8083f8]\n[bt] (1) ./dede(_ZN7xgboost4data13SimpleDMatrix13InitColAccessERKSt6vectorIbSaIbEEfm+0x2db) [0x80a75b]\n[bt] (2) ./dede(_ZN7xgboost11LearnerImpl15LazyInitDMatrixEPNS_7DMatrixE+0x1a9) [0x74a2e9]\n[bt] (3) ./dede(_ZN7xgboost11LearnerImpl13UpdateOneIterEiPNS_7DMatrixE+0x1c5) [0x74adb5]\n[bt] (4) ./dede(_ZN2dd6XGBLibINS_19CSVXGBInputFileConnENS_16SupervisedOutputENS_8XGBModelEE5trainERKNS7APIDataERS5+0x27ff) [0x5dc5af]\n[bt] (5) ./dede(_ZN2dd9MLServiceINS_6XGBLibENS_19CSVXGBInputFileConnENS_16SupervisedOutputENS_8XGBModelEE9train_jobERKNS7APIDataERS6+0x3e8) [0x5561d8]\n[bt] (6) ./dede(_ZN6mapbox4util6detail10dispatcherIN2dd13visitor_trainENS0_7variantIJNS3_9MLServiceINS3_8CaffeLibENS3_21ImgCaffeInputFileConnENS3_16SupervisedOutputENS3_10CaffeModelEEENS6_IS7_NS3_21CSVCaffeInputFileConnES9_SA_EENS6_IS7_NS3_21TxtCaffeInputFileConnES9_SA_EENS6_IS7_NS3_21SVMCaffeInputFileConnES9_SA_EENS6_IS7_S8_NS3_18UnsupervisedOutputESA_EENS6_IS7_SC_SI_SA_EENS6_IS7_SE_SI_SA_EENS6_IS7_SG_SI_SA_EENS6_INS3_6XGBLibENS3_19CSVXGBInputFileConnES9_NS3_8XGBModelEEENS6_ISN_NS3_19SVMXGBInputFileConnES9_SP_EENS6_ISN_NS3_19TxtXGBInputFileConnES9_SP_EEEEEJSQ_SS_SU_EE5applyERSVS4+0xb2) [0x55bad2]\n[bt] (7) ./dede(_ZN6mapbox4util6detail10dispatcherIN2dd13visitor_trainENS0_7variantIINS3_9MLServiceINS3_8CaffeLibENS3_21ImgCaffeInputFileConnENS3_16SupervisedOutputENS3_10CaffeModelEEENS6_IS7_NS3_21CSVCaffeInputFileConnES9_SA_EENS6_IS7_NS3_21TxtCaffeInputFileConnES9_SA_EENS6_IS7_NS3_21SVMCaffeInputFileConnES9_SA_EENS6_IS7_S8_NS3_18UnsupervisedOutputESA_EENS6_IS7_SC_SI_SA_EENS6_IS7_SE_SI_SA_EENS6_IS7_SG_SI_SA_EENS6_INS3_6XGBLibENS3_19CSVXGBInputFileConnES9_NS3_8XGBModelEEENS6_ISN_NS3_19SVMXGBInputFileConnES9_SP_EENS6_ISN_NS3_19TxtXGBInputFileConnES9_SP_EEEEEISM_SQ_SS_SU_EE5applyERSVS4+0x5e) [0x55bb6e]\n[bt] (8) ./dede(_ZN6mapbox4util6detail10dispatcherIN2dd13visitor_trainENS0_7variantIINS3_9MLServiceINS3_8CaffeLibENS3_21ImgCaffeInputFileConnENS3_16SupervisedOutputENS3_10CaffeModelEEENS6_IS7_NS3_21CSVCaffeInputFileConnES9_SA_EENS6_IS7_NS3_21TxtCaffeInputFileConnES9_SA_EENS6_IS7_NS3_21SVMCaffeInputFileConnES9_SA_EENS6_IS7_S8_NS3_18UnsupervisedOutputESA_EENS6_IS7_SC_SI_SA_EENS6_IS7_SE_SI_SA_EENS6_IS7_SG_SI_SA_EENS6_INS3_6XGBLibENS3_19CSVXGBInputFileConnES9_NS3_8XGBModelEEENS6_ISN_NS3_19SVMXGBInputFileConnES9_SP_EENS6_ISN_NS3_19TxtXGBInputFileConnES9_SP_EEEEEISL_SM_SQ_SS_SU_EE5applyERSVS4+0x5e) [0x55bc5e]\n[bt] (9) ./dede(_ZN6mapbox4util6detail10dispatcherIN2dd13visitor_trainENS0_7variantIINS3_9MLServiceINS3_8CaffeLibENS3_21ImgCaffeInputFileConnENS3_16SupervisedOutputENS3_10CaffeModelEEENS6_IS7_NS3_21CSVCaffeInputFileConnES9_SA_EENS6_IS7_NS3_21TxtCaffeInputFileConnES9_SA_EENS6_IS7_NS3_21SVMCaffeInputFileConnES9_SA_EENS6_IS7_S8_NS3_18UnsupervisedOutputESA_EENS6_IS7_SC_SI_SA_EENS6_IS7_SE_SI_SA_EENS6_IS7_SG_SI_SA_EENS6_INS3_6XGBLibENS3_19CSVXGBInputFileConnES9_NS3_8XGBModelEEENS6_ISN_NS3_19SVMXGBInputFileConnES9_SP_EENS6_ISN_NS3_19TxtXGBInputFileConnES9_SP_EEEEEISK_SL_SM_SQ_SS_SU_EE5applyERSVS4+0x5e) [0x55bd4e]\n"
}
}
Any idea
Emmanuel Benazera
@beniz
Jun 23 2017 05:33
Remove acc, add regression true flag.
Deepak Kumar Battini
@deepakkumar1984
Jun 23 2017 06:36
Thanks. Will try it mate
Emmanuel Benazera
@beniz
Jun 23 2017 06:41
But more fundamentally, the error msg tells you you don't have the correct number of columns. Good luck.