0 ×

Linear Discriminant Analysis

DeprecatedKNIME Statistic Nodes (Labs) version 4.3.0.v202011191636 by KNIME AG, Zurich, Switzerland

Linear Discriminant Analysis (LDA) is similar to PCA but tries to take class information into account to achieve a dimensionality reduction while keeping the class separation high. The result may be used in a subsequent classification. The method tries to maximize the ratio of between-class and within-class scatter in order to achieve a projection where data points of a class are close to each other and far from data points of other classes. More information can be found on Wikipedia.


The number of dimensions to reduce to. This can be at most the number of classes minus one.
Class column
The column containing class information
Column selection
The columns of the original dimensions

Input Ports

The data to reduce the dimensions of

Output Ports

The original data plus columns for the reduced dimensions
The transformation matrix. Can be used with PCA apply.

Best Friends (Incoming)

Best Friends (Outgoing)



To use this node in KNIME, install KNIME Statistics Nodes (Labs) from the following update site:


A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

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. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


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.