How to use these LDA files mentioned in the hyperlink to perform LDA on DCT coeff of normalised iris?

2 次查看(过去 30 天)
This is the hyperlink: Liner Discriminant Analysis
I have found the DCT Coeff of normalized iris.
Now my aim is to perform LDA on these DCT coeff to extract the features from the normalized iris.
function [Y, W, lambda] = LDA(X, L)
Here what are the parameters X and L? Its not mentioned in the matlab files.
I am not able to understand how to make this code work.

采纳的回答

Aman
Aman 2024-3-15
编辑:Aman 2024-3-15
Hi Ridhima,
As per my understanding, you want to know the input parameters for the "LDA" function.
The "LDA" function takes two input arguments, the first being "X", which is the feature vector, which will be the DCT coefficient in your case, and the second input to the function is "L", which is the target class. The same can be found in the "main.m" file on the file exchange link for the function.
I hope this helps!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by