All the code here was written for assignments in a Machine Learning course (COL774) at IIT Delhi, taught by Dr. Parag Singla.
Link for the course: http://www.cse.iitd.ac.in/~parags/teaching/col774/
1,2,3,4 were part of assignment 1
5,6 for assignment 3
7 for assignment 4