I am new into ML. As per video tutorials when i try to execute the following lines i get an error.
However the instructor get successful execution.

Error is :
i have google about it but didnt get any clue. May be there is change in library ? How can i solve this Error.

https://www.udemy.com/machinelearning/here is the code file link drive.google.com/open?id=1w9ujZqlUaF-6lOwk_2GgBIDew8dAdRZ2 $\endgroup$