[mlpack-git] master: Emphasize command line comments. (99de521)
gitdub at mlpack.org
gitdub at mlpack.org
Tue Aug 16 19:22:55 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/0f4b25acd6aaa14294c044874ba6cc0751712baa...0a19d07bd39e6223991976474bc79671ba8aa0f0
>---------------------------------------------------------------
commit 99de521027ecb6d99ae533096667be591fd7f62f
Author: MarcosPividori <marcos.pividori at gmail.com>
Date: Tue Aug 16 20:22:55 2016 -0300
Emphasize command line comments.
>---------------------------------------------------------------
99de521027ecb6d99ae533096667be591fd7f62f
src/mlpack/methods/neighbor_search/knn_main.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/methods/neighbor_search/knn_main.cpp b/src/mlpack/methods/neighbor_search/knn_main.cpp
index 974865f..90aaea6 100644
--- a/src/mlpack/methods/neighbor_search/knn_main.cpp
+++ b/src/mlpack/methods/neighbor_search/knn_main.cpp
@@ -74,8 +74,10 @@ PARAM_STRING_IN("tree_type", "Type of tree to use: 'kd', 'vp', 'cover', 'r', "
PARAM_INT_IN("leaf_size", "Leaf size for tree building (used for kd-trees, vp "
"trees, R trees, R* trees, X trees, Hilbert R trees, R+ trees, R++ trees "
"and spill trees).", "l", 20);
-PARAM_DOUBLE_IN("tau", "Overlapping size (for spill trees).", "u", 0);
-PARAM_DOUBLE_IN("rho", "Balance threshold (for spill trees).", "b", 0.7);
+PARAM_DOUBLE_IN("tau", "Overlapping size (only valid for spill trees).", "u",
+ 0);
+PARAM_DOUBLE_IN("rho", "Balance threshold (only valid for spill trees).", "b",
+ 0.7);
PARAM_FLAG("random_basis", "Before tree-building, project the data onto a "
"random orthogonal basis.", "R");
More information about the mlpack-git
mailing list