Another key technology for building smart spaces is to give devices the ability to learn, infer, make decisions, and adapt their behaviors–becoming smarter. One common example is the Nest learning thermostat [45], a smart thermostat that can learn the occupant’s schedule and heating/cooling be...