Toward IoT-Friendly learning models