X.shape[0] should be the same as y.shape[0]. If this requisite is not met, an exception of type ValueError should be raised. https://scikit-learn.org/stable/developers/develop.html#fitting
X.shape[0] should be the same as y.shape[0]. If this requisite is not met, an exception of type ValueError should be raised.
https://scikit-learn.org/stable/developers/develop.html#fitting