You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following warning while training a neural network model on the BankChurners dataset. One way to resolve this is by adding train_y.values.ravel() in the fit method.
python3.9/site-packages/sklearn/preprocessing/_label.py:114: DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel(). y = column_or_1d(y, warn=True)
The text was updated successfully, but these errors were encountered:
The following warning while training a neural network model on the BankChurners dataset. One way to resolve this is by adding
train_y.values.ravel()
in the fit method.python3.9/site-packages/sklearn/preprocessing/_label.py:114: DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel(). y = column_or_1d(y, warn=True)
The text was updated successfully, but these errors were encountered: