dotimplement / HealthChain

Simplify prototyping and testing LLM applications in healthcare context 💫 🏥
https://dotimplement.github.io/HealthChain/
Apache License 2.0
10 stars 1 forks source link

Adding Random Seed to Data Generators #20

Open adamkells opened 3 months ago

adamkells commented 3 months ago

There are a number of places in the code where numpy is used to randomly generate data. To ensure reproducibility, the user should be able to set a seed and have it flow through the code to be used by all generators.

This will mostly involve finding all functions containing random components and adding seed as an argument to the function and then passing it to np.random().