GeomScale/volesti

Inefficient handling of burn in phase in sampling functions

TolisChal opened this issue ยท 12 comments

In header include/sampling.hpp the sampling functions do not handle the burn in phase efficiently.
They store the points of burn in phase and then they delete them.

RandomPointGenerator::apply(P, p, c, a, eta, nburns, walk_len, randPoints, push_back_policy, rng); randPoints.clear();

We need a new function to perform the burn in phase efficiently.

I would like to work on this issue

I'd like to work on this issue if it's still open!

@TolisChal Is this still open? I would love to work on it

@nanu1605 please feel free to open a PR.

@TolisChal Is this still open? I would love to work on it
Hey, are you working with this issue, if not then please assign me this issue. I would love to work on it.

@ha-rahman there are no assignments on issues, everyone is free to start working on a issue. The first pull request that is reviewed and approved will be merged.

hey , can i work on this?

@KhushV25 sure, please go ahead and submit a PR.

can i submit a PR?

hey , can i work on this ? is this still open ?

I have a solution to the above problem like
We need a way to perform the burn-in phase without storing the points and clearing them afterward. Instead of storing the points, we can directly discard or ignore them during the burn-in phase.
To fix this issue,I can modify the sampling functions . Instead of storing the burn-in points in randPoints,
we can:
Skip storing the burn-in points altogether.
Or, use a separate burn-in phase without accumulating points in randPoints.

shall i proceed with this approach or do something else ?what you think ? @TolisChal @vissarion