SAGA-GIS Tool Library Documentation (v9.2.0)

Tool Cluster Analysis (Shapes)

K-Means cluster analysis using selected features from attributes table.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapesshapes, inputINPUT--
OutputResult (*)shapes, output, optionalRESULT--
Statisticstable, outputSTATISTICS--
OptionsFeaturestable fieldsFIELDS--
NormalizebooleanNORMALISE-Default: 0
Cluster (*)table fieldCLUSTERTarget field for cluster numbers. If not set a new field will be added-
MethodchoiceMETHOD-Available Choices:
[0] Iterative Minimum Distance (Forgy 1965)
[1] Hill-Climbing (Rubin 1967)
[2] Combined Minimum Distance / Hillclimbing
Default: 1
Number of Clustersinteger numberNCLUSTER-Minimum: 2
Default: 10
(*) optional

Command-line

Usage: saga_cmd table_tools 29 [-INPUT <str>] [-RESULT <str>] [-FIELDS <str>] [-NORMALISE <str>] [-CLUSTER <str>] [-STATISTICS <str>] [-METHOD <str>] [-NCLUSTER <num>]
  -INPUT:<str>     	Shapes
	shapes, input
  -RESULT:<str>    	Result
	shapes, output, optional
  -FIELDS:<str>    	Features
	table fields
  -NORMALISE:<str> 	Normalize
	boolean
	Default: 0
  -CLUSTER:<str>   	Cluster
	table field
  -STATISTICS:<str>	Statistics
	table, output
  -METHOD:<str>    	Method
	choice
	Available Choices:
	[0] Iterative Minimum Distance (Forgy 1965)
	[1] Hill-Climbing (Rubin 1967)
	[2] Combined Minimum Distance / Hillclimbing
	Default: 1
  -NCLUSTER:<num>  	Number of Clusters
	integer number
	Minimum: 2
	Default: 10