无法使XGBoost库在AIX上运行。编译后测试失败:
:~/xgboost/demo/binary_classification
$ python mapfeat.py
:~/xgboost/demo/binary_classification
$ python mknfold.py agaricus.txt 1
:~/xgboost/demo/binary_classification
$ ../../xgboost mushroom.conf
[09:37:32] 6513x126 matrix with 143286 entries loaded from agaricus.txt.train
[09:37:32] 1611x126 matrix with 35442 entries loaded from agaricus.txt.test
[09:37:32] [0] test-error:0.016139 train-error:0.014433
[09:37:32] [1] test-error:0.000000 train-error:0.001228
:~/xgboost/demo/binary_classification
$ ../../xgboost mushroom.conf task=pred model_in=0002.model
结果:
[09:40:28] 1611x126 matrix with 35442 entries loaded from agaricus.txt.test
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
IOT/Abort trap (core dumped)