Skip to content

Instantly share code, notes, and snippets.

@WhatIThinkAbout
Created October 31, 2020 10:15
Show Gist options
  • Select an option

  • Save WhatIThinkAbout/34599019762214c01f11cbca3ceaac2c to your computer and use it in GitHub Desktop.

Select an option

Save WhatIThinkAbout/34599019762214c01f11cbca3ceaac2c to your computer and use it in GitHub Desktop.
def charge(self):
""" return a random amount of charge """
# the reward is a guassian distribution with unit variance around the true value 'q'
value = np.random.randn() + self.q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment