blob: 195891d4b5133570abc2045bb01f1bd8cba449e6 [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.4.0/javadoc/org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<!-- Generated by javadoc (1.8.0_77) on Mon Mar 05 10:43:20 UTC 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LocalBatchTrainer (Ignite 2.4.0)</title>
<meta name="date" content="2018-03-05">
<link rel="stylesheet" type="text/css" href="../../../../../../javadoc.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="LocalBatchTrainer (Ignite 2.4.0)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var tabs = {65535:["t0","All 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/LocalBatchTrainer.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 class="aboutLanguage">Ignite - In-Memory Data Fabric</div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainerInput.html" title="interface in org.apache.ignite.ml.trainers.local"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" target="_top">Frames</a></li>
<li><a href="LocalBatchTrainer.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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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.ignite.ml.trainers.local</div>
<h2 title="Class LocalBatchTrainer" class="title">Class LocalBatchTrainer&lt;M extends <a href="../../../../../../org/apache/ignite/ml/Model.html" title="interface in org.apache.ignite.ml">Model</a>&lt;<a href="../../../../../../org/apache/ignite/ml/math/Matrix.html" title="interface in org.apache.ignite.ml.math">Matrix</a>,<a href="../../../../../../org/apache/ignite/ml/math/Matrix.html" title="interface in org.apache.ignite.ml.math">Matrix</a>&gt;,P&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/8/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.ignite.ml.trainers.local.LocalBatchTrainer&lt;M,P&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../../org/apache/ignite/ml/Trainer.html" title="interface in org.apache.ignite.ml">Trainer</a>&lt;M,<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainerInput.html" title="interface in org.apache.ignite.ml.trainers.local">LocalBatchTrainerInput</a>&lt;M&gt;&gt;</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../org/apache/ignite/ml/nn/trainers/local/MLPLocalBatchTrainer.html" title="class in org.apache.ignite.ml.nn.trainers.local">MLPLocalBatchTrainer</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">LocalBatchTrainer&lt;M extends <a href="../../../../../../org/apache/ignite/ml/Model.html" title="interface in org.apache.ignite.ml">Model</a>&lt;<a href="../../../../../../org/apache/ignite/ml/math/Matrix.html" title="interface in org.apache.ignite.ml.math">Matrix</a>,<a href="../../../../../../org/apache/ignite/ml/math/Matrix.html" title="interface in org.apache.ignite.ml.math">Matrix</a>&gt;,P&gt;</span>
extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../../org/apache/ignite/ml/Trainer.html" title="interface in org.apache.ignite.ml">Trainer</a>&lt;M,<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainerInput.html" title="interface in org.apache.ignite.ml.trainers.local">LocalBatchTrainerInput</a>&lt;M&gt;&gt;</pre>
<div class="block">Batch trainer. This trainer is not distributed on the cluster, but input can theoretically read data from
Ignite cache.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html#LocalBatchTrainer-org.apache.ignite.ml.math.functions.IgniteFunction-org.apache.ignite.ml.math.functions.IgniteSupplier-double-int-">LocalBatchTrainer</a></span>(<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a>&lt;<a href="../../../../../../org/apache/ignite/ml/math/Vector.html" title="interface in org.apache.ignite.ml.math">Vector</a>,<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteDifferentiableVectorToDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteDifferentiableVectorToDoubleFunction</a>&gt;&nbsp;loss,
<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteSupplier.html" title="interface in org.apache.ignite.ml.math.functions">IgniteSupplier</a>&lt;<a href="../../../../../../org/apache/ignite/ml/optimization/updatecalculators/ParameterUpdateCalculator.html" title="interface in org.apache.ignite.ml.optimization.updatecalculators">ParameterUpdateCalculator</a>&lt;? super <a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a>,<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">P</a>&gt;&gt;&nbsp;updaterSupplier,
double&nbsp;errorThreshold,
int&nbsp;maxIterations)</code>
<div class="block">Construct a trainer.</div>
</td>
</tr>
</table>
</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="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><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html#setLogger-org.apache.ignite.IgniteLogger-">setLogger</a></span>(<a href="../../../../../../org/apache/ignite/IgniteLogger.html" title="interface in org.apache.ignite">IgniteLogger</a>&nbsp;log)</code>
<div class="block">Set logger.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html#train-org.apache.ignite.ml.trainers.local.LocalBatchTrainerInput-">train</a></span>(<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainerInput.html" title="interface in org.apache.ignite.ml.trainers.local">LocalBatchTrainerInput</a>&lt;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a>&gt;&nbsp;data)</code>
<div class="block">Returns model based on data</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html#withErrorThreshold-double-">withErrorThreshold</a></span>(double&nbsp;errorThreshold)</code>
<div class="block">Construct new trainer with the same parameters as this trainer, but with new error threshold.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html#withLoss-org.apache.ignite.ml.math.functions.IgniteFunction-">withLoss</a></span>(<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a>&lt;<a href="../../../../../../org/apache/ignite/ml/math/Vector.html" title="interface in org.apache.ignite.ml.math">Vector</a>,<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteDifferentiableVectorToDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteDifferentiableVectorToDoubleFunction</a>&gt;&nbsp;loss)</code>
<div class="block">Construct new trainer with the same parameters as this trainer, but with new loss.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html#withMaxIterations-int-">withMaxIterations</a></span>(int&nbsp;maxIterations)</code>
<div class="block">Construct new trainer with the same parameters as this trainer, but with new maximal iterations count.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html#withUpdater-org.apache.ignite.ml.math.functions.IgniteSupplier-">withUpdater</a></span>(<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteSupplier.html" title="interface in org.apache.ignite.ml.math.functions">IgniteSupplier</a>&lt;<a href="../../../../../../org/apache/ignite/ml/optimization/updatecalculators/ParameterUpdateCalculator.html" title="interface in org.apache.ignite.ml.optimization.updatecalculators">ParameterUpdateCalculator</a>&lt;? super <a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a>,<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">P</a>&gt;&gt;&nbsp;updaterSupplier)</code>
<div class="block">Construct new trainer with the same parameters as this trainer, but with new updater supplier.</div>
</td>
</tr>
</table>
<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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="LocalBatchTrainer-org.apache.ignite.ml.math.functions.IgniteFunction-org.apache.ignite.ml.math.functions.IgniteSupplier-double-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LocalBatchTrainer</h4>
<pre>public&nbsp;LocalBatchTrainer(<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a>&lt;<a href="../../../../../../org/apache/ignite/ml/math/Vector.html" title="interface in org.apache.ignite.ml.math">Vector</a>,<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteDifferentiableVectorToDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteDifferentiableVectorToDoubleFunction</a>&gt;&nbsp;loss,
<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteSupplier.html" title="interface in org.apache.ignite.ml.math.functions">IgniteSupplier</a>&lt;<a href="../../../../../../org/apache/ignite/ml/optimization/updatecalculators/ParameterUpdateCalculator.html" title="interface in org.apache.ignite.ml.optimization.updatecalculators">ParameterUpdateCalculator</a>&lt;? super <a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a>,<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">P</a>&gt;&gt;&nbsp;updaterSupplier,
double&nbsp;errorThreshold,
int&nbsp;maxIterations)</pre>
<div class="block">Construct a trainer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>loss</code> - Loss function.</dd>
<dd><code>updaterSupplier</code> - Supplier of updater function.</dd>
<dd><code>errorThreshold</code> - Error threshold.</dd>
<dd><code>maxIterations</code> - Maximal iterations count.</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="train-org.apache.ignite.ml.trainers.local.LocalBatchTrainerInput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>train</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a>&nbsp;train(<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainerInput.html" title="interface in org.apache.ignite.ml.trainers.local">LocalBatchTrainerInput</a>&lt;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a>&gt;&nbsp;data)</pre>
<div class="block">Returns model based on data</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/ignite/ml/Trainer.html#train-T-">train</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/ignite/ml/Trainer.html" title="interface in org.apache.ignite.ml">Trainer</a>&lt;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a> extends <a href="../../../../../../org/apache/ignite/ml/Model.html" title="interface in org.apache.ignite.ml">Model</a>&lt;<a href="../../../../../../org/apache/ignite/ml/math/Matrix.html" title="interface in org.apache.ignite.ml.math">Matrix</a>,<a href="../../../../../../org/apache/ignite/ml/math/Matrix.html" title="interface in org.apache.ignite.ml.math">Matrix</a>&gt;,<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainerInput.html" title="interface in org.apache.ignite.ml.trainers.local">LocalBatchTrainerInput</a>&lt;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a> extends <a href="../../../../../../org/apache/ignite/ml/Model.html" title="interface in org.apache.ignite.ml">Model</a>&lt;<a href="../../../../../../org/apache/ignite/ml/math/Matrix.html" title="interface in org.apache.ignite.ml.math">Matrix</a>,<a href="../../../../../../org/apache/ignite/ml/math/Matrix.html" title="interface in org.apache.ignite.ml.math">Matrix</a>&gt;&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>data</code> - data to build model</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>model</dd>
</dl>
</li>
</ul>
<a name="withLoss-org.apache.ignite.ml.math.functions.IgniteFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withLoss</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a>&nbsp;withLoss(<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a>&lt;<a href="../../../../../../org/apache/ignite/ml/math/Vector.html" title="interface in org.apache.ignite.ml.math">Vector</a>,<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteDifferentiableVectorToDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteDifferentiableVectorToDoubleFunction</a>&gt;&nbsp;loss)</pre>
<div class="block">Construct new trainer with the same parameters as this trainer, but with new loss.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>loss</code> - New loss function.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new trainer with the same parameters as this trainer, but with new loss.</dd>
</dl>
</li>
</ul>
<a name="withUpdater-org.apache.ignite.ml.math.functions.IgniteSupplier-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withUpdater</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a>&nbsp;withUpdater(<a href="../../../../../../org/apache/ignite/ml/math/functions/IgniteSupplier.html" title="interface in org.apache.ignite.ml.math.functions">IgniteSupplier</a>&lt;<a href="../../../../../../org/apache/ignite/ml/optimization/updatecalculators/ParameterUpdateCalculator.html" title="interface in org.apache.ignite.ml.optimization.updatecalculators">ParameterUpdateCalculator</a>&lt;? super <a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">M</a>,<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="type parameter in LocalBatchTrainer">P</a>&gt;&gt;&nbsp;updaterSupplier)</pre>
<div class="block">Construct new trainer with the same parameters as this trainer, but with new updater supplier.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>updaterSupplier</code> - New updater supplier.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new trainer with the same parameters as this trainer, but with new updater supplier.</dd>
</dl>
</li>
</ul>
<a name="withErrorThreshold-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withErrorThreshold</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a>&nbsp;withErrorThreshold(double&nbsp;errorThreshold)</pre>
<div class="block">Construct new trainer with the same parameters as this trainer, but with new error threshold.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>errorThreshold</code> - New error threshold.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new trainer with the same parameters as this trainer, but with new error threshold.</dd>
</dl>
</li>
</ul>
<a name="withMaxIterations-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMaxIterations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a>&nbsp;withMaxIterations(int&nbsp;maxIterations)</pre>
<div class="block">Construct new trainer with the same parameters as this trainer, but with new maximal iterations count.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxIterations</code> - New maximal iterations count.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new trainer with the same parameters as this trainer, but with new maximal iterations count.</dd>
</dl>
</li>
</ul>
<a name="setLogger-org.apache.ignite.IgniteLogger-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setLogger</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" title="class in org.apache.ignite.ml.trainers.local">LocalBatchTrainer</a>&nbsp;setLogger(<a href="../../../../../../org/apache/ignite/IgniteLogger.html" title="interface in org.apache.ignite">IgniteLogger</a>&nbsp;log)</pre>
<div class="block">Set logger.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>log</code> - Logger.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This object.</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/LocalBatchTrainer.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 class="aboutLanguage">Ignite - In-Memory Data Fabric</div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../../org/apache/ignite/ml/trainers/local/LocalBatchTrainerInput.html" title="interface in org.apache.ignite.ml.trainers.local"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/ignite/ml/trainers/local/LocalBatchTrainer.html" target="_top">Frames</a></li>
<li><a href="LocalBatchTrainer.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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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><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>2018 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 Fabric</b> </td> <td>:&nbsp;&nbsp; ver. <strong>2.4.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>:&nbsp;&nbsp; March 5 2018 </td> </tr> </tbody> </table> </td> </tr> </table></small></p>
</body>
</html>