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