ottoh hidayatullah
1 min readApr 15, 2018

--

a little bit confuse,
my code error when i try to use svm.SVC(kernel=’linear’) library of sklearn. i can train the model but when i try to test model with new input data texts, error coming up

ValueError: cannot use sparse input in ‘SVC’ trained on dense data

can you help me to understand this?

--

--

Responses (1)