W2_A2_Ex-8_Value Error for w

Where is train_set_x defined? Use the browser “search” to find all instances of it. It is created by one of the earlier cells in the notebook, right? Are you sure that you have executed that cell since the last time you closed and reopened the notebook or restarted the kernel? There is a topic about variables not being defined on the FAQ Thread. Please have a look and see if that is the cause.

1 Like