WIP: avoid data conversion in AdaBoost