Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expected 2D array, got 1D array instead: lowd_meek.py #4

Open
godspeed5 opened this issue Nov 22, 2020 · 0 comments
Open

Expected 2D array, got 1D array instead: lowd_meek.py #4

godspeed5 opened this issue Nov 22, 2020 · 0 comments

Comments

@godspeed5
Copy link

When I execute lowd_meek.py using the same diabetes dataset specified in the code, the following error appears:

Expected 2D array, got 1D array instead:
array=[-0.529412 -0.035533 0.0491803 -1. -1. -0.0461997
-0.926255 -0.583333 ].

The above error comes from
label = self.clf1.predict(x)
in OnlineBase.py which is used when instantiating the class LordMeek in lowd_meek.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant