From: <car...@us...> - 2012-04-24 16:26:18
|
Revision: 10324 http://octave.svn.sourceforge.net/octave/?rev=10324&view=rev Author: carandraug Date: 2012-04-24 16:26:11 +0000 (Tue, 24 Apr 2012) Log Message: ----------- kmeans: added initial documentation block Modified Paths: -------------- trunk/octave-forge/main/statistics/inst/kmeans.m Modified: trunk/octave-forge/main/statistics/inst/kmeans.m =================================================================== --- trunk/octave-forge/main/statistics/inst/kmeans.m 2012-04-24 16:20:55 UTC (rev 10323) +++ trunk/octave-forge/main/statistics/inst/kmeans.m 2012-04-24 16:26:11 UTC (rev 10324) @@ -14,6 +14,13 @@ ## You should have received a copy of the GNU General Public License along with ## this program; if not, see <http://www.gnu.org/licenses/>. +## -*- texinfo -*- +## @deftypefn {Function File} {[@var{idx}, @var{centers}] =} kmeans (@var{data}, @var{k}, @var{param1}, @var{value1, @dots{}) +## K-means clustering. +## +## @seealso{linkage} +## @end deftypefn + function [classes, centers, sumd, D] = kmeans (data, k, varargin) [reg, prop] = parseparams (varargin); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |