Answer to question 4 is wrong

Hi guys; I believe there is an issue with the answer to question 4. It’s incorrect.

Both my code, and the code in the “show answer” come up with the same result, but it’s not the correct answer according to the quiz.

I don’t want to say more without giving anything away, but I can show you / send you my notebook in order for you guys to see the issue for yourself.

Thanks!

1 Like

Are you sure you used the whole data as defined by

data = cycling.drop(columns=target_name)

i.e., without the engineered features?

Indeed, make sure to not make the same mistake than in the following thread: Explaination for Question no.8 - #5 by saurabhmishra

Yes. I did not include the target.

I did, however, miss this one line:

 # Drop the "timestamp" from the index
cycling_df.index.name = ""

And that made all the difference.

Sucks, but it’s my bad.

Sorry guys.