def __init__(self, f, lambda_, max_iter=100, double_precision=False, thetaT=None, XT=None, random_state=1234):
    assert (not double_precision), 'double precision is not yet supported'
    assert ((f % 10) == 0), 'f has to be a multiple of 10'
    self.f = f
    self.lambda_ = lambda_
    self.double_precision = double_precision
    self.dtype = (np.float64 if self.double_precision else np.float32)
    self.thetaT = thetaT
    self.XT = XT
    self.max_iter = max_iter
    self.random_state = random_state
def __init__(self, f, lambda_, max_iter=100, double_precision=False, thetaT=None, XT=None, random_state=1234):
    assert (not double_precision), 'double precision is not yet supported'
    assert ((f % 10) == 0), 'f has to be a multiple of 10'
    self.f = f
    self.lambda_ = lambda_
    self.double_precision = double_precision
    self.dtype = (np.float64 if self.double_precision else np.float32)
    self.thetaT = thetaT
    self.XT = XT
    self.max_iter = max_iter
    self.random_state = random_state