Machine learning notes and derivations.