I have some multidimensional data. I would like to measure how "one directional" the data is. For example, the rows in this sample
┌ ┐
X = │ 2 1 │
│ 4 2 │
│ -2 -1 │
└ ┘
are just scaled versions of [ 2 1 ].
Now lets say I add some noise so they are not perfect multiples anymore. My first idea is to do something like SVD and take the ratio of the first singular value divided by the sum of all singular values. This would give me a number that can be used to compare different samples, I think as long as the dimensions are the same. However, that requires quite a bit of computation, and I would like to do this for a million samples.
Any ideas for a better or faster way to measure or estimate how "one directional" my data is? I do not care what that direction is (don't need the basis vectors). My actual data is larger than 2D.