3
$\begingroup$

I am implementing Linear Discriminant Analysis in R, which parameters can be tunned in cross validation set up? In regularized mode called penalizedLDA there are parameters which are optimised but I want to know which parameters are turned in case of simple LDA method?

$\endgroup$

1 Answer 1

4
$\begingroup$

LDA has a closed-form solution and therefore has no hyperparameters. The solution can be obtained using the empirical sample class covariance matrix. Shrinkage is used when there are not enough samples. In that case the empirical covariance matrix is often not a very good estimator.

$\endgroup$
3
  • $\begingroup$ I made a SVM classifier where I have a nested cross-validation setup for hyper-parameter running. so If I want to compare the accuracy, It is a recommended practice to build the same framework for all the classifiers when predictive performance has to be compared. So, If I use LDA then I can compare it with SVM performance with nested C.V for parameter running? $\endgroup$
    – KHAN irfan
    Commented Aug 3, 2017 at 21:55
  • $\begingroup$ I have a dataset with 55 observations and 180 features which are non-collinear so can I use PenalisedLDA? $\endgroup$
    – KHAN irfan
    Commented Aug 3, 2017 at 22:00
  • 1
    $\begingroup$ Yes, compare it on the same test set. And yes, regularization is recommended if you have more features than samples. Whether LDA is appropriate for your dataset also depends on how well your data fits the assumptions of LDA. $\endgroup$
    – oW_
    Commented Aug 3, 2017 at 22:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.