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

43

nsamples, nx, ny = train_dataset.shape
d2_train_dataset = train_dataset.reshape((nsamples,nx*ny))

Comments

Submit
0 Comments