Text this: Pallet-level classification using principal component analysis in ensemble learning model