Oliver Gu avatar Oliver Gu committed 1402c63

Removed gsl and archimedes dependencies

Comments (0)

Files changed (7)

+2012-03-06: Removed gsl and archimedes dependencies.
+
 2012-03-03: Fixed bug of unused gamma parameter in Svm.train and
             Svm.cross_validation functions.
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: d9a04327e5daf42539236081ca25409d) *)
+(* DO NOT EDIT (digest: 0da94f6a806e2169c92934136b9aa7e7) *)
 This is the INSTALL file for the libsvm-ocaml distribution.
 
 This package uses OASIS to generate its build system. See section OASIS for
 * core for library svm
 * lacaml for library svm
 * sexplib for executable svm_cli
-* gsl for executable log
-* archimedes for executable log
 
 Installing
 ==========
 OASISFormat:       0.3
 Name:              libsvm-ocaml
-Version:           0.9
+Version:           0.9.1
 Synopsis:          libsvm-ocaml - OCaml bindings to the LIBSVM library
 Description:       libsvm-ocaml offers an OCaml-interface to the LIBSVM library
 Authors:           Oliver Gu <gu.oliver@yahoo.com>
   BuildDepends:   libsvm,sexplib,sexplib.syntax
   CompiledObject: best
 
-Executable log
-  Path:           examples
-  MainIs:         log.ml
-  Install:        false
-  BuildDepends:   libsvm,gsl,archimedes
-  CompiledObject: best
-
 # Tests
 
 Executable svm_test
 # OASIS_START
-# DO NOT EDIT (digest: 517efe1dd8c51acbd61636cdddd03761)
+# DO NOT EDIT (digest: 2dc1adfec1deed74d8b0f78ce09b75bb)
 # Ignore VCS directories, you can use the same kind of rule outside 
 # OASIS_START/STOP if you want to exclude directories that contains 
 # useless stuff for the build process
 <examples/svm_cli.{native,byte}>: pkg_threads
 <examples/svm_cli.{native,byte}>: pkg_core
 <examples/svm_cli.{native,byte}>: pkg_lacaml
+<examples/*.ml{,i}>: use_svm
 <examples/*.ml{,i}>: pkg_sexplib
 <examples/*.ml{,i}>: pkg_sexplib.syntax
-# Executable log
-<examples/log.{native,byte}>: use_svm
-<examples/log.{native,byte}>: pkg_gsl
-<examples/log.{native,byte}>: pkg_archimedes
-<examples/log.{native,byte}>: pkg_threads
-<examples/log.{native,byte}>: pkg_core
-<examples/log.{native,byte}>: pkg_lacaml
-<examples/*.ml{,i}>: use_svm
-<examples/*.ml{,i}>: pkg_gsl
-<examples/*.ml{,i}>: pkg_archimedes
 <examples/*.ml{,i}>: pkg_threads
 <examples/*.ml{,i}>: pkg_core
 <examples/*.ml{,i}>: pkg_lacaml
 module A = Archimedes
 
 (* This program uses Support Vector Regression to approximate
-   the log function (green) from its noisy observations (red). *)
+   the log function (green) from its noisy observations (red).
+
+   To compile it, please install the additional packages:
+   1. archimedes: opam install archimedes
+   2. gsl: opam install gsl-ocaml
+*)
 
 let a = 0.1
 let b = 6.0

examples/svm_cli.ml

 
 let () =
   Exn.handle_uncaught ~exit:true (fun () ->
-    Command.run ~version:"0.9" ~build_info:"N/A"
+    Command.run ~version:"0.9.1" ~build_info:"N/A"
       (Command.group ~summary:"Command line tools for Libsvm"
          [ "scale"  , scale_cmd
          ; "train"  , train_cmd
 (* setup.ml generated for the first time by OASIS v0.2.0 *)
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: d18ebf9753bb289fbad5ef57254615a1) *)
+(* DO NOT EDIT (digest: 74b974ea7f61a67fbb07302e5b3fc5f3) *)
 (*
    Regenerated by OASIS v0.3.0
    Visit http://oasis.forge.ocamlcore.org for more information and
                    {exec_custom = false; exec_main_is = "svm_cli.ml"; });
                Executable
                  ({
-                     cs_name = "log";
-                     cs_data = PropList.Data.create ();
-                     cs_plugin_data = [];
-                     },
-                   {
-                      bs_build = [(OASISExpr.EBool true, true)];
-                      bs_install = [(OASISExpr.EBool true, false)];
-                      bs_path = "examples";
-                      bs_compiled_object = Best;
-                      bs_build_depends =
-                        [
-                           InternalLibrary "svm";
-                           FindlibPackage ("gsl", None);
-                           FindlibPackage ("archimedes", None)
-                        ];
-                      bs_build_tools =
-                        [ExternalTool "ocamldoc"; ExternalTool "ocamlbuild"];
-                      bs_c_sources = [];
-                      bs_data_files = [];
-                      bs_ccopt = [(OASISExpr.EBool true, [])];
-                      bs_cclib = [(OASISExpr.EBool true, [])];
-                      bs_dlllib = [(OASISExpr.EBool true, [])];
-                      bs_dllpath = [(OASISExpr.EBool true, [])];
-                      bs_byteopt = [(OASISExpr.EBool true, [])];
-                      bs_nativeopt = [(OASISExpr.EBool true, [])];
-                      },
-                   {exec_custom = false; exec_main_is = "log.ml"; });
-               Executable
-                 ({
                      cs_name = "svm_test";
                      cs_data = PropList.Data.create ();
                      cs_plugin_data = [];
           };
      oasis_fn = Some "_oasis";
      oasis_version = "0.3.0";
-     oasis_digest = Some "\b!\205N\140\171\246\1357!\215\199\202\142\240\141";
+     oasis_digest = Some "Q\243o\167{(\184l\242x\006\021Np\192\b";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false;
 
 let setup () = BaseSetup.setup setup_t;;
 
-# 6036 "setup.ml"
+# 6007 "setup.ml"
 (* OASIS_STOP *)
 let () = setup ();;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.