Advanced Techniques in Mortality Trend Estimation: Integrating Generalized Additive Models and Machine Learning to Evaluate the COVID-19 Impact (preprint)