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
# Import the example plot from the figures directory
from figures import plot_sgd_separator
plot_sgd_separator()
Gives the warning:
C:\anaconda\lib\site-packages\sklearn\utils\validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.
DeprecationWarning)
The error is repeated many times. The figure does load properly despite these warnings.
The text was updated successfully, but these errors were encountered:
Code:
Gives the warning:
DeprecationWarning)
The error is repeated many times. The figure does load properly despite these warnings.
The text was updated successfully, but these errors were encountered: