Text this: Resource-efficient data transmission for WiFi-capable bio-loggers based on machine learning.