Assignment for the "Machine Learning" course of the Department of Control Science and Engineering, Tongji University.