def __init__(self, useLabels=True): """ create a new group size, group associator. """ BaseOutcomeMeasurementAssociator.__init__(self, useLabels) self.finderType = 'baseline-om-associator' probEstimators = [] for [mType, qType] in self.pairTypeList: finder = BaselineMentionQuantityAssociator(mType, qType, useLabels) probEstimators.append(finder) self.probabilityEstimatorTasks = [] for finder in probEstimators: finderTask = FinderTask(finder) self.probabilityEstimatorTasks.append(finderTask)
def __init__(self): """ create a new group size, group associator. """ BaseOutcomeMeasurementAssociator.__init__(self, useLabels=False) self.finderType = 'true-om-associator'