Linear Discriminant Analysis: how to extract the equation
Picia
New Altair Community Member
I have a question. LDA analysis is aimed at determining parameters of the hyperplane(s) which are the best separators of observations. If we substitute the real data points into these equations, we can tell whether these points lie above the plane or below the plane and we can do classification.
No matter how much I try and read about Rapidminer I cannot find any explanation how to extract the LDA equation. To make sure that I am understood I uploaded pictures of how this equation is calculated. In the example I took from the internet, the equation I am talking about is function f.
It has to be calculated because otherwise the model could not do classification. However, if I watch the model as the output I only receive a'priori probabilities, not the LDA equation.
It has to be calculated because otherwise the model could not do classification. However, if I watch the model as the output I only receive a'priori probabilities, not the LDA equation.
0
Answers
-
hi @Picia the raw code for LDA is on GitHub. I would suggest just going through the code line-by-line.
https://github.com/rapidminer/rapidminer-studio/blob/df2298d2ac9a18a249bbb370a555a0146cf96366/src/main/java/com/rapidminer/operator/learner/bayes/RegularizedDiscriminantAnalysis.java
Scott0