Dimension Reduction

Linear Discriminant Analysis, Principal Component Analysis

Linear Discriminant Analysis

Input Data

Variables

Inputs

Target Data

Data input

Model Name

Name of the model (fill it out at your discretion)

Merge Data

Analysis output will be merged to the selected data

Output Name

Name of the analysis output (fill it out at your discretion)

X

User-selected columns to be X

  • two or more columns should be selected

Y(group)

User-selected columns to be Y

  • Only one column should be selected

[Task Information of Linear Discriminant Analysis]

Principal Component Analysis

Input Data

Variables

Inputs

Target Data

Data input

Model Name

Name of the model (fill it out at your discretion)

Merge Data

Analysis output will be merged to the selected data

Output Name

Name of the analysis output (fill it out at your discretion)

X

User-selected numeric columns to be X

  • at least one column should be selected

[Task Information of Principal Component Analysis]

Workflow Example

R-Flow Task Example Video: Linear Discriminant Analysis

[Workflow Example of Linear Discriminant Analysis]

R Package

LinearDiscriminantAnalysis: https://www.rdocumentation.org/packages/MASS/versions/7.3-53/topics/lda

Principal Component Analysis: https://www.rdocumentation.org/packages/stats/versions/3.6.2/topics/prcomp

Last updated

Was this helpful?