ValueError: Data cardinality is ambiguous:
x sizes: 10000, 10, 10
y sizes: 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000
Please provide data which shares the same first dimension.
This line of code is given in the notebook, so I am surprised that it fails. Does anyone have the same issue? What is wrong there?
All my unit tests pass and I tried already to restart the kernel and run again, but the same error pops up.
The bold line caused the issue.
I had expected that, during fit time, the model takes m from the shape of Xoh (->10000), but somehow it was aware of m=10 as well and complained about ambiguity.
Using a different variable name solves the issue.