this repo has no description
1opam-version: "2.0"
2maintainer: "unixjunkie@sdf.org"
3authors: ["Francois Berenger"]
4homepage: "https://github.com/UnixJunkie/oranger"
5bug-reports: "https://github.com/UnixJunkie/oranger/issues"
6dev-repo: "git+https://github.com/UnixJunkie/oranger.git"
7license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
8build: [
9 ["dune" "build" "-p" name "-j" jobs]
10 ["tar" "xzf" "0.9.11.tar.gz"]
11 ["mkdir" "ranger-0.9.11/cpp_version/build"]
12 ["sh" "-c" "cd ranger-0.9.11/cpp_version/build && %{conf-cmake:cmd}% ../"]
13 [make "-C" "ranger-0.9.11/cpp_version/build"]
14]
15install: [
16 ["cp" "ranger-0.9.11/cpp_version/build/ranger" "%{bin}%/ml_rf_ranger"]
17]
18depends: [
19 "dune" {>= "1.0.0"}
20 "conf-cmake" {build}
21 "re" {>= "1.9.0"}
22 "dolog" {>= "6.0.0"}
23 "batteries" {>= "3.3.0"}
24 "minicli" {>= "5.0.2"}
25 "cpm" {>= "12.0.0"}
26 "line_oriented" {>= "1.0.0"}
27 "molenc" {>= "16.0.0"}
28 "parany" {>= "12.0.3"}
29]
30depopts: [
31 "conf-gnuplot"
32]
33synopsis: "OCaml wrapper for the ranger (C++) random forests implementation"
34description: """
35Ranger is run from the command line and data are exchanged via text files.
36This is quick and dirty, not a clean OCaml interface to ranger.
37The oranger_rfr program allows to train/test a random-forests regressor model.
38
39$ oranger_rfr
40usage:
41oranger_rfr [-p <float>]: proportion of the (randomized) dataset
42 used to train (default=0.80)
43 [-np <int>]: max number of processes (default=1)
44 [-n <int>]: |RF|; default=100
45 [--mtry <float>]: proportion of randomly selected features
46 to use at each split (default=(sqrt(|features|))/|features|)
47 [--scan-mtry]: scan for best mtry in [0.001,0.002,0.005,...,1.0]
48 (incompatible with --mtry)
49 [--mtry-range <string>]: mtrys to test e.g. "0.001,0.002,0.005"
50 [-o <filename>]: output scores to file
51 [--train <train.txt>]: training set (overrides -p)
52 [--valid <valid.txt>]: validation set (overrides -p)
53 [--test <test.txt>]: test set (overrides -p)
54 [--NxCV <int>]: number of folds of cross validation
55 [--seed <int>: fix random seed]
56 [--no-regr-plot]: turn OFF regression plot
57 [--rec-plot]: turn ON REC curve
58 [--y-rand]: turn ON Y-randomization
59 [-s <filename>]: save model to file
60 [-l <filename>]: load model from file
61 [--max-feat <int>]: max feature id. (cf. end of encoding dict)
62 [-v]: verbose/debug mode
63 [-h|--help]: show this help message
64"""
65extra-source "0.9.11.tar.gz" {
66 src: "https://github.com/imbs-hl/ranger/archive/0.9.11.tar.gz"
67 checksum: [
68 "sha256=8f37ece3ced9eeb86373199028a201b5d3bc2e27ebaffaf4f0075bc4b10a93ff"
69 "md5=cf770dfdde5ef250bfd561ef2b0758ee"
70 ]
71}
72url {
73 src: "https://github.com/UnixJunkie/oranger/archive/v4.3.5.tar.gz"
74 checksum: [
75 "sha256=bb15d9a6f1c42b6b0cb716efa70660cebb6d3ff1a1e821ac216e31a88d3a3b35"
76 "md5=daf20938fe65d211b6121a6c2e473827"
77 ]
78}