Search
 
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
Name
5+4 =