blob: 24630f4bdab8d7a1aaec770af1ba117efbf8ed56 [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:37 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.apache.mahout.common.distance.DistanceMeasure (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="Uses of Interface org.apache.mahout.common.distance.DistanceMeasure (Mahout Map-Reduce 0.13.0 API)";
}
}
catch(err) {
}
//-->
</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><a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/mahout/common/distance/class-use/DistanceMeasure.html" target="_top">Frames</a></li>
<li><a href="DistanceMeasure.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>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Interface org.apache.mahout.common.distance.DistanceMeasure" class="title">Uses of Interface<br>org.apache.mahout.common.distance.DistanceMeasure</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.mahout.clustering">org.apache.mahout.clustering</a></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.mahout.clustering.canopy">org.apache.mahout.clustering.canopy</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.mahout.clustering.fuzzykmeans">org.apache.mahout.clustering.fuzzykmeans</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.mahout.clustering.iterator">org.apache.mahout.clustering.iterator</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.mahout.clustering.kmeans">org.apache.mahout.clustering.kmeans</a></td>
<td class="colLast">
<div class="block">This package provides an implementation of the <a href="http://en.wikipedia.org/wiki/Kmeans">k-means</a> clustering
algorithm.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.mahout.clustering.spectral.kmeans">org.apache.mahout.clustering.spectral.kmeans</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.mahout.clustering.streaming.cluster">org.apache.mahout.clustering.streaming.cluster</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.mahout.common.distance">org.apache.mahout.common.distance</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.mahout.math.hadoop.similarity">org.apache.mahout.math.hadoop.similarity</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.mahout.math.neighborhood">org.apache.mahout.math.neighborhood</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.mahout.clustering">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/clustering/package-summary.html">org.apache.mahout.clustering</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/mahout/clustering/package-summary.html">org.apache.mahout.clustering</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><span class="typeNameLabel">ClusteringUtils.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/ClusteringUtils.html#daviesBouldinIndex-java.util.List-org.apache.mahout.common.distance.DistanceMeasure-java.util.List-">daviesBouldinIndex</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;&nbsp;centroids,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/stats/OnlineSummarizer.html?is-external=true" title="class or interface in org.apache.mahout.math.stats">OnlineSummarizer</a>&gt;&nbsp;clusterDistanceSummaries)</code>
<div class="block">Computes the Davies-Bouldin Index for a given clustering.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><span class="typeNameLabel">ClusteringUtils.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/ClusteringUtils.html#dunnIndex-java.util.List-org.apache.mahout.common.distance.DistanceMeasure-java.util.List-">dunnIndex</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;&nbsp;centroids,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/stats/OnlineSummarizer.html?is-external=true" title="class or interface in org.apache.mahout.math.stats">OnlineSummarizer</a>&gt;&nbsp;clusterDistanceSummaries)</code>
<div class="block">Computes the Dunn Index of a given clustering.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;<br>double</code></td>
<td class="colLast"><span class="typeNameLabel">ClusteringUtils.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/ClusteringUtils.html#estimateDistanceCutoff-java.lang.Iterable-org.apache.mahout.common.distance.DistanceMeasure-int-">estimateDistanceCutoff</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;T&gt;&nbsp;data,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure,
int&nbsp;sampleLimit)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><span class="typeNameLabel">ClusteringUtils.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/ClusteringUtils.html#estimateDistanceCutoff-java.util.List-org.apache.mahout.common.distance.DistanceMeasure-">estimateDistanceCutoff</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;&nbsp;data,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure)</code>
<div class="block">Estimates the distance cutoff.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusteringUtils.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/ClusteringUtils.html#getConfusionMatrix-java.util.List-java.util.List-java.lang.Iterable-org.apache.mahout.common.distance.DistanceMeasure-">getConfusionMatrix</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;&nbsp;rowCentroids,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;&nbsp;columnCentroids,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;&nbsp;datapoints,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure)</code>
<div class="block">Creates a confusion matrix by searching for the closest cluster of both the row clustering and column clustering
of a point and adding its weight to that cell of the matrix.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/stats/OnlineSummarizer.html?is-external=true" title="class or interface in org.apache.mahout.math.stats">OnlineSummarizer</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ClusteringUtils.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/ClusteringUtils.html#summarizeClusterDistances-java.lang.Iterable-java.lang.Iterable-org.apache.mahout.common.distance.DistanceMeasure-">summarizeClusterDistances</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;&nbsp;datapoints,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;&nbsp;centroids,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure)</code>
<div class="block">Computes the summaries for the distances in each cluster.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.mahout.clustering.canopy">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/clustering/canopy/package-summary.html">org.apache.mahout.clustering.canopy</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/mahout/clustering/canopy/package-summary.html">org.apache.mahout.clustering.canopy</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td>
<td class="colLast"><span class="typeNameLabel">CanopyDriver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/canopy/CanopyDriver.html#buildClusters-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.mahout.common.distance.DistanceMeasure-double-double-double-double-int-boolean-">buildClusters</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;t1,
double&nbsp;t2,
double&nbsp;t3,
double&nbsp;t4,
int&nbsp;clusterFilter,
boolean&nbsp;runSequential)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Build a directory of Canopy clusters from the input vectors and other
arguments.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td>
<td class="colLast"><span class="typeNameLabel">CanopyDriver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/canopy/CanopyDriver.html#buildClusters-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.mahout.common.distance.DistanceMeasure-double-double-int-boolean-">buildClusters</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;t1,
double&nbsp;t2,
int&nbsp;clusterFilter,
boolean&nbsp;runSequential)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Convenience method for backwards compatibility</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/mahout/clustering/canopy/Canopy.html" title="class in org.apache.mahout.clustering.canopy">Canopy</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">CanopyClusterer.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/canopy/CanopyClusterer.html#createCanopies-java.util.List-org.apache.mahout.common.distance.DistanceMeasure-double-double-">createCanopies</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&gt;&nbsp;points,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;t1,
double&nbsp;t2)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Iterate through the points, adding new canopies.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">CanopyDriver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/canopy/CanopyDriver.html#run-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.mahout.common.distance.DistanceMeasure-double-double-boolean-double-boolean-">run</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;t1,
double&nbsp;t2,
boolean&nbsp;runClustering,
double&nbsp;clusterClassificationThreshold,
boolean&nbsp;runSequential)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Convenience method to provide backward compatibility</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">CanopyDriver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/canopy/CanopyDriver.html#run-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.mahout.common.distance.DistanceMeasure-double-double-double-double-int-boolean-double-boolean-">run</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;t1,
double&nbsp;t2,
double&nbsp;t3,
double&nbsp;t4,
int&nbsp;clusterFilter,
boolean&nbsp;runClustering,
double&nbsp;clusterClassificationThreshold,
boolean&nbsp;runSequential)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Build a directory of Canopy clusters from the input arguments and, if
requested, cluster the input vectors using these clusters</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">CanopyDriver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/canopy/CanopyDriver.html#run-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.mahout.common.distance.DistanceMeasure-double-double-boolean-double-boolean-">run</a></span>(org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;t1,
double&nbsp;t2,
boolean&nbsp;runClustering,
double&nbsp;clusterClassificationThreshold,
boolean&nbsp;runSequential)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Convenience method creates new Configuration() Build a directory of Canopy
clusters from the input arguments and, if requested, cluster the input
vectors using these clusters</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../../org/apache/mahout/clustering/canopy/package-summary.html">org.apache.mahout.clustering.canopy</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/canopy/Canopy.html#Canopy-org.apache.mahout.math.Vector-int-org.apache.mahout.common.distance.DistanceMeasure-">Canopy</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&nbsp;center,
int&nbsp;canopyId,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Create a new Canopy containing the given point and canopyId</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/canopy/CanopyClusterer.html#CanopyClusterer-org.apache.mahout.common.distance.DistanceMeasure-double-double-">CanopyClusterer</a></span>(<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;t1,
double&nbsp;t2)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.mahout.clustering.fuzzykmeans">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/clustering/fuzzykmeans/package-summary.html">org.apache.mahout.clustering.fuzzykmeans</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../../org/apache/mahout/clustering/fuzzykmeans/package-summary.html">org.apache.mahout.clustering.fuzzykmeans</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/fuzzykmeans/SoftCluster.html#SoftCluster-org.apache.mahout.math.Vector-int-org.apache.mahout.common.distance.DistanceMeasure-">SoftCluster</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&nbsp;center,
int&nbsp;clusterId,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure)</code>
<div class="block">Construct a new SoftCluster with the given point as its center</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.mahout.clustering.iterator">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/clustering/iterator/package-summary.html">org.apache.mahout.clustering.iterator</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/mahout/clustering/iterator/package-summary.html">org.apache.mahout.clustering.iterator</a> that return <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></code></td>
<td class="colLast"><span class="typeNameLabel">DistanceMeasureCluster.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/iterator/DistanceMeasureCluster.html#getMeasure--">getMeasure</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/mahout/clustering/iterator/package-summary.html">org.apache.mahout.clustering.iterator</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">DistanceMeasureCluster.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/iterator/DistanceMeasureCluster.html#setMeasure-org.apache.mahout.common.distance.DistanceMeasure-">setMeasure</a></span>(<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure)</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../../org/apache/mahout/clustering/iterator/package-summary.html">org.apache.mahout.clustering.iterator</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/iterator/DistanceMeasureCluster.html#DistanceMeasureCluster-org.apache.mahout.math.Vector-int-org.apache.mahout.common.distance.DistanceMeasure-">DistanceMeasureCluster</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&nbsp;point,
int&nbsp;id,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.mahout.clustering.kmeans">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/clustering/kmeans/package-summary.html">org.apache.mahout.clustering.kmeans</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/mahout/clustering/kmeans/package-summary.html">org.apache.mahout.clustering.kmeans</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td>
<td class="colLast"><span class="typeNameLabel">RandomSeedGenerator.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/kmeans/RandomSeedGenerator.html#buildRandom-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-int-org.apache.mahout.common.distance.DistanceMeasure-">buildRandom</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output,
int&nbsp;k,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td>
<td class="colLast"><span class="typeNameLabel">RandomSeedGenerator.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/kmeans/RandomSeedGenerator.html#buildRandom-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-int-org.apache.mahout.common.distance.DistanceMeasure-java.lang.Long-">buildRandom</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output,
int&nbsp;k,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;seed)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">Kluster.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/kmeans/Kluster.html#computeConvergence-org.apache.mahout.common.distance.DistanceMeasure-double-">computeConvergence</a></span>(<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;convergenceDelta)</code>
<div class="block">Return if the cluster is converged by comparing its center and centroid.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../../org/apache/mahout/clustering/kmeans/package-summary.html">org.apache.mahout.clustering.kmeans</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/kmeans/Kluster.html#Kluster-org.apache.mahout.math.Vector-int-org.apache.mahout.common.distance.DistanceMeasure-">Kluster</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a>&nbsp;center,
int&nbsp;clusterId,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure)</code>
<div class="block">Construct a new cluster with the given point as its center</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.mahout.clustering.spectral.kmeans">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/clustering/spectral/kmeans/package-summary.html">org.apache.mahout.clustering.spectral.kmeans</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/mahout/clustering/spectral/kmeans/package-summary.html">org.apache.mahout.clustering.spectral.kmeans</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td>
<td class="colLast"><span class="typeNameLabel">EigenSeedGenerator.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/spectral/kmeans/EigenSeedGenerator.html#buildFromEigens-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-int-org.apache.mahout.common.distance.DistanceMeasure-">buildFromEigens</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output,
int&nbsp;k,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">SpectralKMeansDriver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/spectral/kmeans/SpectralKMeansDriver.html#run-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-int-int-org.apache.mahout.common.distance.DistanceMeasure-double-int-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,
int&nbsp;numDims,
int&nbsp;clusters,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;convergenceDelta,
int&nbsp;maxIterations,
org.apache.hadoop.fs.Path&nbsp;tempDir)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">SpectralKMeansDriver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/spectral/kmeans/SpectralKMeansDriver.html#run-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-int-int-org.apache.mahout.common.distance.DistanceMeasure-double-int-org.apache.hadoop.fs.Path-int-int-int-int-">run</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;output,
int&nbsp;numDims,
int&nbsp;clusters,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
double&nbsp;convergenceDelta,
int&nbsp;maxIterations,
org.apache.hadoop.fs.Path&nbsp;tempDir,
int&nbsp;numReducers,
int&nbsp;blockHeight,
int&nbsp;oversampling,
int&nbsp;poweriters)</code>
<div class="block">Run the Spectral KMeans clustering on the supplied arguments</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.mahout.clustering.streaming.cluster">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/clustering/streaming/cluster/package-summary.html">org.apache.mahout.clustering.streaming.cluster</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/mahout/clustering/streaming/cluster/package-summary.html">org.apache.mahout.clustering.streaming.cluster</a> that return <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></code></td>
<td class="colLast"><span class="typeNameLabel">StreamingKMeans.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/clustering/streaming/cluster/StreamingKMeans.html#getDistanceMeasure--">getDistanceMeasure</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.mahout.common.distance">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/common/distance/package-summary.html">org.apache.mahout.common.distance</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../../../org/apache/mahout/common/distance/package-summary.html">org.apache.mahout.common.distance</a> that implement <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/ChebyshevDistanceMeasure.html" title="class in org.apache.mahout.common.distance">ChebyshevDistanceMeasure</a></span></code>
<div class="block">This class implements a "Chebyshev distance" metric by finding the maximum difference
between each coordinate.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/CosineDistanceMeasure.html" title="class in org.apache.mahout.common.distance">CosineDistanceMeasure</a></span></code>
<div class="block">This class implements a cosine distance metric by dividing the dot product of two vectors by the product of their
lengths.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/EuclideanDistanceMeasure.html" title="class in org.apache.mahout.common.distance">EuclideanDistanceMeasure</a></span></code>
<div class="block">This class implements a Euclidean distance metric by summing the square root of the squared differences
between each coordinate.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/MahalanobisDistanceMeasure.html" title="class in org.apache.mahout.common.distance">MahalanobisDistanceMeasure</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/ManhattanDistanceMeasure.html" title="class in org.apache.mahout.common.distance">ManhattanDistanceMeasure</a></span></code>
<div class="block">This class implements a "manhattan distance" metric by summing the absolute values of the difference
between each coordinate</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/MinkowskiDistanceMeasure.html" title="class in org.apache.mahout.common.distance">MinkowskiDistanceMeasure</a></span></code>
<div class="block">Implement Minkowski distance, a real-valued generalization of the
integral L(n) distances: Manhattan = L1, Euclidean = L2.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/SquaredEuclideanDistanceMeasure.html" title="class in org.apache.mahout.common.distance">SquaredEuclideanDistanceMeasure</a></span></code>
<div class="block">Like <a href="../../../../../../org/apache/mahout/common/distance/EuclideanDistanceMeasure.html" title="class in org.apache.mahout.common.distance"><code>EuclideanDistanceMeasure</code></a> but it does not take the square root.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/TanimotoDistanceMeasure.html" title="class in org.apache.mahout.common.distance">TanimotoDistanceMeasure</a></span></code>
<div class="block">Tanimoto coefficient implementation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/WeightedDistanceMeasure.html" title="class in org.apache.mahout.common.distance">WeightedDistanceMeasure</a></span></code>
<div class="block">Abstract implementation of DistanceMeasure with support for weights.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/WeightedEuclideanDistanceMeasure.html" title="class in org.apache.mahout.common.distance">WeightedEuclideanDistanceMeasure</a></span></code>
<div class="block">This class implements a Euclidean distance metric by summing the square root of the squared differences
between each coordinate, optionally adding weights.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/common/distance/WeightedManhattanDistanceMeasure.html" title="class in org.apache.mahout.common.distance">WeightedManhattanDistanceMeasure</a></span></code>
<div class="block">This class implements a "Manhattan distance" metric by summing the absolute values of the difference
between each coordinate, optionally with weights.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.mahout.math.hadoop.similarity">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/math/hadoop/similarity/package-summary.html">org.apache.mahout.math.hadoop.similarity</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/mahout/math/hadoop/similarity/package-summary.html">org.apache.mahout.math.hadoop.similarity</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">VectorDistanceSimilarityJob.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/hadoop/similarity/VectorDistanceSimilarityJob.html#run-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.mahout.common.distance.DistanceMeasure-java.lang.String-">run</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;seeds,
org.apache.hadoop.fs.Path&nbsp;output,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
<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;outType)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">VectorDistanceSimilarityJob.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/hadoop/similarity/VectorDistanceSimilarityJob.html#run-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-org.apache.mahout.common.distance.DistanceMeasure-java.lang.String-java.lang.Double-">run</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.hadoop.fs.Path&nbsp;input,
org.apache.hadoop.fs.Path&nbsp;seeds,
org.apache.hadoop.fs.Path&nbsp;output,
<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;measure,
<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;outType,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>&nbsp;maxDistance)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.mahout.math.neighborhood">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a> in <a href="../../../../../../org/apache/mahout/math/neighborhood/package-summary.html">org.apache.mahout.math.neighborhood</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../../org/apache/mahout/math/neighborhood/package-summary.html">org.apache.mahout.math.neighborhood</a> declared as <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></code></td>
<td class="colLast"><span class="typeNameLabel">Searcher.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/neighborhood/Searcher.html#distanceMeasure">distanceMeasure</a></span></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/mahout/math/neighborhood/package-summary.html">org.apache.mahout.math.neighborhood</a> that return <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></code></td>
<td class="colLast"><span class="typeNameLabel">Searcher.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/neighborhood/Searcher.html#getDistanceMeasure--">getDistanceMeasure</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../../org/apache/mahout/math/neighborhood/package-summary.html">org.apache.mahout.math.neighborhood</a> with parameters of type <a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/neighborhood/BruteSearch.html#BruteSearch-org.apache.mahout.common.distance.DistanceMeasure-">BruteSearch</a></span>(<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/neighborhood/FastProjectionSearch.html#FastProjectionSearch-org.apache.mahout.common.distance.DistanceMeasure-int-int-">FastProjectionSearch</a></span>(<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure,
int&nbsp;numProjections,
int&nbsp;searchSize)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/neighborhood/LocalitySensitiveHashSearch.html#LocalitySensitiveHashSearch-org.apache.mahout.common.distance.DistanceMeasure-int-">LocalitySensitiveHashSearch</a></span>(<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure,
int&nbsp;searchSize)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/neighborhood/ProjectionSearch.html#ProjectionSearch-org.apache.mahout.common.distance.DistanceMeasure-int-int-">ProjectionSearch</a></span>(<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure,
int&nbsp;numProjections,
int&nbsp;searchSize)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/neighborhood/Searcher.html#Searcher-org.apache.mahout.common.distance.DistanceMeasure-">Searcher</a></span>(<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mahout/math/neighborhood/UpdatableSearcher.html#UpdatableSearcher-org.apache.mahout.common.distance.DistanceMeasure-">UpdatableSearcher</a></span>(<a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">DistanceMeasure</a>&nbsp;distanceMeasure)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= 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><a href="../../../../../../org/apache/mahout/common/distance/DistanceMeasure.html" title="interface in org.apache.mahout.common.distance">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/mahout/common/distance/class-use/DistanceMeasure.html" target="_top">Frames</a></li>
<li><a href="DistanceMeasure.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>
<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>