An adaptive method for data reduction in the Internet of Things | Synapse