Python codes for the CS 461 (Machine Learning)