stochastic icon indicating copy to clipboard operation
stochastic copied to clipboard

Generating many samples

Open hagerpa opened this issue 4 years ago • 2 comments
trafficstars

Hi all, and thank you for the great package!

When one is interested in generating samples of stochastic processes for Monte Carlo methods and Machine Learning tasks it is essential to create many samples of the underlying process. The way the package is designed, this is very inefficient and doesn't exploit the power of numpy. (Using the package, you have to essentially iterate in a python loop for something like 1M+ times). These are the tasks I am working on the most (they are particularly important in mathematical finance applications) and I was thinking about publishing some of the code that I have collected so far. But before doing so, I was wondering if there is interest in updating this project to be more efficient for generating many samples. In that case a would be happy to help (e.g. I have a Cython implementation of Hosking's method).

hagerpa avatar Mar 26 '21 10:03 hagerpa

Hi @hagerpa. That sounds like a great idea and one that I agree would be worth pursuing/supporting here.

crflynn avatar Apr 11 '21 20:04 crflynn

+1 for a way to vectorize the generation of samples

CommonClimate avatar Oct 28 '22 20:10 CommonClimate