PatWalters / TS

Thompson Sampling
MIT License
46 stars 7 forks source link

Disallow tracking #7

Closed BGoldman007 closed 1 year ago

BGoldman007 commented 1 year ago

Added in the code to make sure not to sample the same product twice. This consists on two new files (disallow_tracker.py and disallow_tracker_test.py) and slight modifications to the TS code.

pfrstg commented 1 year ago

Looking good! I added a couple more test cases to disallow_tracker_test. In part this confirms my understanding, but may also help our readers understand how that code works.

Merge away if you like those tests.