Closed tsalo closed 2 years ago
In addition to checking the number of rows of y
against the number of rows of X
, should we also add checks for y vs. v
and y vs. n
?
That would be great! The number of rows and columns of v need to match y. I'm not sure if the number of columns of n need to match y, but the number of rows should.
To reproduce the problem, use the following code
Here's the traceback:
Note that the exception is raised when the Estimator is fitted, rather than when the Dataset is initialized, and it's the product of a mathematical operation, rather than an explicit check.
NOTE: Related to #37.