Machine Learning Course Project

Hey Everyone,
can someone help me with the below error in my code