Exemplo n.º 1
0
 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
Exemplo n.º 2
0
	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
Exemplo n.º 3
0
    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
Exemplo n.º 4
0
 def __init__(self, dimension, alpha, lambda_, n, W):
     CoLinUCBAlgorithm.__init__(self, dimension, alpha, lambda_, n, W)
     self.USERS = GOBLinSharedStruct(dimension, lambda_, n, W)
Exemplo n.º 5
0
 def __init__(self, dimension, alpha, lambda_, n, W):
     CoLinUCBAlgorithm.__init__(self, dimension, alpha, lambda_, n, W)
     self.USERS = GOBLinSharedStruct(dimension, lambda_, n, W)
Exemplo n.º 6
0
	def __init__(self, arg_dict):
		CoLinUCBAlgorithm.__init__(self, arg_dict)
		self.USERS = GOBLinSharedStruct(self.dimension, self.lambda_, self.n_users, self.W)