blob: 0df2ded193be3d37c4884d55b3f7d4be48b8eb3b [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_261) on Mon Dec 20 14:15:54 MSK 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Dataset (Ignite 2.11.1)</title>
<meta name="date" content="2021-12-20">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<link rel='shortcut icon' href='https://ignite.apache.org/favicon.ico'/>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Dataset (Ignite 2.11.1)";
}
}
catch(err) {
}
//-->
var methods = {"i0":18,"i1":18,"i2":6,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18,"i8":18,"i9":18,"i10":18,"i11":6,"i12":18};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default 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/Dataset.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../org/apache/ignite/ml/dataset/DatasetBuilder.html" title="interface in org.apache.ignite.ml.dataset"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/ignite/ml/dataset/Dataset.html" target="_top">Frames</a></li>
<li><a href="Dataset.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>Constr&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>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.ignite.ml.dataset</div>
<h2 title="Interface Dataset" class="title">Interface Dataset<span class='angle_bracket'>&lt;</span>C extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>,D extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a><span class='angle_bracket'>&gt;</span></h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>C</code> - Type of a partition <code>context</code>.</dd>
<dd><code>D</code> - Type of a partition <code>data</code>.</dd>
</dl>
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../../org/apache/ignite/ml/dataset/impl/cache/CacheBasedDataset.html" title="class in org.apache.ignite.ml.dataset.impl.cache">CacheBasedDataset</a>, <a href="../../../../../org/apache/ignite/ml/dataset/primitive/DatasetWrapper.html" title="class in org.apache.ignite.ml.dataset.primitive">DatasetWrapper</a>, <a href="../../../../../org/apache/ignite/ml/dataset/impl/local/LocalDataset.html" title="class in org.apache.ignite.ml.dataset.impl.local">LocalDataset</a>, <a href="../../../../../org/apache/ignite/ml/dataset/primitive/SimpleDataset.html" title="class in org.apache.ignite.ml.dataset.primitive">SimpleDataset</a>, <a href="../../../../../org/apache/ignite/ml/dataset/primitive/SimpleLabeledDataset.html" title="class in org.apache.ignite.ml.dataset.primitive">SimpleLabeledDataset</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">Dataset<span class='angle_bracket'>&lt;</span>C extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>,D extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a><span class='angle_bracket'>&gt;</span></span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></pre>
<div class="block">A dataset providing an API that allows to perform generic computations on a distributed data represented as a set of
partitions distributed across a cluster or placed locally. Every partition contains a <code>context</code> (reliably
stored segment) and <code>data</code> (unreliably stored segment, which can be recovered from an upstream data and a
<code>context</code> if needed). Computations are performed in a <code>MapReduce</code> manner, what allows to reduce a
network traffic for most of the machine learning algorithms.
<p>Dataset functionality allows to implement iterative machine learning algorithms via introducing computation
context. In case iterative algorithm requires to maintain a state available and updatable on every iteration this
state can be stored in the <code>context</code> of the partition and after that it will be available in further
computations even if the Ignite Cache partition will be moved to another node because of node failure or rebalancing.
<p>Partition <code>context</code> should be <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> to be saved in Ignite Cache. Partition <code>data</code>
should be <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang"><code>AutoCloseable</code></a> to allow system to clean up correspondent resources when partition <code>data</code> is
not needed anymore.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/ignite/ml/dataset/impl/cache/CacheBasedDataset.html" title="class in org.apache.ignite.ml.dataset.impl.cache"><code>CacheBasedDataset</code></a>,
<a href="../../../../../org/apache/ignite/ml/dataset/impl/local/LocalDataset.html" title="class in org.apache.ignite.ml.dataset.impl.local"><code>LocalDataset</code></a>,
<a href="../../../../../org/apache/ignite/ml/dataset/DatasetFactory.html" title="class in org.apache.ignite.ml.dataset"><code>DatasetFactory</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default 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>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#compute-org.apache.ignite.ml.math.functions.IgniteBiConsumer-">compute</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiConsumer.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiConsumer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a><span class='angle_bracket'>&gt;</span>&nbsp;map)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> in the dataset and
<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>default <span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#compute-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-">compute</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>
in the dataset and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#compute-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-R-">compute</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce,
R&nbsp;identity)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>
in the dataset and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#compute-org.apache.ignite.ml.math.functions.IgniteConsumer-">compute</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteConsumer.html" title="interface in org.apache.ignite.ml.math.functions">IgniteConsumer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a><span class='angle_bracket'>&gt;</span>&nbsp;map)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> in the dataset.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>default <span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#compute-org.apache.ignite.ml.math.functions.IgniteFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-">compute</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> in the dataset and then reduces
<code>map</code> results to final result by using the <code>reduce</code> function.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>default <span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#compute-org.apache.ignite.ml.math.functions.IgniteFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-R-">compute</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce,
R&nbsp;identity)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> in the dataset and then reduces
<code>map</code> results to final result by using the <code>reduce</code> function.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#computeWithCtx-org.apache.ignite.ml.math.functions.IgniteBiConsumer-">computeWithCtx</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiConsumer.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiConsumer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a><span class='angle_bracket'>&gt;</span>&nbsp;map)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <code>context</code> in the dataset.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>default <span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#computeWithCtx-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-">computeWithCtx</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <code>context</code> in the dataset
and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>default <span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#computeWithCtx-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-R-">computeWithCtx</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce,
R&nbsp;identity)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <code>context</code> in the dataset
and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#computeWithCtx-org.apache.ignite.ml.math.functions.IgniteTriConsumer-">computeWithCtx</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteTriConsumer.html" title="interface in org.apache.ignite.ml.math.functions">IgniteTriConsumer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a><span class='angle_bracket'>&gt;</span>&nbsp;map)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code>, <code>context</code> and
<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a> in the dataset.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>default <span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#computeWithCtx-org.apache.ignite.ml.math.functions.IgniteTriFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-">computeWithCtx</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteTriFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteTriFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code>, <code>context</code> and
<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a> in the dataset and then reduces <code>map</code> results to final
result by using the <code>reduce</code> function.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#computeWithCtx-org.apache.ignite.ml.math.functions.IgniteTriFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-R-">computeWithCtx</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteTriFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteTriFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce,
R&nbsp;identity)</code>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code>, <code>context</code> and partition
index in the dataset and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>default <span class='angle_bracket'>&lt;</span>I extends <a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="interface in org.apache.ignite.ml.dataset">Dataset</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span><br>I</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html#wrap-org.apache.ignite.ml.math.functions.IgniteFunction-">wrap</a></span>(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="interface in org.apache.ignite.ml.dataset">Dataset</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a><span class='angle_bracket'>&gt;</span>,I<span class='angle_bracket'>&gt;</span>&nbsp;wrapper)</code>
<div class="block">Wraps this dataset into the specified wrapper to introduce new functionality based on <code>compute</code> and
<code>computeWithCtx</code> methods.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.AutoCloseable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="computeWithCtx-org.apache.ignite.ml.math.functions.IgniteTriFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-java.lang.Object-">
<!-- -->
</a><a name="computeWithCtx-org.apache.ignite.ml.math.functions.IgniteTriFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-R-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeWithCtx</h4>
<pre><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R&nbsp;computeWithCtx(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteTriFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteTriFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce,
R&nbsp;identity)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code>, <code>context</code> and partition
index in the dataset and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type of a result.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code>, <code>context</code> and <a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>.</dd>
<dd><code>reduce</code> - Function applied to results of <code>map</code> to get final result.</dd>
<dd><code>identity</code> - Identity.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Final result.</dd>
</dl>
</li>
</ul>
<a name="compute-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-java.lang.Object-">
<!-- -->
</a><a name="compute-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-R-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compute</h4>
<pre><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R&nbsp;compute(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce,
R&nbsp;identity)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>
in the dataset and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type of a result.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code> and <a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>.</dd>
<dd><code>reduce</code> - Function applied to results of <code>map</code> to get final result.</dd>
<dd><code>identity</code> - Identity.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Final result.</dd>
</dl>
</li>
</ul>
<a name="computeWithCtx-org.apache.ignite.ml.math.functions.IgniteTriFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeWithCtx</h4>
<pre>default&nbsp;<span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R&nbsp;computeWithCtx(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteTriFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteTriFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code>, <code>context</code> and
<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a> in the dataset and then reduces <code>map</code> results to final
result by using the <code>reduce</code> function.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type of a result.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code>, <code>context</code> and <a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>.</dd>
<dd><code>reduce</code> - Function applied to results of <code>map</code> to get final result.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Final result.</dd>
</dl>
</li>
</ul>
<a name="compute-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compute</h4>
<pre>default&nbsp;<span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R&nbsp;compute(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>
in the dataset and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type of a result.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code> and <a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>.</dd>
<dd><code>reduce</code> - Function applied to results of <code>map</code> to get final result.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Final result.</dd>
</dl>
</li>
</ul>
<a name="computeWithCtx-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-java.lang.Object-">
<!-- -->
</a><a name="computeWithCtx-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-R-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeWithCtx</h4>
<pre>default&nbsp;<span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R&nbsp;computeWithCtx(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce,
R&nbsp;identity)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <code>context</code> in the dataset
and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type of a result.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code> and <code>context</code>.</dd>
<dd><code>reduce</code> - Function applied to results of <code>map</code> to get final result.</dd>
<dd><code>identity</code> - Identity.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Final result.</dd>
</dl>
</li>
</ul>
<a name="compute-org.apache.ignite.ml.math.functions.IgniteFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-java.lang.Object-">
<!-- -->
</a><a name="compute-org.apache.ignite.ml.math.functions.IgniteFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-R-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compute</h4>
<pre>default&nbsp;<span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R&nbsp;compute(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce,
R&nbsp;identity)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> in the dataset and then reduces
<code>map</code> results to final result by using the <code>reduce</code> function.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type of a result.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code>.</dd>
<dd><code>reduce</code> - Function applied to results of <code>map</code> to get final result.</dd>
<dd><code>identity</code> - Identity.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Final result.</dd>
</dl>
</li>
</ul>
<a name="computeWithCtx-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeWithCtx</h4>
<pre>default&nbsp;<span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R&nbsp;computeWithCtx(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <code>context</code> in the dataset
and then reduces <code>map</code> results to final result by using the <code>reduce</code> function.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type of a result.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code> and <code>context</code>.</dd>
<dd><code>reduce</code> - Function applied to results of <code>map</code> to get final result.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Final result.</dd>
</dl>
</li>
</ul>
<a name="compute-org.apache.ignite.ml.math.functions.IgniteFunction-org.apache.ignite.ml.math.functions.IgniteBinaryOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compute</h4>
<pre>default&nbsp;<span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;R&nbsp;compute(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,R<span class='angle_bracket'>&gt;</span>&nbsp;map,
<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBinaryOperator.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBinaryOperator</a><span class='angle_bracket'>&lt;</span>R<span class='angle_bracket'>&gt;</span>&nbsp;reduce)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> in the dataset and then reduces
<code>map</code> results to final result by using the <code>reduce</code> function.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type of a result.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code>.</dd>
<dd><code>reduce</code> - Function applied to results of <code>map</code> to get final result.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Final result.</dd>
</dl>
</li>
</ul>
<a name="computeWithCtx-org.apache.ignite.ml.math.functions.IgniteTriConsumer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeWithCtx</h4>
<pre>default&nbsp;void&nbsp;computeWithCtx(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteTriConsumer.html" title="interface in org.apache.ignite.ml.math.functions">IgniteTriConsumer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a><span class='angle_bracket'>&gt;</span>&nbsp;map)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code>, <code>context</code> and
<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a> in the dataset.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code>, <code>context</code> and partition index.</dd>
</dl>
</li>
</ul>
<a name="compute-org.apache.ignite.ml.math.functions.IgniteBiConsumer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compute</h4>
<pre>default&nbsp;void&nbsp;compute(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiConsumer.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiConsumer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a>,<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironment</a><span class='angle_bracket'>&gt;</span>&nbsp;map)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> in the dataset and
<a href="../../../../../org/apache/ignite/ml/environment/LearningEnvironment.html" title="interface in org.apache.ignite.ml.environment"><code>LearningEnvironment</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code> and partition index.</dd>
</dl>
</li>
</ul>
<a name="computeWithCtx-org.apache.ignite.ml.math.functions.IgniteBiConsumer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeWithCtx</h4>
<pre>default&nbsp;void&nbsp;computeWithCtx(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteBiConsumer.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiConsumer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a><span class='angle_bracket'>&gt;</span>&nbsp;map)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> and <code>context</code> in the dataset.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code> and <code>context</code>.</dd>
</dl>
</li>
</ul>
<a name="compute-org.apache.ignite.ml.math.functions.IgniteConsumer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compute</h4>
<pre>default&nbsp;void&nbsp;compute(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteConsumer.html" title="interface in org.apache.ignite.ml.math.functions">IgniteConsumer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a><span class='angle_bracket'>&gt;</span>&nbsp;map)</pre>
<div class="block">Applies the specified <code>map</code> function to every partition <code>data</code> in the dataset.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Function applied to every partition <code>data</code>.</dd>
</dl>
</li>
</ul>
<a name="wrap-org.apache.ignite.ml.math.functions.IgniteFunction-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>wrap</h4>
<pre>default&nbsp;<span class='angle_bracket'>&lt;</span>I extends <a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="interface in org.apache.ignite.ml.dataset">Dataset</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span>&nbsp;I&nbsp;wrap(<a href="../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="interface in org.apache.ignite.ml.dataset">Dataset</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">C</a>,<a href="../../../../../org/apache/ignite/ml/dataset/Dataset.html" title="type parameter in Dataset">D</a><span class='angle_bracket'>&gt;</span>,I<span class='angle_bracket'>&gt;</span>&nbsp;wrapper)</pre>
<div class="block">Wraps this dataset into the specified wrapper to introduce new functionality based on <code>compute</code> and
<code>computeWithCtx</code> methods.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>I</code> - Type of a new wrapped dataset.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>wrapper</code> - Dataset wrapper.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New wrapped dataset.</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/Dataset.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../org/apache/ignite/ml/dataset/DatasetBuilder.html" title="interface in org.apache.ignite.ml.dataset"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/ignite/ml/dataset/Dataset.html" target="_top">Frames</a></li>
<li><a href="Dataset.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>Constr&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>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><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>2021 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.11.1</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>:&nbsp;&nbsp; December 20 2021 </td> </tr> </tbody> </table> </td> </tr> </table></small></p>
</body>
</html>