How can I set priors in Classification Learner with QDA
2 views (last 30 days)
Show older comments
I am using Classifiaction Learner App to try out various classifiaction techniques. When I run QDA, I would like to set the priors to the default of 1/K (K groups) before I train. I do not see a way to do that.
0 Comments
Answers (1)
Shanmukha Voggu
on 28 Dec 2021
Hi Eugene,
According to my knowledge, In Classification Learner App, it is not possible to set the number of groups in QDA(Quadratic Discriminant Analysis)
For greater flexibility, train a discriminant analysis model using fitcdiscr
As a workaround, QDA can be done using fitdiscr function along with KFold Name-Value Pair to randomly partition the data into k sets.
See Also
Categories
Find more on Classification Ensembles in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!