Introduction to Machine Learning with R: Rigorous Mathematical Analysis