I'm trying to make the classification rule of LDA in R , this is using the Euclidean's distance, g(x)= t(w)x - wo
, w
is my eigenvector, x
my test data, wo
the mean of the two classes.
My question is, how can I pass the model (project data) to model prediction (True
-False
)? thank you