How to take transpose of a tall array ?
Afficher commentaires plus anciens
I have a large training data set that is being used for a machine learning problem. In order to tackle the "out of memory" issue that I got on matlab while running the code, I tried using tall arrays. But I need to find the transpose of the array and that functionality is not available. Can someone please suggest an alternate method or guide me with a workaround method to find the transpose of the array ?
6 commentaires
Guillaume
le 19 Juin 2018
Why do you need to take the transpose of the tall array?
Fundamentally, the two are incompatible. There should be no need for transpose.
Sayyed Ahmad
le 19 Juin 2018
could you send me your code, so that I can understand your problem better.
for me is for example
a=1:10;
b=a';
Guillaume
le 19 Juin 2018
@Sayyed,
your example is not a tall array. The whole point of tall arrays is that you only fetch a limited number of rows at a time. This is incompatible with a transpose operation which would need all the rows.
Hossein Amini
le 15 Juil 2019
Does not support Tall array. For having training data set it is necessary to have table in row direction thus it should be transposed.
KSSV
le 16 Juil 2019
How is your data? Is it on some external file? You want to use the data for training NN?
Guillaume
le 16 Juil 2019
"For having training data set it is necessary to have table in row direction thus it should be transposed"
I don't know what a table in row direction is. In any case, typically for training a NN you'd pass rows of a table so there would be no need for any transpose.
And as I said originally, you will never be able to transpose a tall array. Transpose requires storing all the rows of the tall arrays, which is of course what tall arrays are designed not to do.
Réponses (0)
Catégories
En savoir plus sur Tall Arrays dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!