Package org.apache.mahout.clustering.minhash

Examples of org.apache.mahout.clustering.minhash.MinHashDriver


    }
    log.info("Loaded: {} clusters", CLUSTERS.size());
  }

  private static void runMinHash(Configuration conf, Path samples, Path output) throws Exception {
    ToolRunner.run(conf, new MinHashDriver(), new String[] { "--input", samples.toString(),
      "--hashType", HashFactory.HashType.MURMUR3.toString(), "--output", output.toString(),
      "--minVectorSize", "1", "--debugOutput"
    });
  }
View Full Code Here


    log.info("Loaded: " + clusters.size() + " clusters");
  }

  private static void runMinHash(Configuration conf, Path samples, Path output)
      throws Exception {
    MinHashDriver mhd = new MinHashDriver();

    ToolRunner.run(conf, mhd, new String[] { "--input", samples.toString(),
        "--hashType", HashFactory.HashType.MURMUR3.toString(), "--output",
        output.toString(), "--minVectorSize", "1", "--debugOutput"
View Full Code Here

TOP

Related Classes of org.apache.mahout.clustering.minhash.MinHashDriver

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.