JuliaML / LIBSVM.jl

LIBSVM bindings for Julia
Other
88 stars 35 forks source link

Update the usage in README. #58

Closed barucden closed 3 years ago

barucden commented 4 years ago

When slicing a vector of CategoricalValues, a CategoricalArray is created, which cannot be assigned to y::Vector{T} in SupportVectors.

This PR converts the categorical labels to integers, fixing the README examples.

Closes #50. Closes #55. Closes #57.

mirkobunse commented 3 years ago

Just ran into one of the issues that this PR would solve; now I'm commenting just to give this PR a push.