Spark DStreaming program to read IoT data from a Kafka (MapR Streams) topic, form a window and use a saved ML model to discover a movement mode.
The scenario is described in https://mapr.com/blog/cool-fitness-tracker-using-iot-sensors-cloud-ml-on-mapr/