package svmwrap

Not available on OCaml 5.5
  1. Overview
  2. Docs
Wrapper on top of libsvm-tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v5.1.1.tar.gz
sha256=b2deb5e61a376fe7e62d50554f4dfc85d3ae473a647fa0bba1e89c405263f67d
md5=8535188a0193e1303dda8ba3fe679e39

Description

Svmwrap can be used to train/test regressors using libsvm-tools.

(Scary) usage: usage: svmwrap -i : training set or DB to screen --feats : number of features [-o ]: predictions output file [-np ]: ncores [--kernel ] choose kernel type {Lin|RBF|Sig|Pol} [-c ]: fix C [-e ]: epsilon in the loss function of epsilon-SVR; (0 <= epsilon <= max_i(|y_i|)) [--nlopt ]: use NLopt with MAX_ITER (global optim.) instead of grid-search (recommended: MAX_ITER >= 100) [-g ]: fix gamma (for RBF and Sig kernels) [-r ]: fix r for the Sig kernel [--iwn]: turn ON instance-wise-normalization [--scale]: turn ON [0:1] scaling (NOT PRODUCTION READY) [--no-plot]: no gnuplot [{-n|--NxCV} ]: folds of cross validation [-q]: quiet [-v|--verbose]: equivalent to not specifying -q [--seed ]: fix random seed [-p ]: training set portion (in [0.0:1.0]) [--pairs]: read from .AP files (atom pairs; will offset feat. indexes by 1) [--train <train.liblin>]: training set (overrides -p) [--valid <valid.liblin>]: validation set (overrides -p) [--test <test.liblin>]: test set (overrides -p) [{-l|--load} ]: prod. mode; use trained models [{-s|--save} ]: train. mode; save trained models [-f]: force overwriting existing model file [--scan-c]: scan for best C [--scan-e ]: epsilon scan #steps for SVR [--scan-g]: scan for best gamma [--regr]: regression (SVR); also, implied by -e and --scan-e [--e-range ::]: specific range for e (semantic=start:nsteps:stop) [--c-range <float,float,...>] explicit scan range for C (example='0.01,0.02,0.03') [--g-range <float,float,...>] explicit range for gamma (example='0.01,0.02,0.03') [--scan-k]: scan number of bags [--k-range <int,int,...>] explicit scan range for k (example='1,2,3,5,10') [-k ]: explicit value for k [--r-range <float,float,...>] explicit range for r (example='0.01,0.02,0.03')

Added to opam-repository:

README

svmwrap

Wrapper on top of libsvm-tools

Bibliography

[1] Chang, C. C., & Lin, C. J. (2011). LIBSVM: a library for support vector machines. ACM transactions on intelligent systems and technology (TIST), 2(3), 1-27.

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

Dependencies (13)

  1. ocaml >= "5.0.0"
  2. dokeysto
  3. nlopt
  4. line_oriented >= "1.2.0"
  5. parany >= "11.0.0"
  6. molenc >= "16.0.0"
  7. minicli >= "5.0.0"
  8. dune >= "2.9"
  9. dolog >= "6.0.0"
  10. cpm >= "11.0.0"
  11. conf-libsvm-tools
  12. batteries
  13. base-unix

Dev Dependencies

None

Optional Dependencies (1)

  1. conf-gnuplot

Used by

None

Conflicts

None

Build status

Results of building svmwrap with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
5.1.1 (this version) n/a n/a good n/a n/a
5.0.0 good n/a n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure