Expected 2D array, got 1D array instead:
array=[0.05300031 0.02378882 0.01847368 ... 0.00791505 0.00755339 0.00548967].
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.

Expected 2D array, got 1D array instead:
array=[0.05300031 0.02378882 0.01847368 ... 0.00791505 0.00755339 0.00548967].
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.