def __init__(self, langHelper, name, fileName, includeTop=False, numTopPredictions=0): PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions) self.__methodFrequencies = {}
def __init__(self, langHelper, name, fileName, history=False, goal = [], \ decayFactor = 0.85, decayHistory = 0.9, includeTop = False, numTopPredictions=0): PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions) self.history = history self.goal = goal self.DECAY_FACTOR = decayFactor self.DECAY_HISTORY = decayHistory self.mapNodesToActivation = None
def __init__(self, langHelper, name, fileName, workingSetSize=10, includeTop=False, numTopPredictions=0): self.__workingSetSize = workingSetSize PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions)
def __init__(self, langHelper, name, fileName, dbFilePath, includeTop=False, numTopPredictions=0): PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions) self.dbFilePath = dbFilePath self.corpus = CorpusOfMethodContents()
def __init__(self, langHelper, name, fileName, edgeTypes, includeTop=False, numTopPredictions=0): PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions) self.edgeTypes = edgeTypes self.nodeDistances = None
def __init__(self, langHelper, name, fileName, includeTop = False, numTopPredictions=0): PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions) self.__methodFrequencies = {}
def __init__(self, langHelper, name, fileName, dbFilePath, includeTop = False, numTopPredictions=0): PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions) self.lexicalHelper = LexicalHelper(dbFilePath, langHelper)
def __init__(self, langHelper, name, fileName, dbFilePath, includeTop = False, numTopPredictions=0): PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions) self.dbFilePath = dbFilePath self.corpus = CorpusOfMethodContents()
def __init__(self, langHelper, name, fileName, workingSetSize=10, includeTop = False, numTopPredictions=0): self.__workingSetSize = workingSetSize PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions)
def __init__(self, langHelper, name, fileName, edgeTypes, includeTop = False, numTopPredictions=0): PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions) self.edgeTypes = edgeTypes self.nodeDistances = None
def __init__(self, langHelper, name, fileName, includeTop = False, numTopPredictions=0): PredictiveAlgorithm.__init__(self, langHelper, name, fileName, includeTop, numTopPredictions)