SageMaker - XGBoost built in algo with LibSVM - Training job Error
Trying to run XGBoost with multiclass classification. The train worked well few times, and now we Get error every time we want to train The libsvm files seem to be valid (be able to load them with sklearn)
I've attached the training and validation libsvm files...
This is the error:
Training job ended with status: Failed Training failed with the following error: ClientError: Failed to load libsvm data with exception: [15:05:07] src/data/././strtonum.h:141: Check failed: sign == true (0 vs. 1)
Stack trace returned 8 entries:
[bt] (0) /usr/local/lib/python2.7/site-packages/xgboost-0.71-py2.7.egg/xgboost/libxgboost.so(dmlc::StackTrace()+0x42) [0x7fac8ed5bb92]
[bt] (1) /usr/local/lib/python2.7/site-packages/xgboost-0.71-py2.7.egg/xgboost/libxgboost.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x18) [0x7fac8ed5c198]
[bt] (2) /usr/local/lib/python2.7/site-packages/xgboost-0.71-py2.7.egg/xgboost/libxgboost.so(int dmlc::data::strtouint
@superisrael I see the training_params.txt file attached. But I do not see the training and validation libsvm files. There might be a variety of reasons for the error that you see. E.g. the column index for XGBoost LibSVM should start from zero. The data file may contain HTML tags. Please share (sample) data so that we can verify at our end.
Closing due to lack of activity. Please ask to re-open if this is still an issue.