Generated training data for scala as raw float array