Пример #1
0
def run_filter(a):
    '''docstring for run_forest'''
    reload(adaptors)
    log.debug(" filtering data set...")
    time_interval.start()
    forest = adaptors.ForestExtractor(a, None)
    forest.extractForest()
    time_interval.end()
    log.debug("**take %s seconds on filtering**" % time_interval.interval())
    log.flush()
Пример #2
0
def run_filter(a):
    '''docstring for run_forest''' 
    reload(adaptors)
    log.debug(" filtering data set..." )
    time_interval.start() 
    forest = adaptors.ForestExtractor(a,  None)
    forest.extractForest()
    time_interval.end()
    log.debug("**take %s seconds on filtering**"% time_interval.interval())
    log.flush()
Пример #3
0
def run_fishgram(a):
    reload(fishgram)
    time_interval.start()
    fish = fishgram.Fishgram(a)
    log.debug(" filtering data set...")
    fishgram.notice_changes(a)
    fish.forest.extractForest()
    time_interval.end()
    log.debug("**take %s seconds on filtering**" % time_interval.interval())
    log.debug("mining patterns...")
    time_interval.start()
    fish.run()
    time_interval.end()
    log.debug("**take %s seconds on mining**" % time_interval.interval())
    log.flush()
Пример #4
0
def run_fishgram(a):
    reload(fishgram)
    time_interval.start() 
    fish = fishgram.Fishgram(a)
    log.debug(" filtering data set..." )
    fishgram.notice_changes(a)
    fish.forest.extractForest()
    time_interval.end()
    log.debug("**take %s seconds on filtering**"% time_interval.interval())
    log.debug("mining patterns..." )
    time_interval.start()
    fish.run()
    time_interval.end()
    log.debug("**take %s seconds on mining**"% time_interval.interval())
    log.flush()