Package the project

This commit is contained in:
Shangtong Zhang
2018-05-07 16:49:01 -06:00
parent 8e11d762e7
commit fb95820803
35 changed files with 64 additions and 96 deletions
+13
View File
@@ -0,0 +1,13 @@
import numpy as np
class RandomProcess(object):
def reset_states(self):
pass
class GaussianProcess(RandomProcess):
def __init__(self, size, std_schedule):
self.size = size
self.std_schedule = std_schedule
def sample(self):
return np.random.randn(self.size) * self.std_schedule()