# linear discriminant analysis

**URL:** <https://forum.knime.com/t/linear-discriminant-analysis/10052>\
**Category:** Community Extensions\
**Tags:** other-community-extensions\
**Created:** [February 9, 2018, 4:13pm UTC](https://forum.knime.com/t/linear-discriminant-analysis/10052 "2018-02-09T16:13:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sringleinad](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/s/b9bd4f/32.png) [@sringleinad](https://forum.knime.com/u/sringleinad)\
**Post date:** [February 9, 2018, 4:13pm UTC](https://forum.knime.com/t/linear-discriminant-analysis/10052/1 "2018-02-09T16:13:23Z")

</div>

Hi guys,

can you please help me with my linear disriminant analysis?

I have made some prediction (churn 0/1) via gradient boosted trees and now want to find out, which of the features are discriminant.&nbsp;

I have about 130 features that are numerical, date-time, nominal -\> is that ok for LDA? or are there too many features or should I only use numerical ones?

Thanks in advance

Greetings Daniel&nbsp;

---

<div class="post-metadata">

**Author:** ![amartin](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/7993a0/32.png) [@amartin](https://forum.knime.com/u/amartin)\
**Post date:** [February 12, 2018, 4:24pm UTC](https://forum.knime.com/t/linear-discriminant-analysis/10052/2 "2018-02-12T16:24:48Z")

</div>

Hi Daniel,&nbsp;

You have&nbsp;to use&nbsp;continuous independent variables and a categorical dependent variable for LDA. You can use the One To Many node to create dummy variables, however it will significantly increase the number of features.&nbsp;

The number of features to use should be guided by the characteristics of the dataset you're working with. You can also check KNIME Feature Elimination meta nodes.&nbsp;

Best,

Anna

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:28pm UTC](https://forum.knime.com/t/linear-discriminant-analysis/10052/3 "2023-06-23T20:28:22Z")

</div>


