isoexp/linear/linearbandit.py [28:41]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(self, arm_features, reg_factor=1., delta=0.5,
                 bound_theta=None, noise_variance=None):
        self.arm_features = arm_features
        self.reg_factor = reg_factor
        self.delta = delta
        self.iteration = None
        self.bound_theta = bound_theta
        self.bound_features = np.max(np.sqrt(np.sum(np.abs(arm_features) ** 2, axis=1)))
        self.noise_variance = noise_variance

        self.reset()

    def reset(self):
        d = self.n_features
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



isoexp/linear/linearbandit.py [106:119]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(self, arm_features, reg_factor=1., delta=0.5,
                 bound_theta=None, noise_variance=None):
        self.arm_features = arm_features
        self.reg_factor = reg_factor
        self.delta = delta
        self.iteration = None
        self.bound_theta = bound_theta
        self.bound_features = np.max(np.sqrt(np.sum(np.abs(arm_features) ** 2, axis=1)))
        self.noise_variance = noise_variance

        self.reset()

    def reset(self):
        d = self.n_features
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



