From d984e10e4b4ebe08d9a8027c49c21e19dea5601b Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Thu, 15 Feb 2018 10:05:44 -0500 Subject: [PATCH] Update incorrect documentation. --- src/mlpack/methods/dbscan/dbscan.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mlpack/methods/dbscan/dbscan.hpp b/src/mlpack/methods/dbscan/dbscan.hpp index 0a237ae1a6..edbe30881c 100644 --- a/src/mlpack/methods/dbscan/dbscan.hpp +++ b/src/mlpack/methods/dbscan/dbscan.hpp @@ -85,7 +85,8 @@ class DBSCAN /** * Performs DBSCAN clustering on the data, returning number of clusters - * and also the list of cluster assignments. + * and also the list of cluster assignments. If assignments[i] == SIZE_MAX, + * then the point is considered "noise". * * @tparam MatType Type of matrix (arma::mat or arma::sp_mat). * @param data Dataset to cluster. @@ -98,8 +99,7 @@ class DBSCAN /** * Performs DBSCAN clustering on the data, returning number of clusters, * the centroid of each cluster and also the list of cluster assignments. - * If assignments[i] == assignments.n_elem - 1, then the point is considered - * "noise". + * If assignments[i] == SIZE_MAX, then the point is considered "noise". * * @tparam MatType Type of matrix (arma::mat or arma::sp_mat). * @param data Dataset to cluster.