Some code for machine_learning course on coursera.