DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
ValueError: Found array with dim 3. Estimator expected <= 2.
nsamples, nx, ny = train_dataset.shape d2_train_dataset = train_dataset.reshape((nsamples,nx*ny))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Found
#array
#dim
#Estimator
#expected
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit