google-research / discs

DISCS: The code base for the Benchmark for Discrete Sampling
Apache License 2.0
43 stars 7 forks source link

Gwg categorical #18

Closed KatayoonGoshvadi closed 1 year ago

KatayoonGoshvadi commented 1 year ago

Hi @Hanjun-Dai , below is the code for gwg for categorical case. I made a few structural change to the base classes and some class methods. Also, my assumption is that hamming distance is 1 for categorical case. I built on top of your code and developed based on my understanding. Please let me know if I'm missing something. Thank you so much and I look forward to your comments.