Machine Learning APIs power a more intelligent Internet of Things at the Edge