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()
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()
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()
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()