package linwrap

  1. Overview
  2. Docs
Wrapper around liblinear-tools

Install

Dune Dependency

Authors

Maintainers

Sources

v0.0.1.tar.gz
sha256=460bbd11012e1d081497a03a42737562aa3333f0ec7913d4aea601ad866afb9f
md5=4456917240f47526a681d1230d53ebf8

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: 10 Oct 2019

README

linwrap

wrapper on top of liblinear-tools

Dependencies (8)

  1. conf-liblinear-tools
  2. parany >= "6.0.0" & < "10.0.0"
  3. minicli
  4. dune >= "1.10"
  5. dolog >= "4.0.0" & < "5.0.0"
  6. cpm
  7. batteries
  8. base-unix

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.