I've read the answers in What are "coefficients of linear discriminants" in LDA?, but I still don't understand what coefficients of linear discriminants on output of R means.
What is it? (How) Is it related to the decision boundary?
nb: my knowledge about LDA can be summed up in this slide.
library(ISLR, MASS)
train <- (Smarket$Year < 2005)
lda.fit <- lda(Direction ~ Lag1 + Lag2, data = Smarket, subset = train)
Call:
lda(Direction ~ Lag1 + Lag2, data = Smarket, subset = train)
Prior probabilities of groups:
Down Up
0.491984 0.508016
Group means:
Lag1 Lag2
Down 0.04279022 0.03389409
Up -0.03954635 -0.03132544
Coefficients of linear discriminants:
LD1
Lag1 -0.6420190
Lag2 -0.5135293