use float32 for example data

Switch to 32-bit floating point numbers for feature values. These use less memory, and provide a marginal speed improvement. It is unlikely that the drop in precision would make a difference to the performance of the algorithm.