def __init__(self, dimension, alpha, lambda_, n, W): CoLinUCBAlgorithm.__init__(self, dimension, alpha, lambda_, n, W) self.USERS = GOBLinSharedStruct(dimension, lambda_, n, W) self.CanEstimateUserPreference = False self.CanEstimateCoUserPreference = True self.CanEstimateW = False self.CanEstimateV = False
def __init__(self, dimension, alpha, lambda_, n, W, RankoneInverse = False): CoLinUCBAlgorithm.__init__(self, dimension = dimension, alpha = alpha, lambda_ = lambda_, n=n, W= W, RankoneInverse = RankoneInverse) self.USERS = GOBLinSharedStruct(dimension, lambda_, n, W, RankoneInverse) self.CanEstimateUserPreference = False self.CanEstimateCoUserPreference = True self.CanEstimateW = False
def __init__(self, dimension, alpha, lambda_, n, W, RankoneInverse=False): CoLinUCBAlgorithm.__init__(self, dimension=dimension, alpha=alpha, lambda_=lambda_, n=n, W=W, RankoneInverse=RankoneInverse) self.USERS = GOBLinSharedStruct(dimension, lambda_, n, W, RankoneInverse) self.CanEstimateUserPreference = False self.CanEstimateCoUserPreference = True self.CanEstimateW = False
def __init__(self, dimension, alpha, lambda_, n, W): CoLinUCBAlgorithm.__init__(self, dimension, alpha, lambda_, n, W) self.USERS = GOBLinSharedStruct(dimension, lambda_, n, W)
def __init__(self, arg_dict): CoLinUCBAlgorithm.__init__(self, arg_dict) self.USERS = GOBLinSharedStruct(self.dimension, self.lambda_, self.n_users, self.W)