This document provides a comprehensive guide on penalized generalized linear models (GLM) and gradient boosting machines (GBM). It discusses the methodology, requirements, and optimization techniques for GLM, including various distributions and loss functions, as well as an overview of GBM's principles and implementation strategies. Furthermore, it outlines practical pointers for model training, validation, and hyperparameter tuning to enhance predictive accuracy.