How Machine Learning Enhances Early Detection in Healthcare