mlpack_mean_shift(1) | User Commands | mlpack_mean_shift(1) |
mlpack_mean_shift - mean shift clustering
mlpack_mean_shift -i string [-f bool] [-P bool] [-l bool] [-m int] [-r double] [-V bool] [-C string] [-o string] [-h -v]
This program performs mean shift clustering on the given dataset, storing the learned cluster assignments either as a column of labels in the input dataset or separately.
The input dataset should be specified with the '--input_file (-i)' parameter, and the radius used for search can be specified with the '--radius (-r)' parameter. The maximum number of iterations before algorithm termination is controlled with the '--max_iterations (-m)' parameter.
The output labels may be saved with the '--output_file (-o)' output parameter and the centroids of each cluster may be saved with the '--centroid_file (-C)' output parameter.
For example, to run mean shift clustering on the dataset 'data.csv' and store the centroids to 'centroids.csv', the following command may be used:
$ mean_shift --input_file data.csv --centroid_file centroids.csv
For further information, including relevant papers, citations, and theory, consult the documentation found at http://www.mlpack.org or included with your distribution of mlpack.
18 November 2018 | mlpack-3.0.4 |