A draft note for Stanford CS229 Machine Learning course