How to use .mat file for dimensionality reduction

2 次查看(过去 30 天)
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.

采纳的回答

Shashank Prasanna
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 个评论
RUPESH
RUPESH 2013-2-6
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by