How to only save some of the variables while sampling?

Hi all,

Due to the memory limit and my large dataset, I want to track (save into idata) only some of the variables in my model. Is that possible while calling pm.smaple? Thanks!

Yangkang

You don’t need to use Deterministics or Constant/MutableData (in which case such variables will not be saved) but other model variables are always saved.

@OriolAbril may know a trick

1 Like

Thanks! I’m aware of these, but still wanna drop some of the intermediate variables :slight_smile:

I don’t know any trick, as far as I know it is not possible to do this. I can’t 100% guarantee it is not possible but I would be surprised if it is