0 ×

PCA Compute

KNIME Base Nodes version 4.2.2.v202009241438 by KNIME AG, Zurich, Switzerland

This node performs a principal component analysis (PCA) on the given input data. The directions of maximal variance (the principal components) are extracted and can be used in the PCA Apply node to project the input into a space of lower dimension while preserving a maximum of information.


Select the columns that are included in the analysis of principal components, i.e. the original features.
Fail if missing values are encountered
If checked, execution fails, when the selected columns contain missing values. By default, rows containing missing values are ignored and not considered during the computation.

Input Ports

Input data for the PCA

Output Ports

Covariance matrix of the input columns
Table containing parameters extracted from the PCA. Each row in the table represents one principal component, whereby the rows are sorted with decreasing eigenvalues, i.e. variance along the corresponding principal axis. The first column in the table contains the component's eigenvalue, a high value indicates a high variance (or in other words, the respective component dominates the orientation of the input data).
Each subsequent column (labeled with the name of the selected input column) contains a coefficient representing the influence of the respective input dimension to the principal component. The higher the absolute value, the higher the influence of the input dimension on the principal component.
The mapping of the input rows to, e.g. the first principal axis, is computed as follows (all done in the PCA Apply node): For each dimension in the original space subtract the dimension's mean value and then multiply the resulting vector with the vector given by this table (the first row in the spectral decomposition table to get the value on the first PC, the second row for the second PC and so on).
Model holding the PCA transformation used by the PCA Apply node to apply the transformation to, e.g. another validation set.

Best Friends (Incoming)

Best Friends (Outgoing)



To use this node in KNIME, install KNIME Base nodes from the following update site:


A zipped version of the software site can be downloaded here. Read our FAQs to get instructions about how to install nodes from a zipped update site.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.


You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.