Data analytics for wearable IoT-based telemedicine