This repository was archived by the owner on Mar 21, 2023. It is now read-only.
This repository was archived by the owner on Mar 21, 2023. It is now read-only.
Deprecation warning in machine learning intro #2
Open
Description
I am seeing a Deprecation Warning in code line number two where the "plot_sgd_separator()" function is called. The warning is as follows.
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.
Metadata
Metadata
Assignees
Labels
No labels