Approximation of fruit ripening quality index for IoT based assistive e-healthcare