0 ×

# PCA Compute

DeprecatedKNIME Base Nodes version 4.0.1.v201908131444 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.

## Options

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 in the computation of the principal components.
Columns
Select the columns that are included in the analysis of principal components, i.e. the numerical features of the data.

## 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 with projection to principal components, used in the PCA Apply node to apply the transformation to, e.g. another validation set.

## Installation

To use this node in KNIME, install KNIME Core from the following 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.

## Developers

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.