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