Machine learning systems in the IoT