SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Variables

Variables

 PCA_RETURN_RESIDUAL = 1
 
uint8 PCA_RETURN_LOADS = 2
 
uint8 PCA_RETURN_SCORES = 4
 
uint8 PCA_RETURN_VARIANCES = 8
 
uint8 PCA_RETURN_PROPORTIONS = 16
 

Detailed Description

Constants used to specify which result values are needed from the analysis.

Note
PCA_RETURN_RESIDUAL - residual matrix.
PCA_RETURN_LOADS - loads. The columns are eigenvectors of the covariance matrix. Can be used to project data to the principal component space.
PCA_RETURN_SCORES - transformed input values.
PCA_RETURN_VARIANCES - variances of principal components.
PCA_RETURN_PROPORTIONS - proportion of variance explained by principal component.

Variable Documentation

◆ PCA_RETURN_LOADS

uint8 PCA_RETURN_LOADS = 2

◆ PCA_RETURN_PROPORTIONS

uint8 PCA_RETURN_PROPORTIONS = 16

◆ PCA_RETURN_RESIDUAL

PCA_RETURN_RESIDUAL = 1

◆ PCA_RETURN_SCORES

uint8 PCA_RETURN_SCORES = 4

◆ PCA_RETURN_VARIANCES

uint8 PCA_RETURN_VARIANCES = 8