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

Adapt the LIBLINEAR code inside the package #49

Open
kbenoit opened this issue Mar 5, 2021 · 0 comments
Open

Adapt the LIBLINEAR code inside the package #49

kbenoit opened this issue Mar 5, 2021 · 0 comments

Comments

@kbenoit
Copy link
Contributor

kbenoit commented Mar 5, 2021

textmodel_svmlin() is based on https://vikas.sindhwani.org/svmlin.html, which is super fast, but based on somewhat inflexibly structured code that is 15 years old. It has a lot of possibilities though including semi-supervised classification, so I've kept it for tests. (This is the C++ code you adapted from the RSSL package.)

textmodel_svm() is based on https://www.csie.ntu.edu.tw/~cjlin/liblinear/, which was updated most recently last month. It is very flexible, and adapts to both k > 2 problems as well as offering an easy way to output probabilities in prediction (using a method similar to that computed for multinomial logistic regression). This is currently taken from the LiblineaR package, although that package's version of the LIBLINEAR C++ code tends to lag behind its current version.

It would be nice to consider adapting this code to our package (or a new independent wrapper package) to do the following:

@kbenoit kbenoit mentioned this issue Mar 5, 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

No branches or pull requests

1 participant