[mlpack-git] master: Update documentation for executable name changes and soversion bump. (74593ce)

gitdub at mlpack.org gitdub at mlpack.org
Tue Mar 8 22:42:04 EST 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/1a9c41a86be1fa1dcc5c3b90dd959c2255c3bb8e...74593cef56f85a31b8cbfc777c7e0bf73d230c2a

>---------------------------------------------------------------

commit 74593cef56f85a31b8cbfc777c7e0bf73d230c2a
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Mar 8 22:41:43 2016 -0500

    Update documentation for executable name changes and soversion bump.


>---------------------------------------------------------------

74593cef56f85a31b8cbfc777c7e0bf73d230c2a
 README.md | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index ecc4e57..a15b75a 100644
--- a/README.md
+++ b/README.md
@@ -122,7 +122,7 @@ This will build all library components as well as 'mlpack_test'.
 You can specify individual components which you want to build, if you do not
 want to build everything in the library:
 
-    $ make pca allknn allkfn
+    $ make mlpack_pca mlpack_allknn mlpack_allkfn
 
 If the build fails and you cannot figure out why, register an account on Github
 and submit an issue; the mlpack developers will quickly help you figure it out:
@@ -142,9 +142,9 @@ You can now run the executables by name; you can link against mlpack with
 and the mlpack headers are found in
     `/usr/local/include/mlpack/`.
 
-If running the programs (i.e. `$ allknn -h`) gives an error of the form
+If running the programs (i.e. `$ mlpack_allknn -h`) gives an error of the form
 
-    error while loading shared libraries: libmlpack.so.1: cannot open shared object file: No such file or directory
+    error while loading shared libraries: libmlpack.so.2: cannot open shared object file: No such file or directory
 
 then be sure that the runtime linker is searching the directory where
 `libmlpack.so` was installed (probably `/usr/local/lib/` unless you set it
@@ -164,7 +164,7 @@ them from there, or you can install the library and (depending on system
 settings) they should be added to your PATH and you can call them directly.  The
 documentation below assumes the executables are in your PATH.
 
-We consider the 'allknn' program, which finds the k nearest neighbors in a
+Consider the 'mlpack_allknn' program, which finds the k nearest neighbors in a
 reference dataset of all the points in a query set.  That is, we have a query
 and a reference dataset. For each point in the query dataset, we wish to know
 the k points in the reference dataset which are closest to the given query
@@ -177,16 +177,17 @@ nearest points to that point.
 Each mlpack program has extensive help documentation which details what the
 method does, what each of the parameters are, and how to use them:
 
-    $ allknn --help
+    $ mlpack_allknn --help
 
-Running allknn on one dataset (that is, the query and reference datasets are the
-same) and finding the 5 nearest neighbors is very simple:
+Running `mlpack_allknn` on one dataset (that is, the query and reference
+datasets are the same) and finding the 5 nearest neighbors is very simple:
 
-    $ allknn -r dataset.csv -n neighbors_out.csv -d distances_out.csv -k 5 -v
+    $ mlpack_allknn -r dataset.csv -n neighbors_out.csv -d distances_out.csv -k 5 -v
 
 The `-v (--verbose)` flag is optional; it gives informational output.  It is not
-unique to allknn but is available in all mlpack programs.  Verbose output also
-gives timing output at the end of the program, which can be very useful.
+unique to `mlpack_allknn` but is available in all mlpack programs.  Verbose
+output also gives timing output at the end of the program, which can be very
+useful.
 
 6. Further documentation
 ------------------------




More information about the mlpack-git mailing list