isoexp/contextual/contextual_linucb.py [46:59]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        for arm in range(self.K):
            self.inv_design_matrices[arm] = np.eye(d, d) / self.reg_factor
        # self.range = 1
        # self.est_bound_theta = 0
        # self.est_bound_features = 0
        self.n_samples = np.zeros((self.K,))
        self.iteration = 0

    @property
    def n_actions(self):
        return self.K

    @property
    def n_features(self):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



isoexp/mab/contextual_mab_algs.py [96:109]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        for arm in range(self.K):
            self.inv_design_matrices[arm] = np.eye(d, d) / self.reg_factor
        # self.range = 1
        # self.est_bound_theta = 0
        # self.est_bound_features = 0
        self.n_samples = np.zeros((self.K,))
        self.iteration = 0

    @property
    def n_actions(self):
        return self.K

    @property
    def n_features(self):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



