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"
21 "dokeysto" # dokeysto_camltc not yet compiling w/ ocaml-5
22 "ocaml" {>= "5.0.0"} # possible perf. regr.: dokeysto_camltc -> dokeysto
23]
24# the software can compile and install without the depopts.
25# however, some tools and options will not work anymore at run-time
26depopts: [
27 "conf-gnuplot"
28]
29synopsis: "Wrapper on top of libsvm-tools"
30description: """
31Svmwrap can be used to train/test regressors using libsvm-tools.
32
33(Scary) usage:
34usage: svmwrap
35 -i <filename>: training set or DB to screen
36 --feats <int>: number of features
37 [-o <filename>]: predictions output file
38 [-np <int>]: ncores
39 [--kernel <string>] choose kernel type {Lin|RBF|Sig|Pol}
40 [-c <float>]: fix C
41 [-e <float>]: epsilon in the loss function of epsilon-SVR;
42 (0 <= epsilon <= max_i(|y_i|))
43 [--nlopt <int>]: use NLopt with MAX_ITER (global optim.)
44 instead of grid-search (recommended: MAX_ITER >= 100)
45 [-g <float>]: fix gamma (for RBF and Sig kernels)
46 [-r <float>]: fix r for the Sig kernel
47 [--iwn]: turn ON instance-wise-normalization
48 [--scale]: turn ON [0:1] scaling (NOT PRODUCTION READY)
49 [--no-plot]: no gnuplot
50 [{-n|--NxCV} <int>]: folds of cross validation
51 [-q]: quiet
52 [-v|--verbose]: equivalent to not specifying -q
53 [--seed <int>]: fix random seed
54 [-p <float>]: training set portion (in [0.0:1.0])
55 [--pairs]: read from .AP files (atom pairs; will offset feat. indexes by 1)
56 [--train <train.liblin>]: training set (overrides -p)
57 [--valid <valid.liblin>]: validation set (overrides -p)
58 [--test <test.liblin>]: test set (overrides -p)
59 [{-l|--load} <filename>]: prod. mode; use trained models
60 [{-s|--save} <filename>]: train. mode; save trained models
61 [-f]: force overwriting existing model file
62 [--scan-c]: scan for best C
63 [--scan-e <int>]: epsilon scan #steps for SVR
64 [--scan-g]: scan for best gamma
65 [--regr]: regression (SVR); also, implied by -e and --scan-e
66 [--e-range <float>:<int>:<float>]: specific range for e
67 (semantic=start:nsteps:stop)
68 [--c-range <float,float,...>] explicit scan range for C
69 (example='0.01,0.02,0.03')
70 [--g-range <float,float,...>] explicit range for gamma
71 (example='0.01,0.02,0.03')
72 [--scan-k]: scan number of bags
73 [--k-range <int,int,...>] explicit scan range for k
74 (example='1,2,3,5,10')
75 [-k <int>]: explicit value for k
76 [--r-range <float,float,...>] explicit range for r
77 (example='0.01,0.02,0.03')
78"""
79url {
80 src: "https://github.com/UnixJunkie/svmwrap/archive/v5.1.1.tar.gz"
81 checksum: [
82 "sha256=b2deb5e61a376fe7e62d50554f4dfc85d3ae473a647fa0bba1e89c405263f67d"
83 "md5=8535188a0193e1303dda8ba3fe679e39"
84 ]
85}