Steal-ML
Steal-ML copied to clipboard
Expected 2D array, got 1D array instead: lowd_meek.py
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