Wk4 course 3 : Data cardinality ambiguous

please am facing this syntax error while my code seems right …i need help to resolve this

Simply this error means that the number of inputs x and the labels y are not the same, they need be same.

1 Like

I defined my code well but its not getting the required output leading to this error

how do i solve this please …if you can take a look at my work i will be glad to share

Hello @Igboji_Ebuka_Andrew ,

If your error is not yet solved, send me your notebook via dm such that I can check where it went wrong. By clicking on the profile picture, you will see an option to message. There you can attach your notebook. Then we can discuss the issues here, under the topic you created.

With regards,
Nilosree Sengupta

1 Like

thank you i have solved it please help me am having a diifferent error with my week 4 assignment cant get an mae of below 2

Hello @Igboji_Ebuka_Andrew ,

That’s great!
Yeah sure!! We are here to help you.

Since, this topic is for a different error, could you kindly create a separate topic for your next error,( to maintain clarity, relevance and avoid confusion). There, I or some other mentor will surely reach out to you.

With regards,
Nilosree Sengupta