Borrar filtros
Borrar filtros

How to use .mat file for dimensionality reduction

1 visualización (últimos 30 días)
RUPESH
RUPESH el 2 de Feb. de 2013
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.

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 2 de Feb. de 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 comentarios
RUPESH
RUPESH el 6 de Feb. de 2013
Thank you sir..
RUPESH
RUPESH el 6 de Feb. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by