blob: f6669ac6d49fff35271e5d66b5d61b558424ce43 [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>
<link rel="canonical" href="https://ignite.apache.org/releases/2.7.6/javadoc/org/apache/ignite/ml/knn/classification/class-use/NNStrategy.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<!-- Generated by javadoc (1.8.0_212) on Wed Sep 11 22:30:00 MSK 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.ignite.ml.knn.classification.NNStrategy (Ignite 2.7.6)</title>
<meta name="date" content="2019-09-11">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.ignite.ml.knn.classification.NNStrategy (Ignite 2.7.6)";
}
}
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/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">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/ignite/ml/knn/classification/class-use/NNStrategy.html" target="_top">Frames</a></li>
<li><a href="NNStrategy.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 Class org.apache.ignite.ml.knn.classification.NNStrategy" class="title">Uses of Class<br>org.apache.ignite.ml.knn.classification.NNStrategy</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/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</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.ignite.ml.knn">org.apache.ignite.ml.knn</a></td>
<td class="colLast">
<div class="block">Contains main APIs for kNN algorithms.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.ignite.ml.knn.ann">org.apache.ignite.ml.knn.ann</a></td>
<td class="colLast">
<div class="block">Contains main APIs for ANN classification algorithms.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.ignite.ml.knn.classification">org.apache.ignite.ml.knn.classification</a></td>
<td class="colLast">
<div class="block">Contains main APIs for kNN classification algorithms.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.ignite.ml.knn">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a> in <a href="../../../../../../../org/apache/ignite/ml/knn/package-summary.html">org.apache.ignite.ml.knn</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/ignite/ml/knn/package-summary.html">org.apache.ignite.ml.knn</a> declared as <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</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/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a></code></td>
<td class="colLast"><span class="typeNameLabel">NNClassificationModel.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/knn/NNClassificationModel.html#stgy">stgy</a></span></code>
<div class="block">kNN strategy.</div>
</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/ignite/ml/knn/package-summary.html">org.apache.ignite.ml.knn</a> with parameters of type <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</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>protected double</code></td>
<td class="colLast"><span class="typeNameLabel">NNClassificationModel.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/knn/NNClassificationModel.html#getClassVoteForVector-org.apache.ignite.ml.knn.classification.NNStrategy-double-">getClassVoteForVector</a></span>(<a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a>&nbsp;stgy,
double&nbsp;distance)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/knn/NNClassificationModel.html" title="class in org.apache.ignite.ml.knn">NNClassificationModel</a></code></td>
<td class="colLast"><span class="typeNameLabel">NNClassificationModel.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/knn/NNClassificationModel.html#withStrategy-org.apache.ignite.ml.knn.classification.NNStrategy-">withStrategy</a></span>(<a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a>&nbsp;stgy)</code>
<div class="block">Set up parameter of the NN model.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.ignite.ml.knn.ann">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a> in <a href="../../../../../../../org/apache/ignite/ml/knn/ann/package-summary.html">org.apache.ignite.ml.knn.ann</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/ignite/ml/knn/ann/package-summary.html">org.apache.ignite.ml.knn.ann</a> with parameters of type <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</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/ignite/ml/knn/ann/ANNModelFormat.html#ANNModelFormat-int-org.apache.ignite.ml.math.distances.DistanceMeasure-org.apache.ignite.ml.knn.classification.NNStrategy-org.apache.ignite.ml.structures.LabeledVectorSet-org.apache.ignite.ml.knn.ann.ANNClassificationTrainer.CentroidStat-">ANNModelFormat</a></span>(int&nbsp;k,
<a href="../../../../../../../org/apache/ignite/ml/math/distances/DistanceMeasure.html" title="interface in org.apache.ignite.ml.math.distances">DistanceMeasure</a>&nbsp;measure,
<a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a>&nbsp;stgy,
<a href="../../../../../../../org/apache/ignite/ml/structures/LabeledVectorSet.html" title="class in org.apache.ignite.ml.structures">LabeledVectorSet</a>&lt;<a href="../../../../../../../org/apache/ignite/ml/knn/ann/ProbableLabel.html" title="class in org.apache.ignite.ml.knn.ann">ProbableLabel</a>,<a href="../../../../../../../org/apache/ignite/ml/structures/LabeledVector.html" title="class in org.apache.ignite.ml.structures">LabeledVector</a>&gt;&nbsp;candidates,
<a href="../../../../../../../org/apache/ignite/ml/knn/ann/ANNClassificationTrainer.CentroidStat.html" title="class in org.apache.ignite.ml.knn.ann">ANNClassificationTrainer.CentroidStat</a>&nbsp;candidatesStat)</code>
<div class="block">Creates an instance.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.ignite.ml.knn.classification">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a> in <a href="../../../../../../../org/apache/ignite/ml/knn/classification/package-summary.html">org.apache.ignite.ml.knn.classification</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/ignite/ml/knn/classification/package-summary.html">org.apache.ignite.ml.knn.classification</a> declared as <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</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/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a></code></td>
<td class="colLast"><span class="typeNameLabel">KNNModelFormat.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/knn/classification/KNNModelFormat.html#stgy">stgy</a></span></code>
<div class="block">kNN strategy.</div>
</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/ignite/ml/knn/classification/package-summary.html">org.apache.ignite.ml.knn.classification</a> that return <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</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/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a></code></td>
<td class="colLast"><span class="typeNameLabel">KNNModelFormat.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/knn/classification/KNNModelFormat.html#getStgy--">getStgy</a></span>()</code>
<div class="block">Gets kNN strategy.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a></code></td>
<td class="colLast"><span class="typeNameLabel">NNStrategy.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">NNStrategy.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</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/ignite/ml/knn/classification/package-summary.html">org.apache.ignite.ml.knn.classification</a> with parameters of type <a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</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/ignite/ml/knn/classification/KNNModelFormat.html#KNNModelFormat-int-org.apache.ignite.ml.math.distances.DistanceMeasure-org.apache.ignite.ml.knn.classification.NNStrategy-">KNNModelFormat</a></span>(int&nbsp;k,
<a href="../../../../../../../org/apache/ignite/ml/math/distances/DistanceMeasure.html" title="interface in org.apache.ignite.ml.math.distances">DistanceMeasure</a>&nbsp;measure,
<a href="../../../../../../../org/apache/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">NNStrategy</a>&nbsp;stgy)</code>
<div class="block">Creates an instance.</div>
</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/ignite/ml/knn/classification/NNStrategy.html" title="enum in org.apache.ignite.ml.knn.classification">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/ignite/ml/knn/classification/class-use/NNStrategy.html" target="_top">Frames</a></li>
<li><a href="NNStrategy.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><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://ignite.apache.org"><nobr>2019 Copyright &#169; Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Ignite Database and Caching Platform</b> </td> <td>:&nbsp;&nbsp; ver. <strong>2.7.6</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>:&nbsp;&nbsp; September 11 2019 </td> </tr> </tbody> </table> </td> </tr> </table></small></p>
</body>
</html>