/usr/share/octave/site/m/vlfeat/toolbox/kmeans/vl_ikmeans.m is in octave-vlfeat 0.9.17+dfsg0-6+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | % VL_IKMEANS Integer K-means
% C = VL_IKMEANS(X,K) returns the centers of a K-means paritioning of
% the data space X. X must be of class UINT8. C is of class UINT32.
%
% [C, I] = VL_IKMEANS(...) returns the cluster associations I of the
% data as well.
%
% VL_IKMEANS() accepts the following options:
%
% MaxPasses:: 200
% Maximum number of iterations before giving up (the algorithm
% stops as soon as there is no change in the data to cluster
% associations).
%
% Method:: Lloyd
% Algorithm to use ('Lloyd', 'Elkan').
%
% Verbose::
% Increase the verbosity level.
%
% See also: VL_IKMEANSPUSH(), VL_IKMEANSHIST(), VL_HIKMEANS(), VL_HELP().
% Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
% All rights reserved.
%
% This file is part of the VLFeat library and is made available under
% the terms of the BSD license (see the COPYING file).
|