Notes for Andrew Ng's machine learning class CS229