SAGA-GIS Tool Library Documentation (v9.1.1)

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 ClustersIntegerNCLUSTER-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
	Minimum: 2
	Default: 10