Analytics with the Internet of Things