package linwrap
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ff14f3f61e2cb92b6de9a9fae51dffab5226327c1ce18f0634cb9eed81bcd2f6
md5=ac460ea9915a488bc56d0acf9d966b04
Description
Only L2-regularized logistic regression is supported currently. Each model is trained on balanced bootstraps from the training set (one bootstrap for the positive class, one for the negative class). The size of the bootstrap is the size of the smallest (under-represented) class. Bagging is supported and allows to obtain better models.
usage: linwrap -i : training set or DB to screen [-o ]: predictions output file [-np ]: ncores [-c ]: fix C [-w ]: fix w1 [-k ]: number of bags for bagging (default=off) [-n ]: folds of cross validation [--seed ]: fix random seed [-p ]: training set portion (in [0.0:1.0]) [{-l|--load} ]: prod. mode; use trained models [{-s|--save} ]: train. mode; save trained models [--scan-c]: scan for best C [--scan-w]: scan weight to counter class imbalance [--scan-k]: scan number of bags (advice: optim. k rather than w)
Published: 08 Jan 2020
README
linwrap
wrapper on top of liblinear-tools
Dependencies (9)
- dokeysto_camltc
- conf-liblinear-tools
-
parany
>= "6.0.0" & < "10.0.0"
- minicli
-
dune
>= "1.10"
-
dolog
>= "4.0.0" & < "5.0.0"
- cpm
- batteries
- base-unix
Dev Dependencies
None
Used by
None
Conflicts
None