Parallel Primitives for Vendor-Agnostic Implementation of Big Data Mining Algorithms