Questions tagged [dimension-reduction]
38 questions
0
votes
1 answer
Orthogonal matching pursuit
I run orthogonal matching pursuit algorithm in python and get the following warning:
RuntimeWarning: Orthogonal matching pursuit ended prematurely due to linear dependence in the dictionary. The requested precision might not have been met.
How…

Mehraveh Salehi
- 39
- 5
0
votes
1 answer
Way to mapping N dimensional vector to a point
I'm facing a problem with mapping, I need mapping N dimensional vectors to one group/point, like [0,1....N-1] to 1 | [1,2....N-1] to 2.
The problem is that, right now I have one function where receive a dimensional vector and the return a point,…

gm-br
- 30
- 10
0
votes
1 answer
How to do data dimensionailty reduction?
I have a set of 25 images of label 'Infected' and 25 images of label 'Normal'.
I am trying to extract the dual-tree complex wavelet transform based coefficients as features for each of the images.
My code to obtain coefficients using DT-CWT ia as…

vishnu
- 31
- 5
0
votes
3 answers
Read Columnwise Matrix in R
I've spended lots of time trying but somehow nothing works - and I guess this is easy for advanced R users.
I got an Dataformat where each element occurs linewise. First the label as an String followed by 1000 numeric features, all splited with…

user3181094
- 1
- 2
0
votes
1 answer
How to solve out of memory error?
I am doing my project in OCR.For this i am using image size of 64x64 because when i tried 32x32 etc some pixels is lost.I have tried features such as zonal density, Zernike's moments,Projection Histogram,distance profile,Crossing .The main problem…

minu
- 1
0
votes
1 answer
Matlab: one-dim integral for a function @(x,y,z)
Lets say
y=2;
z=4;
f=@(x,y,z) x.^2+y.^2+z.^2;
And I want to integrate f for x in [0,1].
It seems like I have to define g and do quad(g,0,1)
g=@(x) f(x,y,z);
quad(g,0,1)
The question I have is whether it is possible to do quad on f…

Galaxy5727
- 45
- 1
- 1
- 4
-1
votes
2 answers
Why tsne method use Euclidean distance to compute the similarities in high dimensional data?
I have tried other distance metrics like chebychev distance or Manhatten distance and so on, which are all implemented in tsne in Matlab. Some of them achieve the same good performance as Euclidean distance metric. So I have some
questions about…

CuishleChen
- 5
- 4
-4
votes
1 answer
Looking for a function in R to sum rows and cols for matrix reduction
Looking for a R function to sum rows and columns.
I have a matrix (6x6). I want to sum [1,1]+[1,2]+[2,1]+[2,2], and then the same for the rest of the matrix, finally I want to get a 3x3 matrix, in which each [i,j] as the respective sum.