Efficient data to decision pipelines for embedded and social sensing