Exemple #1
0
def tpminerVentSetup(logger):
    job = Job(logger=logger, label='TPMiner main vent')
    job.algorithm = tpminer
    job.seperator = ','
    job.dataset = 'datasets/Vent-minute-12.csv'
    job.columns = col.vent_columns
    job.getState = vent_getState
    job.minSupport = 0.1
    job.maxGap = pa.to_timedelta('24:00:00')

    job.useGenericPreprocessor()

    return job
Exemple #2
0
def tpminerLoadSetup(logger):
    job = Job(logger=logger, label='TPMiner load')
    job.algorithm = tpminer
    job.seperator = ','
    job.dataset = 'datasets/Load-minute-12.csv'
    job.columns = col.load_columns
    job.getState = load_getState
    job.minSupport = 0.5
    job.maxGap = pa.to_timedelta('24:00:00')

    job.useGenericPreprocessor()

    return job
Exemple #3
0
def test(logger):
    job = Job(logger=logger)
    job.algorithm = methods.armada
    job.seperator = ','
    job.dataset = 'datasets/Vent-minute-3.csv'
    job.columns = columns.vent_columns
    job.getState = methods.vent_getState
    job.minSupport = 0.7
    job.maxGap = pa.to_timedelta('24:00:00')

    job.useGenericPreprocessor()

    return job