Wrapper on top of liblinear-tools
  • OCaml 91.9%
  • Python 5.7%
  • Shell 2%
  • Makefile 0.4%
Find a file
Francois Berenger ff3f8e7989 Linwrap: --save and --load force the setting of train_p
so that the user doesn't forget
2025-07-04 15:15:43 +01:00
bin ecfp6.py: should be able to work in parallel 2020-04-03 16:38:59 +09:00
data data/*.xz added data files for regression 2020-07-17 16:53:30 +09:00
src Linwrap: --save and --load force the setting of train_p 2025-07-04 15:15:43 +01:00
.gitignore gitignore 2021-04-23 12:10:53 +09:00
dune-project dune-project: regenerated by dune 2019-10-07 14:26:18 +09:00
linwrap added ./linwrap soft link to exe 2021-04-23 12:11:03 +09:00
linwrap.opam linwrap.opam: rely on opam's liblinear package instead of conf-liblinear-tools 2025-07-03 16:06:05 +01:00
Makefile Makefile: clean removes trained models 2019-09-09 17:58:45 +09:00
README.md update README 2020-08-06 11:41:06 +09:00
test.sh more portable tests 2021-04-23 12:10:19 +09:00

linwrap

Wrapper on top of liblinear-tools.

Linwrap can be used to train a L2-regularized logistic regression classifier or a linear Support Vector Regressor. You can optimize C (the L2 regularization parameter), w (the class weight) or k (the number of bags, i.e. use bagging). You can also find the optimal classification threshold using MCC maximization, use k-folds cross validation, parallelization, etc. In the regression case, you can only optimize C and epsilon.

Bibliography

[1] Fan, R. E., Chang, K. W., Hsieh, C. J., Wang, X. R., & Lin, C. J. (2008). LIBLINEAR: A library for large linear classification. Journal of machine learning research, 9(Aug), 1871-1874.

[2] Hsu, C. W., Chang, C. C., & Lin, C. J. (2003). A practical guide to support vector classification.

[3] Hsia, J. Y., & Lin, C. J. (2020). Parameter selection for linear support vector regression. IEEE Transactions on Neural Networks and Learning Systems.

[4] Breiman, L. (1996). Bagging predictors. Machine learning, 24(2), 123-140.