I am currently performing classification on the Iris dataset. I used both LDA and kNN methods to classify the data. I found both to be highly accurate and cannot decide which one is more appropriate to use? My first thought is kNN since LDA assumes the data to have a multivariate normal distribution. However, would love to know more theory behind which is better.
When using Linear Discriminant Analysis and k nearest neighbours in classification, which is better?
Asked
Active
Viewed 198 times
1 Answers
0
k-NN should run incrementally faster than LDA as you add more dimensions to your problem.
Also, the k-NN time complexity is pretty much insensitive to the number of classes in most implementations. LDA on the other hand has a direct dependence on that.

ZahraRezaei
- 251
- 2
- 14