blob: 87d6755ca5e524845165e571435f499f9424f5fa [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Fri Apr 14 22:11:35 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>StreamingKMeansDriver (Mahout Map-Reduce 0.13.0 API)</title>
<meta name="date" content="2017-04-14">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StreamingKMeansDriver (Mahout Map-Reduce 0.13.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":10,"i4":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/StreamingKMeansDriver.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/CentroidWritable.html" title="class in org.apache.mahout.clustering.streaming.mapreduce"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansMapper.html" title="class in org.apache.mahout.clustering.streaming.mapreduce"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html" target="_top">Frames</a></li>
<li><a href="StreamingKMeansDriver.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.mahout.clustering.streaming.mapreduce</div>
<h2 title="Class StreamingKMeansDriver" class="title">Class StreamingKMeansDriver</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.hadoop.conf.Configured</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/mahout/common/AbstractJob.html" title="class in org.apache.mahout.common">org.apache.mahout.common.AbstractJob</a></li>
<li>
<ul class="inheritance">
<li>org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool</dd>
</dl>
<hr>
<br>
<pre>public final class <span class="typeNameLabel">StreamingKMeansDriver</span>
extends <a href="../../../../../../org/apache/mahout/common/AbstractJob.html" title="class in org.apache.mahout.common">AbstractJob</a></pre>
<div class="block">Classifies the vectors into different clusters found by the clustering
algorithm.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#ESTIMATED_DISTANCE_CUTOFF">ESTIMATED_DISTANCE_CUTOFF</a></span></code>
<div class="block">The initial estimated distance cutoff between two points for forming new clusters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#ESTIMATED_NUM_MAP_CLUSTERS">ESTIMATED_NUM_MAP_CLUSTERS</a></span></code>
<div class="block">The number of cluster that Mappers will use should be \(O(k log n)\) where k is the number of clusters
to get at the end and n is the number of points to cluster.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#IGNORE_WEIGHTS">IGNORE_WEIGHTS</a></span></code>
<div class="block">Whether to correct the weights of the centroids after the clustering is done.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#INVALID_DISTANCE_CUTOFF">INVALID_DISTANCE_CUTOFF</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#MAX_NUM_ITERATIONS">MAX_NUM_ITERATIONS</a></span></code>
<div class="block">After mapping finishes, we get an intermediate set of vectors that represent approximate
clusterings of the data from each Mapper.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#NUM_BALLKMEANS_RUNS">NUM_BALLKMEANS_RUNS</a></span></code>
<div class="block">The percentage of points that go into the "training" set when evaluating BallKMeans runs in the reducer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#NUM_PROJECTIONS_OPTION">NUM_PROJECTIONS_OPTION</a></span></code>
<div class="block">The number of projections to use when using a projection searcher like ProjectionSearch or
FastProjectionSearch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#RANDOM_INIT">RANDOM_INIT</a></span></code>
<div class="block">Whether to use k-means++ initialization or random initialization of the seed centroids.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#REDUCE_STREAMING_KMEANS">REDUCE_STREAMING_KMEANS</a></span></code>
<div class="block">Whether to run another pass of StreamingKMeans on the reducer's points before BallKMeans.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#SEARCH_SIZE_OPTION">SEARCH_SIZE_OPTION</a></span></code>
<div class="block">When using approximate searches (anything that's not BruteSearch),
more than just the seemingly closest element must be considered.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#SEARCHER_CLASS_OPTION">SEARCHER_CLASS_OPTION</a></span></code>
<div class="block">The Searcher class when performing nearest neighbor search in StreamingKMeans.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#TEST_PROBABILITY">TEST_PROBABILITY</a></span></code>
<div class="block">The percentage of points that go into the "test" set when evaluating BallKMeans runs in the reducer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#TRIM_FRACTION">TRIM_FRACTION</a></span></code>
<div class="block">The "ball" aspect of ball k-means means that only the closest points to the centroid will actually be used
for updating.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.mahout.common.AbstractJob">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.mahout.common.<a href="../../../../../../org/apache/mahout/common/AbstractJob.html" title="class in org.apache.mahout.common">AbstractJob</a></h3>
<code><a href="../../../../../../org/apache/mahout/common/AbstractJob.html#argMap">argMap</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#inputFile">inputFile</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#inputPath">inputPath</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#outputFile">outputFile</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#outputPath">outputPath</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#tempPath">tempPath</a></code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#configureOptionsForWorkers-org.apache.hadoop.conf.Configuration-int-int-float-int-float-boolean-boolean-float-int-java.lang.String-java.lang.String-int-int-java.lang.String-boolean-">configureOptionsForWorkers</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;numClusters,
int&nbsp;estimatedNumMapClusters,
float&nbsp;estimatedDistanceCutoff,
int&nbsp;maxNumIterations,
float&nbsp;trimFraction,
boolean&nbsp;randomInit,
boolean&nbsp;ignoreWeights,
float&nbsp;testProbability,
int&nbsp;numBallKMeansRuns,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;measureClass,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searcherClass,
int&nbsp;searchSize,
int&nbsp;numProjections,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;method,
boolean&nbsp;reduceStreamingKMeans)</code>
<div class="block">Checks the parameters for a StreamingKMeans job and prepares a Configuration with them.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#main-java.lang.String:A-">main</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#run-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">run</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output)</code>
<div class="block">Iterate over the input vectors to produce clusters and, if requested, use the results of the final iteration to
cluster the input vectors.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#run-java.lang.String:A-">run</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html#runMapReduce-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">runMapReduce</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.mahout.common.AbstractJob">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.mahout.common.<a href="../../../../../../org/apache/mahout/common/AbstractJob.html" title="class in org.apache.mahout.common">AbstractJob</a></h3>
<code><a href="../../../../../../org/apache/mahout/common/AbstractJob.html#addFlag-java.lang.String-java.lang.String-java.lang.String-">addFlag</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#addInputOption--">addInputOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#addOption-org.apache.commons.cli2.Option-">addOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#addOption-java.lang.String-java.lang.String-java.lang.String-">addOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#addOption-java.lang.String-java.lang.String-java.lang.String-boolean-">addOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#addOption-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">addOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#addOutputOption--">addOutputOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#buildOption-java.lang.String-java.lang.String-java.lang.String-boolean-boolean-java.lang.String-">buildOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#buildOption-java.lang.String-java.lang.String-java.lang.String-boolean-int-int-boolean-java.lang.String-">buildOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getAnalyzerClassFromOption--">getAnalyzerClassFromOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getCLIOption-java.lang.String-">getCLIOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getConf--">getConf</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getDimensions-org.apache.hadoop.fs.Path-">getDimensions</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getFloat-java.lang.String-float-">getFloat</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getGroup--">getGroup</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getInputFile--">getInputFile</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getInputPath--">getInputPath</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getInt-java.lang.String-">getInt</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getInt-java.lang.String-int-">getInt</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getOption-java.util.Map-java.lang.String-">getOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getOption-java.lang.String-">getOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getOption-java.lang.String-java.lang.String-">getOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getOptions-java.lang.String-">getOptions</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getOutputFile--">getOutputFile</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getOutputPath--">getOutputPath</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getOutputPath-java.lang.String-">getOutputPath</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getTempPath--">getTempPath</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#getTempPath-java.lang.String-">getTempPath</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#hasOption-java.lang.String-">hasOption</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#keyFor-java.lang.String-">keyFor</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#maybePut-java.util.Map-org.apache.commons.cli2.CommandLine-org.apache.commons.cli2.Option...-">maybePut</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#parseArguments-java.lang.String:A-">parseArguments</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#parseArguments-java.lang.String:A-boolean-boolean-">parseArguments</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#parseDirectories-org.apache.commons.cli2.CommandLine-boolean-boolean-">parseDirectories</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#prepareJob-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-">prepareJob</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#prepareJob-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.String-">prepareJob</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#prepareJob-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-">prepareJob</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#prepareJob-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-java.lang.Class-">prepareJob</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#setConf-org.apache.hadoop.conf.Configuration-">setConf</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#setS3SafeCombinedInputPath-org.apache.hadoop.mapreduce.Job-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">setS3SafeCombinedInputPath</a>, <a href="../../../../../../org/apache/mahout/common/AbstractJob.html#shouldRunNextPhase-java.util.Map-java.util.concurrent.atomic.AtomicInteger-">shouldRunNextPhase</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="ESTIMATED_NUM_MAP_CLUSTERS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ESTIMATED_NUM_MAP_CLUSTERS</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ESTIMATED_NUM_MAP_CLUSTERS</pre>
<div class="block">The number of cluster that Mappers will use should be \(O(k log n)\) where k is the number of clusters
to get at the end and n is the number of points to cluster. This doesn't need to be exact.
It will be adjusted at runtime.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.ESTIMATED_NUM_MAP_CLUSTERS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ESTIMATED_DISTANCE_CUTOFF">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ESTIMATED_DISTANCE_CUTOFF</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ESTIMATED_DISTANCE_CUTOFF</pre>
<div class="block">The initial estimated distance cutoff between two points for forming new clusters.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/mahout/clustering/streaming/cluster/StreamingKMeans.html" title="class in org.apache.mahout.clustering.streaming.cluster"><code>Defaults to 10e-6.</code></a>,
<a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.ESTIMATED_DISTANCE_CUTOFF">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="MAX_NUM_ITERATIONS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_NUM_ITERATIONS</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> MAX_NUM_ITERATIONS</pre>
<div class="block">After mapping finishes, we get an intermediate set of vectors that represent approximate
clusterings of the data from each Mapper. These can be clustered by the Reducer using
BallKMeans in memory. This variable is the maximum number of iterations in the final
BallKMeans algorithm.
Defaults to 10.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.MAX_NUM_ITERATIONS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TRIM_FRACTION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TRIM_FRACTION</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> TRIM_FRACTION</pre>
<div class="block">The "ball" aspect of ball k-means means that only the closest points to the centroid will actually be used
for updating. The fraction of the points to be used is those points whose distance to the center is within
trimFraction * distance to the closest other center.
Defaults to 0.9.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.TRIM_FRACTION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="RANDOM_INIT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RANDOM_INIT</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> RANDOM_INIT</pre>
<div class="block">Whether to use k-means++ initialization or random initialization of the seed centroids.
Essentially, k-means++ provides better clusters, but takes longer, whereas random initialization takes less
time, but produces worse clusters, and tends to fail more often and needs multiple runs to compare to
k-means++. If set, uses randomInit.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/mahout/clustering/streaming/cluster/BallKMeans.html" title="class in org.apache.mahout.clustering.streaming.cluster"><code>BallKMeans</code></a>,
<a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.RANDOM_INIT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="IGNORE_WEIGHTS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IGNORE_WEIGHTS</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> IGNORE_WEIGHTS</pre>
<div class="block">Whether to correct the weights of the centroids after the clustering is done. The weights end up being wrong
because of the trimFraction and possible train/test splits. In some cases, especially in a pipeline, having
an accurate count of the weights is useful. If set, ignores the final weights.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.IGNORE_WEIGHTS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TEST_PROBABILITY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TEST_PROBABILITY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> TEST_PROBABILITY</pre>
<div class="block">The percentage of points that go into the "test" set when evaluating BallKMeans runs in the reducer.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.TEST_PROBABILITY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="NUM_BALLKMEANS_RUNS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NUM_BALLKMEANS_RUNS</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> NUM_BALLKMEANS_RUNS</pre>
<div class="block">The percentage of points that go into the "training" set when evaluating BallKMeans runs in the reducer.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.NUM_BALLKMEANS_RUNS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SEARCHER_CLASS_OPTION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SEARCHER_CLASS_OPTION</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> SEARCHER_CLASS_OPTION</pre>
<div class="block">The Searcher class when performing nearest neighbor search in StreamingKMeans.
Defaults to ProjectionSearch.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.SEARCHER_CLASS_OPTION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="NUM_PROJECTIONS_OPTION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NUM_PROJECTIONS_OPTION</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> NUM_PROJECTIONS_OPTION</pre>
<div class="block">The number of projections to use when using a projection searcher like ProjectionSearch or
FastProjectionSearch. Projection searches work by projection the all the vectors on to a set of
basis vectors and searching for the projected query in that totally ordered set. This
however can produce false positives (vectors that are closer when projected than they would
actually be.
So, there must be more than one projection vectors in the basis. This variable is the number
of vectors in a basis.
Defaults to 3</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.NUM_PROJECTIONS_OPTION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SEARCH_SIZE_OPTION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SEARCH_SIZE_OPTION</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> SEARCH_SIZE_OPTION</pre>
<div class="block">When using approximate searches (anything that's not BruteSearch),
more than just the seemingly closest element must be considered. This variable has different
meanings depending on the actual Searcher class used but is a measure of how many candidates
will be considered.
See the ProjectionSearch, FastProjectionSearch, LocalitySensitiveHashSearch classes for more
details.
Defaults to 2.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.SEARCH_SIZE_OPTION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="REDUCE_STREAMING_KMEANS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REDUCE_STREAMING_KMEANS</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> REDUCE_STREAMING_KMEANS</pre>
<div class="block">Whether to run another pass of StreamingKMeans on the reducer's points before BallKMeans. On some data sets
with a large number of mappers, the intermediate number of clusters passed to the reducer is too large to
fit into memory directly, hence the option to collapse the clusters further with StreamingKMeans.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.REDUCE_STREAMING_KMEANS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="INVALID_DISTANCE_CUTOFF">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>INVALID_DISTANCE_CUTOFF</h4>
<pre>public static final&nbsp;float INVALID_DISTANCE_CUTOFF</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.INVALID_DISTANCE_CUTOFF">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="run-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public&nbsp;int&nbsp;run(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="configureOptionsForWorkers-org.apache.hadoop.conf.Configuration-int-int-float-int-float-boolean-boolean-float-int-java.lang.String-java.lang.String-int-int-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>configureOptionsForWorkers</h4>
<pre>public static&nbsp;void&nbsp;configureOptionsForWorkers(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;numClusters,
int&nbsp;estimatedNumMapClusters,
float&nbsp;estimatedDistanceCutoff,
int&nbsp;maxNumIterations,
float&nbsp;trimFraction,
boolean&nbsp;randomInit,
boolean&nbsp;ignoreWeights,
float&nbsp;testProbability,
int&nbsp;numBallKMeansRuns,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;measureClass,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searcherClass,
int&nbsp;searchSize,
int&nbsp;numProjections,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;method,
boolean&nbsp;reduceStreamingKMeans)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<div class="block">Checks the parameters for a StreamingKMeans job and prepares a Configuration with them.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>conf</code> - the Configuration to populate</dd>
<dd><code>numClusters</code> - k, the number of clusters at the end</dd>
<dd><code>estimatedNumMapClusters</code> - O(k log n), the number of clusters requested from each mapper</dd>
<dd><code>estimatedDistanceCutoff</code> - an estimate of the minimum distance that separates two clusters (can be smaller and
will be increased dynamically)</dd>
<dd><code>maxNumIterations</code> - the maximum number of iterations of BallKMeans</dd>
<dd><code>trimFraction</code> - the fraction of the points to be considered in updating a ball k-means</dd>
<dd><code>randomInit</code> - whether to initialize the ball k-means seeds randomly</dd>
<dd><code>ignoreWeights</code> - whether to ignore the invalid final ball k-means weights</dd>
<dd><code>testProbability</code> - the percentage of vectors assigned to the test set for selecting the best final centers</dd>
<dd><code>numBallKMeansRuns</code> - the number of BallKMeans runs in the reducer that determine the centroids to return
(clusters are computed for the training set and the error is computed on the test set)</dd>
<dd><code>measureClass</code> - string, name of the distance measure class; theory works for Euclidean-like distances</dd>
<dd><code>searcherClass</code> - string, name of the searcher that will be used for nearest neighbor search</dd>
<dd><code>searchSize</code> - the number of closest neighbors to look at for selecting the closest one in approximate nearest
neighbor searches</dd>
<dd><code>numProjections</code> - the number of projected vectors to use for faster searching (only useful for ProjectionSearch
or FastProjectionSearch); @see org.apache.mahout.math.neighborhood.ProjectionSearch</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd>
</dl>
</li>
</ul>
<a name="run-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public static&nbsp;int&nbsp;run(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a>,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a></pre>
<div class="block">Iterate over the input vectors to produce clusters and, if requested, use the results of the final iteration to
cluster the input vectors.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>input</code> - the directory pathname for input points.</dd>
<dd><code>output</code> - the directory pathname for output points.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>0 on success, -1 on failure.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a></code></dd>
</dl>
</li>
</ul>
<a name="runMapReduce-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runMapReduce</h4>
<pre>public static&nbsp;int&nbsp;runMapReduce(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a>,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
</dl>
</li>
</ul>
<a name="main-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>main</h4>
<pre>public static&nbsp;void&nbsp;main(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/StreamingKMeansDriver.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/CentroidWritable.html" title="class in org.apache.mahout.clustering.streaming.mapreduce"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansMapper.html" title="class in org.apache.mahout.clustering.streaming.mapreduce"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.html" target="_top">Frames</a></li>
<li><a href="StreamingKMeansDriver.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>