Addressing Challenges in Time Series Forecasting: A Comprehensive Comparison of Machine Learning Techniques