This document discusses algorithms for predictive modeling, including logistic regression. It presents a medical dataset containing measurements of heart patients and whether they survived. Logistic regression is applied to predict survival using maximum likelihood estimation. Numerical optimization techniques like BFGS and Fisher's algorithm are discussed for maximum likelihood estimation of logistic regression. Iteratively reweighted least squares is also presented as an alternative approach.