Пример #1
0
 def __init__(self, handicappers=None):
     super(DeepQLearningApproxActionValueFunction, self).__init__()
     self._handicappers = handicappers
     self.prediction_cache = {}  # (features, prediction)
     self.delegate = LinearModelBinaryOnehotFeaturesValueFunction(
         blind_structure, self._handicappers)
     self.delegate.setup()
Пример #2
0
 def setup(self):
     self.delegate = LinearModelBinaryOnehotFeaturesValueFunction(
         blind_structure, self._handicappers)
     self.delegate.setup()