Skip to content

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

@godspeed5

Description

@godspeed5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions