machine learnig ex4,ex5,ex6