Embedded Machine Learning: Towards a Low-Cost Intelligent IoT edge