study notes on probability, Bayesian methods, and optimization (2022–2023)