此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

PrincipalComponents

PrincipalComponents[matrix]
transforms elements of matrix into principal components.
  • PrincipalComponents gives the principal component transform of matrix.
  • The principal components of matrix are linear transformations of the original columns into uncorrelated columns arranged in order of decreasing variance.
  • The dimensions of PrincipalComponents[matrix] are the same as the dimensions of matrix.
  • The following options can be given:
MethodCovariancescaling method for decomposition
WorkingPrecisionMachinePrecisionthe precision used in internal computations
Needs["MultivariateStatistics`"]
Principal components for bivariate data:
In[2]:=
Click for copyable input
Out[2]=