Module of Andrew NG's ML course.