DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
ValueError: expected sparse matrix with integer values, found float values
model.fit(X.toarray().astype(int))
PREVIOUS
NEXT
Tagged:
#expected
#sparse
#matrix
#integer
#float
#values
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit