this repo has no description
1opam-version: "2.0"
2authors: "Francois Berenger"
3maintainer: "unixjunkie@sdf.org"
4homepage: "https://github.com/UnixJunkie/svmwrap"
5bug-reports: "https://github.com/UnixJunkie/svmwrap/issues"
6dev-repo: "git+https://github.com/UnixJunkie/svmwrap.git"
7license: "BSD-3-Clause"
8build: ["dune" "build" "-p" name "-j" jobs]
9depends: [
10 "base-unix"
11 "batteries"
12 "conf-libsvm-tools"
13 "cpm" {>= "11.0.0"}
14 "dolog" {>= "6.0.0"}
15 "dune" {>= "2.9"}
16 "minicli" {>= "5.0.0"}
17 "molenc" {>= "16.0.0"}
18 "parany" {>= "11.0.0"}
19 "line_oriented" {>= "1.2.0"}
20 "nlopt-ocaml" {>= "0.5.1"}
21]
22# the software can compile and install without the depopts.
23# however, some tools and options will not work anymore at run-time
24depopts: [
25 "conf-gnuplot"
26]
27synopsis: "Wrapper on top of libsvm-tools"
28description: """
29Svmwrap can be used to train/test regressors using libsvm-tools.
30
31(Scary) usage:
32usage: ./svmwrap
33 -i <filename>: training set or DB to screen
34 --feats <int>: number of features
35 [-o <filename>]: predictions output file
36 [-np <int>]: ncores
37 [--kernel <string>] choose kernel type {Lin|RBF|Sig|Pol}
38 [-c <float>]: fix C
39 [-e <float>]: epsilon in the loss function of epsilon-SVR;
40 (0 <= epsilon <= max_i(|y_i|))
41 [--nlopt <int>]: use NLopt with MAX_ITER (global optim.)
42 instead of grid-search (recommended: MAX_ITER >= 100)
43 [-g <float>]: fix gamma (for RBF and Sig kernels)
44 [-r <float>]: fix r for the Sig kernel
45 [--iwn]: turn ON instance-wise-normalization
46 [--scale]: turn ON [0:1] scaling (NOT PRODUCTION READY)
47 [--no-plot]: no gnuplot
48 [{-n|--NxCV} <int>]: folds of cross validation
49 [-q]: quiet
50 [-v|--verbose]: equivalent to not specifying -q
51 [--seed <int>]: fix random seed
52 [-p <float>]: training set portion (in [0.0:1.0])
53 [--pairs]: read from .AP files (atom pairs; will offset feat. indexes by 1)
54 [--train <train.liblin>]: training set (overrides -p)
55 [--valid <valid.liblin>]: validation set (overrides -p)
56 [--test <test.liblin>]: test set (overrides -p)
57 [{-l|--load} <filename>]: prod. mode; use trained models
58 [{-s|--save} <filename>]: train. mode; save trained models
59 [-f]: force overwriting existing model file
60 [--scan-c]: scan for best C
61 [--scan-e <int>]: epsilon scan #steps for SVR
62 [--scan-g]: scan for best gamma
63 [--regr]: regression (SVR); also, implied by -e and --scan-e
64 [--e-range <float>:<int>:<float>]: specific range for e
65 (semantic=start:nsteps:stop)
66 [--c-range <float,float,...>] explicit scan range for C
67 (example='0.01,0.02,0.03')
68 [--g-range <float,float,...>] explicit range for gamma
69 (example='0.01,0.02,0.03')
70 [--r-range <float,float,...>] explicit range for r
71 (example='0.01,0.02,0.03')
72"""
73url {
74 src: "https://github.com/UnixJunkie/svmwrap/archive/v4.0.0.tar.gz"
75 checksum: [
76 "sha256=0904f363cd48ffc16f670e0d0a6b7bc45992a463daff7ef1443b65e9980dc6e6"
77 "md5=faa68465c3574c9e1550e9c7bb1b7234"
78 ]
79}