Как заставить XGBoost и python работать в IBM AIX - PullRequest
0 голосов
/ 31 мая 2019

Невозможно заставить библиотеку XGBoost работать в AIX.Сбои тестов после компиляции:

  1. Не нашел ни сборки XGBoost для AIX, ни заявления о несовместимости.
  2. Скомпилированные источники XGBoost 0.9 с gcc 8.3 в AIX 7.1
  3. Запустить тест из demo / binary_classification /:
:~/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)
...