How to use .mat file for dimensionality reduction

5 views (last 30 days)
Hi, I want to dimensionaly reduce the data set in Excel file. I converted data set in Excel file to .mat file. Now i want to use this for dimensionlity reduction. How can i use this file... i tried to find intrinsic dimensionality then it showed following error: >> whos Name Size Bytes Class Attributes
num 200x5 8000 double
raw 200x5 68000 cell
txt 0x0 0 cell
>> d= intrinsic_dim('C:\Users\lenovo\Desktop\xl.mat', 'MLE'); ??? Index exceeds matrix dimensions.
Error in ==> intrinsic_dim at 218 knnmatrix= .5 * log(distance(2:k2 + 1,:));
Can u tel me what m i missing... Thanks in advance.

Accepted Answer

Shashank Prasanna
Shashank Prasanna on 2 Feb 2013
I think you need to pass the matrix and not the file it self to the function:
Try the following with you matrix data:
d= intrinsic_dim(num, 'MLE');
  2 Comments
RUPESH
RUPESH on 6 Feb 2013
Thank you sir for the solution. Sir now i want to know, how to retrieve the original data after the dimensionality reduction has been done?, that is the opposite of this dimensionality reduction. So that we check whether the retrieved data is same.Is there other toolbox or the same toolbox can be used. Thank you.

Sign in to comment.

More Answers (0)

Categories

Find more on Data Import from MATLAB 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!