SAGA-GIS Tool Library Documentation (v8.1.0)

Tool Principal Component Analysis

Principal Component Analysis (PCA) for grids. PCA implementation is based on F.Murtagh's code as provided by the StatLib web site.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsGrid list, inputGRIDS--
Eigen Vectors (*)Table, input, optionalEIGEN_INPUTUse Eigen vectors from this table instead of calculating these from the input grids.-
OutputPrincipal ComponentsGrid list, outputPCA--
Eigen Vectors (*)Table, output, optionalEIGENStore calculated Eigen vectors to this table, e.g. for later use with forward or inverse PCA.-
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
MethodChoiceMETHOD-Available Choices:
[0] correlation matrix
[1] variance-covariance matrix
[2] sums-of-squares-and-cross-products matrix
Default: 1
Number of ComponentsIntegerCOMPONENTSnumber of first components in the output; set to zero to get allMinimum: 0
Default: 3
Overwrite Previous ResultsBooleanOVERWRITE-Default: 1
(*) optional

Command-line

Usage: saga_cmd statistics_grid 8 [-GRIDS <str>] [-PCA <str>] [-EIGEN_INPUT <str>] [-EIGEN <str>] [-METHOD <str>] [-COMPONENTS <num>] [-OVERWRITE <str>]
  -GRIDS:<str>      	Grids
	Grid list, input
  -PCA:<str>        	Principal Components
	Grid list, output
  -EIGEN_INPUT:<str>	Eigen Vectors
	Table, input, optional
  -EIGEN:<str>      	Eigen Vectors
	Table, output, optional
  -METHOD:<str>     	Method
	Choice
	Available Choices:
	[0] correlation matrix
	[1] variance-covariance matrix
	[2] sums-of-squares-and-cross-products matrix
	Default: 1
  -COMPONENTS:<num> 	Number of Components
	Integer
	Minimum: 0
	Default: 3
  -OVERWRITE:<str>  	Overwrite Previous Results
	Boolean
	Default: 1