Man page - mlpack_mean_shift(1)
Packages contas this manual
- mlpack_lsh(1)
- mlpack_krann(1)
- mlpack_softmax_regression(1)
- mlpack_radical(1)
- mlpack_adaboost(1)
- mlpack_hmm_generate(1)
- mlpack_emst(1)
- mlpack_preprocess_imputer(1)
- mlpack_random_forest(1)
- mlpack_gmm_generate(1)
- mlpack_mean_shift(1)
- mlpack_hoeffding_tree(1)
- mlpack_linear_svm(1)
- mlpack_local_coordinate_coding(1)
- mlpack_lars(1)
- mlpack_hmm_train(1)
- mlpack_cf(1)
- mlpack_gmm_train(1)
- mlpack_lmnn(1)
- mlpack_nca(1)
- mlpack_pca(1)
- mlpack_det(1)
- mlpack_preprocess_describe(1)
- mlpack_kernel_pca(1)
- mlpack_range_search(1)
- mlpack_fastmks(1)
- mlpack_approx_kfn(1)
- mlpack_hmm_loglik(1)
- mlpack_sparse_coding(1)
- mlpack_kde(1)
- mlpack_preprocess_binarize(1)
- mlpack_gmm_probability(1)
- mlpack_kmeans(1)
- mlpack_decision_tree(1)
- mlpack_logistic_regression(1)
- mlpack_knn(1)
- mlpack_dbscan(1)
- mlpack_nmf(1)
- mlpack_bayesian_linear_regression(1)
- mlpack_kfn(1)
- mlpack_hmm_viterbi(1)
- mlpack_preprocess_split(1)
- mlpack_preprocess_one_hot_encoding(1)
- mlpack_perceptron(1)
- mlpack_linear_regression(1)
- mlpack_nbc(1)
- mlpack_preprocess_scale(1)
apt-get install mlpack-bin
Manual
| mlpack_mean_shift(1) | User Commands | mlpack_mean_shift(1) |
NAME
mlpack_mean_shift - mean shift clustering
SYNOPSIS
mlpack_mean_shift -i unknown [-f bool] [-P bool] [-l bool] [-m int] [-r double] [-V bool] [-C unknown] [-o unknown] [-h -v]
DESCRIPTION
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:
$ mlpack_mean_shift --input_file data.csv --centroid_file centroids.csv
REQUIRED INPUT OPTIONS
- --input_file (-i) [unknown]
- Input dataset to perform clustering on.
OPTIONAL INPUT OPTIONS
- --force_convergence (-f) [bool]
- If specified, the mean shift algorithm will continue running regardless of max_iterations until the clusters converge.
- --help (-h) [bool]
- Default help info.
- --in_place (-P) [bool]
- If specified, a column containing the learned cluster assignments will be added to the input dataset file. In this case, --output_file is overridden. (Do not use with Python.)
- --info [string]
- Print help on a specific option. Default value ''.
- --labels_only (-l) [bool]
- If specified, only the output labels will be written to the file specified by --output_file.
- --max_iterations (-m) [int]
- Maximum number of iterations before mean shift terminates. Default value 1000.
- --radius (-r) [double]
- If the distance between two centroids is less than the given radius, one will be removed. A radius of 0 or less means an estimate will be calculated and used for the radius. Default value 0.
- --verbose (-v) [bool]
- Display informational messages and the full list of parameters and timers at the end of execution.
- --version (-V) [bool]
- Display the version of mlpack.
OPTIONAL OUTPUT OPTIONS
- --centroid_file (-C) [unknown]
- If specified, the centroids of each cluster will be written to the given matrix. --output_file (-o) [unknown] Matrix to write output labels or labeled data to.
ADDITIONAL INFORMATION
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.
| 06 April 2025 | mlpack-4.6.0 |