Notes for machine learning and statistics