Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the usage in README. #58

Merged
merged 1 commit into from
Jan 30, 2021
Merged

Update the usage in README. #58

merged 1 commit into from
Jan 30, 2021

Conversation

barucden
Copy link
Member

@barucden barucden commented Oct 3, 2020

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.

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

This commit converts the categorical labels to integers.
@mirkobunse
Copy link

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

@iblislin iblislin merged commit aa9eb0b into JuliaML:master Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in Readme example problem with example LIBSVM.jl webpage : example not working
3 participants