Answers for "ValueError: Found array with dim 3. Estimator expected <= 2."

2

ValueError: Found array with dim 3. Estimator expected <= 2.

nsamples, nx, ny = train_dataset.shape
d2_train_dataset = train_dataset.reshape((nsamples,nx*ny))
Posted by: Guest on July-16-2020

Code answers related to "ValueError: Found array with dim 3. Estimator expected <= 2."

Python Answers by Framework

Browse Popular Code Answers by Language