Closed bruce0715 closed 5 years ago
ValueError: Expected 2D array, got scalar array instead: array=51.0. Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.
same error
ValueError: Expected 2D array, got scalar array instead: array=51.0. Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.