3 machine learning best practices to use in IoT projects