Esempio n. 1
0
 def __init__(self, langHelper, name, fileName, history=False, goal = [], \
              decayFactor = 0.85, decayHistory = 0.9, includeTop = False, numTopPredictions=0):
     PFISBase.__init__(self, langHelper, name, fileName, history, goal, 
                       decayFactor, decayHistory, includeTop, numTopPredictions)
     self.history = history
     self.goal = goal
     self.DECAY_FACTOR = decayFactor
     self.DECAY_HISTORY = decayHistory
     self.mapNodesToActivation = None
Esempio n. 2
0
 def __init__(self, langHelper, name, fileName, history=False, goal = [], \
              decayFactor = 0.85, decayHistory = 0.9, includeTop = False, numTopPredictions=0):
     PFISBase.__init__(self, langHelper, name, fileName, history, goal,
                       decayFactor, decayHistory, includeTop,
                       numTopPredictions)
     self.history = history
     self.goal = goal
     self.DECAY_FACTOR = decayFactor
     self.DECAY_HISTORY = decayHistory
     self.mapNodesToActivation = None
Esempio n. 3
0
 def __init__(self,
              langHelper,
              name,
              fileName,
              history=False,
              goal=[],
              decayFactor=0.85,
              decayHistory=0.9,
              numSpread=2,
              includeTop=False,
              numTopPredictions=0):
     PFISBase.__init__(self, langHelper, name, fileName, history, goal,
                       decayFactor, decayHistory, includeTop,
                       numTopPredictions)
     self.NUM_SPREAD = numSpread
Esempio n. 4
0
 def __init__(self, langHelper, name, fileName, history=False, goal = [], 
              decayFactor = 0.85, decayHistory = 0.9, numSpread = 2,
              includeTop = False, numTopPredictions=0):
     PFISBase.__init__(self, langHelper, name, fileName, history, goal, 
                       decayFactor, decayHistory, includeTop, numTopPredictions)
     self.NUM_SPREAD = numSpread