Data Science for IoT: The role of hardware in analytics