Package org.apache.mahout.fpm.pfpgrowth.convertors.integer

Examples of org.apache.mahout.fpm.pfpgrowth.convertors.integer.IntegerTupleIterator


  protected void reduce(LongWritable key, Iterable<IntegerTuple> values,
      Context context) throws IOException {
    FPGrowth<Integer> fpGrowth = new FPGrowth<Integer>();
    fpGrowth
        .generateTopKFrequentPatterns(
            new IntegerTupleIterator(values.iterator()),
            fList,
            minSupport,
            maxHeapSize,
            new HashSet<Integer>(groupFeatures.get(key.get())),
            new IntegerStringOutputConvertor(
View Full Code Here

TOP

Related Classes of org.apache.mahout.fpm.pfpgrowth.convertors.integer.IntegerTupleIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.