Y
Y
Yasuro2019-10-23 12:40:08
Mathematics
Yasuro, 2019-10-23 12:40:08

How to reduce matrix dimension using SVD?

There is a matrix data = NxM (N-features, i.e. rows. M-counts, i.e. columns). For example 100x10. Each count has one hundred attributes.
I need to downsize this matrix to 10x10 because only a few features are significant.
What I do in matlab:

[U, S, V] = svd(data);
  newData = S*V' ;                        // V-транспонированная

S-diagonal, ie:
5db01fb4663f5235155976.png
newData I still get 100x10
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Skusnov, 2019-10-23
@AlexSku

You need to trim columns

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question