def swarm(self, predictedField=None, swarmParams=None):
    """
    Runs a swarm on data and swarm description found within the given working
    directory. 
    
    If no predictedField is provided, it is assumed that the first stream listed
    in the streamIds provided to the Menorah constructor is the predicted field.
    
    :param predictedField: (string)
    :param swarmParams: (dict) overrides any swarm params
    :return:
    """
    self.prepareSwarm(
      predictedField=predictedField, swarmParams=swarmParams
    )
    self.runSwarm(self._workingDir)
def swarm ( self , predictedField = None , swarmParams = None ) : self . prepareSwarm ( predictedField = predictedField , swarmParams = swarmParams ) self . runSwarm ( self . _workingDir )
Runs a swarm on data and swarm description found within the given working
    directory. 
    
    If no predictedField is provided, it is assumed that the first stream listed
    in the streamIds provided to the Menorah constructor is the predicted field.
    
    :param predictedField: (string)
    :param swarmParams: (dict) overrides any swarm params
    :return: