Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

What to do when you really ARE out of memory?

2 vues (au cours des 30 derniers jours)
Robert Jenkins
Robert Jenkins le 4 Août 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
What is the solution for optimizing code when you really are just working with too large of a dataset?
Currently I need to perform triscatteredinterp using 3 vectors all (100,000,000 x 1).
scatteredInterpolant does not work any better in this instance.

Réponses (3)

the cyclist
the cyclist le 4 Août 2015
Modifié(e) : the cyclist le 4 Août 2015
For very large datasets, processing a random sample of the data will often give satisfactory results.

Walter Roberson
Walter Roberson le 4 Août 2015
Store the data in hierarchies such as octrees that allow you to extract a subset that fits within working memory to do the fine-grained work on.

Robert Jenkins
Robert Jenkins le 7 Août 2015
The solution I used in the end was to break up each of my vectors into manageable chunks and execute TriScatteredInterp on each of them.
The interpolant is valid on the new grid but only gives solutions inside of the block from which it came. I then simply stitched these back together.
Thank you both for your input!

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by