DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
ValueError: Shapes (None, 1) and (None, 3) are incompatible
y_train
=
to_categorical
(
y_train
,
3
)
y_test
=
to_categorical
(
y_test
,
3
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Shapes
#incompatible
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit