PatWalters / TS

Thompson Sampling
MIT License
46 stars 7 forks source link

Don't update stats for failed molecules #11

Closed tkramer-motion closed 2 months ago

tkramer-motion commented 2 months ago

Modifies the code to not update the statistics for failed calculations to avoid polluting the statistics. It also saves the results of the warmup step on the off chance we stumble across a really good result while sampling randomly. If a reagent fails for every step of the warmup we disable that reagent for the search portion by calling retire_one_synthon in the disallow tracker.