Commits

Oliver Gu committed d45f905

Prepared new release.

  • Participants
  • Parent commits 67436ec

Comments (0)

Files changed (12)

 /svmguide/data
 /_log
 /_build
+/API.docdir
 (* OASIS_START *)
-(* DO NOT EDIT (digest: bba1893e6cfa30be5193ca0fbeae3d5e) *)
+(* DO NOT EDIT (digest: d563d9a4d83bcc53e3fbd2e02e5ba741) *)
 Authors of libsvm-ocaml
-Oliver Gu <odietric@gmail.com>
+Oliver Gu <gu.oliver@yahoo.com>
 Dominik Brugger <dominikbrugger@fastmail.fm>
 (* OASIS_STOP *)
+2012-03-03: Fixed bug of unused gamma parameter in Svm.train and
+            Svm.cross_validation functions.
+
+2013-03-02: Removed argument labels from functions in Stats module.
+
+2013-03-01: Fixed bug in Stats.calc_scc.
+
+2013-02-28: Fixed compilation error in svm_cli under core.109.xx.xx.
+
 2013-02-24: Added n-fold cross validation mode to svm command line interface.
 
 2013-02-22: Svm node arrays for problems (training sets) without a precomputed
     $ make
     $ make install
 
-
 Usage
 -----
 
 ### Documentation
 
 The API-documentation of this distribution can be built with `make doc`.
-It can also be found [here](http://ogu.bitbucket.org/libsvm-ocaml/api/).
+It can also be found [online](http://ogu.bitbucket.org/libsvm-ocaml/api/).
 
 ### Examples
 
 OASISFormat:       0.3
 Name:              libsvm-ocaml
-Version:           0.8.3
+Version:           0.8.4
 Synopsis:          libsvm-ocaml - OCaml bindings to the LIBSVM library
 Description:       libsvm-ocaml offers an OCaml-interface to the LIBSVM library
-Authors:           Oliver Gu <odietric@gmail.com>
+Authors:           Oliver Gu <gu.oliver@yahoo.com>
                    Dominik Brugger <dominikbrugger@fastmail.fm>
 License:           LGPL-2.1+ with OCaml linking exception
 OCamlVersion:      >= 3.12
   MainIs:         xor.ml
   Install:        false
   BuildDepends:   libsvm
-  CompiledObject: native
+  CompiledObject: best
 
 Executable svm_cli
   Path:           examples
   MainIs:         svm_cli.ml
   Install:        false
   BuildDepends:   libsvm,sexplib,sexplib.syntax
-  CompiledObject: native
+  CompiledObject: best
 
 Executable log
   Path:           examples
   MainIs:         log.ml
   Install:        false
   BuildDepends:   libsvm,gsl,archimedes
-  CompiledObject: native
+  CompiledObject: best
 
 # Tests
 
   MainIs:         svm_test.ml
   Install:        false
   BuildDepends:   libsvm
-  CompiledObject: native
+  CompiledObject: best
 
 Test libsvm
   Run$:             flag(tests)
 # OASIS_START
-# DO NOT EDIT (digest: 7a30bae8017fdbf7ebc1d01de6d15d1c)
+# DO NOT EDIT (digest: 517efe1dd8c51acbd61636cdddd03761)
 # 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
 "lib/libsvm_stubs.c": pkg_core
 "lib/libsvm_stubs.c": pkg_lacaml
 # Executable xor
-"examples/xor.native": use_svm
-"examples/xor.native": pkg_threads
-"examples/xor.native": pkg_core
-"examples/xor.native": pkg_lacaml
+<examples/xor.{native,byte}>: use_svm
+<examples/xor.{native,byte}>: pkg_threads
+<examples/xor.{native,byte}>: pkg_core
+<examples/xor.{native,byte}>: pkg_lacaml
 # Executable svm_cli
-"examples/svm_cli.native": use_svm
-"examples/svm_cli.native": pkg_sexplib
-"examples/svm_cli.native": pkg_sexplib.syntax
-"examples/svm_cli.native": pkg_threads
-"examples/svm_cli.native": pkg_core
-"examples/svm_cli.native": pkg_lacaml
+<examples/svm_cli.{native,byte}>: use_svm
+<examples/svm_cli.{native,byte}>: pkg_sexplib
+<examples/svm_cli.{native,byte}>: pkg_sexplib.syntax
+<examples/svm_cli.{native,byte}>: pkg_threads
+<examples/svm_cli.{native,byte}>: pkg_core
+<examples/svm_cli.{native,byte}>: pkg_lacaml
 <examples/*.ml{,i}>: pkg_sexplib
 <examples/*.ml{,i}>: pkg_sexplib.syntax
 # Executable log
-"examples/log.native": use_svm
-"examples/log.native": pkg_gsl
-"examples/log.native": pkg_archimedes
-"examples/log.native": pkg_threads
-"examples/log.native": pkg_core
-"examples/log.native": pkg_lacaml
+<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_core
 <examples/*.ml{,i}>: pkg_lacaml
 # Executable svm_test
-"test/svm_test.native": use_svm
-"test/svm_test.native": pkg_threads
-"test/svm_test.native": pkg_core
-"test/svm_test.native": pkg_lacaml
+<test/svm_test.{native,byte}>: use_svm
+<test/svm_test.{native,byte}>: pkg_threads
+<test/svm_test.{native,byte}>: pkg_core
+<test/svm_test.{native,byte}>: pkg_lacaml
 <test/*.ml{,i}>: use_svm
 <test/*.ml{,i}>: pkg_threads
 <test/*.ml{,i}>: pkg_core

File examples/svm_cli.ml

 
 let () =
   Exn.handle_uncaught ~exit:true (fun () ->
-    Command.run ~version:"0.8.3" ~build_info:"N/A"
+    Command.run ~version:"0.8.4" ~build_info:"N/A"
       (Command.group ~summary:"Command line tools for Libsvm"
          [ "scale"  , scale_cmd
          ; "train"  , train_cmd
 # OASIS_START
-# DO NOT EDIT (digest: e08613d46b4fa3a560ae179d230b43f4)
-version = "0.8.3"
+# DO NOT EDIT (digest: f2f33952e5c2a341edce328ea9e889c9)
+version = "0.8.4"
 description = "libsvm-ocaml - OCaml bindings to the LIBSVM library"
 requires = "threads core lacaml"
 archive(byte) = "svm.cma"

File lib/libsvm.ml

    LIBSVM-OCaml - OCaml-bindings to the LIBSVM library
 
    Copyright (C) 2013-  Oliver Gu
-   email: odietric@gmail.com
+   email: gu.oliver@yahoo.com
 
    Copyright (C) 2005  Dominik Brugger
    email: dominikbrugger@fastmail.fm

File lib/libsvm.mli

    LIBSVM-OCaml - OCaml-bindings to the LIBSVM library
 
    Copyright (C) 2013-  Oliver Gu
-   email: odietric@gmail.com
+   email: gu.oliver@yahoo.com
 
    Copyright (C) 2005  Dominik Brugger
    email: dominikbrugger@fastmail.fm

File lib/libsvm_stubs.c

    LIBSVM-OCaml - OCaml-bindings to the LIBSVM library
 
    Copyright (C) 2013-  Oliver Gu
-   email: odietric@gmail.com
+   email: gu.oliver@yahoo.com
 
    Copyright (C) 2005  Dominik Brugger
    email: dominikbrugger@fastmail.fm
 (* setup.ml generated for the first time by OASIS v0.2.0 *)
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: 9e73b285756456f743f225ebcb5c3690) *)
+(* DO NOT EDIT (digest: 8cf38f07b4a35598b136d6acbacf9a4c) *)
 (*
    Regenerated by OASIS v0.3.0
    Visit http://oasis.forge.ocamlcore.org for more information and
           ocaml_version = Some (OASISVersion.VGreaterEqual "3.12");
           findlib_version = Some (OASISVersion.VGreaterEqual "1.3.1");
           name = "libsvm-ocaml";
-          version = "0.8.3";
+          version = "0.8.4";
           license =
             OASISLicense.DEP5License
               (OASISLicense.DEP5Unit
           maintainers = [];
           authors =
             [
-               "Oliver Gu <odietric@gmail.com>\nDominik Brugger <dominikbrugger@fastmail.fm>"
+               "Oliver Gu <gu.oliver@yahoo.com>\nDominik Brugger <dominikbrugger@fastmail.fm>"
             ];
           homepage = Some "https://bitbucket.org/ogu/libsvm-ocaml";
           synopsis = "libsvm-ocaml - OCaml bindings to the LIBSVM library";
                       bs_build = [(OASISExpr.EBool true, true)];
                       bs_install = [(OASISExpr.EBool true, false)];
                       bs_path = "examples";
-                      bs_compiled_object = Native;
+                      bs_compiled_object = Best;
                       bs_build_depends = [InternalLibrary "svm"];
                       bs_build_tools =
                         [ExternalTool "ocamldoc"; ExternalTool "ocamlbuild"];
                       bs_build = [(OASISExpr.EBool true, true)];
                       bs_install = [(OASISExpr.EBool true, false)];
                       bs_path = "examples";
-                      bs_compiled_object = Native;
+                      bs_compiled_object = Best;
                       bs_build_depends =
                         [
                            InternalLibrary "svm";
                       bs_build = [(OASISExpr.EBool true, true)];
                       bs_install = [(OASISExpr.EBool true, false)];
                       bs_path = "examples";
-                      bs_compiled_object = Native;
+                      bs_compiled_object = Best;
                       bs_build_depends =
                         [
                            InternalLibrary "svm";
                       bs_build = [(OASISExpr.EBool true, true)];
                       bs_install = [(OASISExpr.EBool true, false)];
                       bs_path = "test";
-                      bs_compiled_object = Native;
+                      bs_compiled_object = Best;
                       bs_build_depends = [InternalLibrary "svm"];
                       bs_build_tools =
                         [ExternalTool "ocamldoc"; ExternalTool "ocamlbuild"];
           };
      oasis_fn = Some "_oasis";
      oasis_version = "0.3.0";
-     oasis_digest = Some "\135\180%\221\004Ntf\127\151_@3\159\213&";
+     oasis_digest = Some "\240\133\233\000\190\128B@2\148f`\tJ\172\156";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false;