sklearn.utils.validation.column_or_1d(y, warn=False)
[source]
Ravel column or 1d numpy array, else raises an error
Parameters: |
|
---|---|
Returns: |
|
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.utils.validation.column_or_1d.html