C1/w2 week-2-practice-lab-linear-regression - need help

Supervised Machine Learning: Regression and Classification

C1/w2 week-2-practice-lab-linear-regression

Hello everyone,
Following code cell is not editable, on execution of code there is an error x_train is not defined.

I am not able to figure out, where x_train and y_train can be defined.

Please help!
Best regards,
Nitin

Hi @nitin.bali, usually, this is defined in the first few code cells, so you need to execute them to define them. Please start by executing the top code cell and then go down one by one until you reach the code cell in question again. I hope this helps!

@nadtriana thanks a lot. I did followed complete assignment reaching here, not sure how this was not working. Followed all cells again, now working for me.
thanks once again.

1 Like