Update machine learning week 5