Closed barucden closed 3 years ago
When slicing a vector of CategoricalValues, a CategoricalArray is created, which cannot be assigned to y::Vector{T} in SupportVectors.
CategoricalValue
CategoricalArray
y::Vector{T}
SupportVectors
This PR converts the categorical labels to integers, fixing the README examples.
Closes #50. Closes #55. Closes #57.
Just ran into one of the issues that this PR would solve; now I'm commenting just to give this PR a push.
When slicing a vector of
CategoricalValue
s, aCategoricalArray
is created, which cannot be assigned toy::Vector{T}
inSupportVectors
.This PR converts the categorical labels to integers, fixing the README examples.
Closes #50. Closes #55. Closes #57.