Question on predict method

I am getting this error. I am not sure what it means. To my understandind, there needs to be a dot product between x and theta.

Hi @Angel_Ortiz

The most probable cause is that you have not extracted features correctly into x (with the help of extract_features function that you implemented earlier).

In other words, most probably your x contains strings.

1 Like

Hello @arvyzukai
I have done the extract_features and passed the test. I saw the problem. I was not using the extract_features correctly in that exercise.

1 Like