How to implement Linear Discriminant Analysis in matlab for a multi class data?
显示 更早的评论
I have been working on a dataset with 5 features and 3 classes. I have divided the dataset into training and testing and I want to apply LDA to train the data and later test it using LDA. Can anyone help me out with the code?
回答(1 个)
Star Strider
2018-8-3
0 个投票
Use the classify (link) function to do linear discriminant analysis in MATLAB. It is part of the Statistics and Machine Learning Toolbox.
类别
在 帮助中心 和 File Exchange 中查找有关 Discriminant Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!