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

2 views (last 30 days)
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.

Accepted Answer

Aman
Aman on 15 Mar 2024
Edited: Aman on 15 Mar 2024
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!

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!