http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/0927bfda/api/current/org/apache/predictionio/controller/Engine$.html
----------------------------------------------------------------------
diff --git a/api/current/org/apache/predictionio/controller/Engine$.html
b/api/current/org/apache/predictionio/controller/Engine$.html
new file mode 100644
index 0000000..4e8260c
--- /dev/null
+++ b/api/current/org/apache/predictionio/controller/Engine$.html
@@ -0,0 +1,675 @@
+<!DOCTYPE html >
+<html>
+ <head>
+ <title>Engine - PredictionIO Scala API 0.12.0-incubating -
org.apache.predictionio.controller.Engine</title>
+ <meta name="description" content="Engine - PredictionIO Scala API
0.12.0 - incubating - org.apache.predictionio.controller.Engine" />
+ <meta name="keywords" content="Engine PredictionIO Scala API 0.12.0
incubating org.apache.predictionio.controller.Engine" />
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+
+ <link href="../../../../lib/template.css" media="screen" type="text/css"
rel="stylesheet" />
+ <link href="../../../../lib/diagrams.css" media="screen" type="text/css"
rel="stylesheet" id="diagrams-css" />
+ <script type="text/javascript" src="../../../../lib/jquery.js"
id="jquery-js"></script>
+ <script type="text/javascript"
src="../../../../lib/jquery-ui.js"></script>
+ <script type="text/javascript"
src="../../../../lib/template.js"></script>
+ <script type="text/javascript"
src="../../../../lib/tools.tooltip.js"></script>
+
+ <script type="text/javascript">
+ if(top === self) {
+ var url = '../../../../index.html';
+ var hash = 'org.apache.predictionio.controller.Engine$';
+ var anchor = window.location.hash;
+ var anchor_opt = '';
+ if (anchor.length >= 1)
+ anchor_opt = '@' + anchor.substring(1);
+ window.location.href = url + '#' + hash + anchor_opt;
+ }
+ </script>
+
+ </head>
+ <body class="value">
+ <div id="definition">
+ <a href="Engine.html" title="See companion class"><img
alt="Object/Class" src="../../../../lib/object_to_class_big.png" /></a>
+ <p id="owner"><a href="../../../package.html" class="extype"
name="org">org</a>.<a href="../../package.html" class="extype"
name="org.apache">apache</a>.<a href="../package.html" class="extype"
name="org.apache.predictionio">predictionio</a>.<a href="package.html"
class="extype" name="org.apache.predictionio.controller">controller</a></p>
+ <h1><a href="Engine.html" title="See companion
class">Engine</a></h1><h3><span class="morelinks"><div>
+ Related Docs:
+ <a href="Engine.html" title="See companion class">class Engine</a>
+ | <a href="package.html" class="extype"
name="org.apache.predictionio.controller">package controller</a>
+ </div></span></h3><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ </div>
+
+ <h4 id="signature" class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">object</span>
+ </span>
+ <span class="symbol">
+ <span class="name">Engine</span><span class="result"> extends <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Serializable"
class="extype" target="_top">Serializable</a></span>
+ </span>
+ </h4>
+
+ <div id="comment" class="fullcommenttop"><div class="comment
cmt"><p>This object contains concrete implementation for some methods of the
+<a href="Engine.html" class="extype"
name="org.apache.predictionio.controller.Engine">Engine</a> class.
+</p></div><div class="toggleContainer block">
+ <span class="toggle">Linear Supertypes</span>
+ <div class="superTypes hiddenContent"><a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Serializable"
class="extype" target="_top">Serializable</a>, <span class="extype"
name="java.io.Serializable">Serializable</span>, <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.AnyRef"
class="extype" target="_top">AnyRef</a>, <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Any" class="extype"
target="_top">Any</a></div>
+ </div></div>
+
+
+ <div id="mbrsel">
+ <div id="textfilter"><span class="pre"></span><span
class="input"><input id="mbrsel-input" type="text" accesskey="/" /></span><span
class="post"></span></div>
+ <div id="order">
+ <span class="filtertype">Ordering</span>
+ <ol>
+
+ <li class="alpha in"><span>Alphabetic</span></li>
+ <li class="inherit out"><span>By Inheritance</span></li>
+ </ol>
+ </div>
+ <div id="ancestors">
+ <span class="filtertype">Inherited<br />
+ </span>
+ <ol id="linearization">
+ <li class="in"
name="org.apache.predictionio.controller.Engine"><span>Engine</span></li><li
class="in" name="scala.Serializable"><span>Serializable</span></li><li
class="in" name="java.io.Serializable"><span>Serializable</span></li><li
class="in" name="scala.AnyRef"><span>AnyRef</span></li><li class="in"
name="scala.Any"><span>Any</span></li>
+ </ol>
+ </div><div id="ancestors">
+ <span class="filtertype"></span>
+ <ol>
+ <li class="hideall out"><span>Hide All</span></li>
+ <li class="showall in"><span>Show All</span></li>
+ </ol>
+ </div>
+ <div id="visbl">
+ <span class="filtertype">Visibility</span>
+ <ol><li class="public in"><span>Public</span></li><li class="all
out"><span>All</span></li></ol>
+ </div>
+ </div>
+
+ <div id="template">
+ <div id="allMembers">
+
+
+ <div id="types" class="types members">
+ <h3>Type Members</h3>
+ <ol><li
name="org.apache.predictionio.controller.Engine.DataSourceMap" visbl="pub"
data-isabs="false" fullComment="yes" group="Ungrouped">
+ <a id="DataSourceMap[TD,EI,Q,A]extendsAnyRef"></a>
+ <a id="DataSourceMap[TD,EI,Q,A]:DataSourceMap[TD,EI,Q,A]"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">class</span>
+ </span>
+ <span class="symbol">
+ <a href="Engine$$DataSourceMap.html"><span
class="name">DataSourceMap</span></a><span class="tparams">[<span
name="TD">TD</span>, <span name="EI">EI</span>, <span name="Q">Q</span>, <span
name="A">A</span>]</span><span class="result"> extends <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.AnyRef"
class="extype" target="_top">AnyRef</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@DataSourceMap[TD,EI,Q,A]extendsAnyRef"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <p class="shortcomment cmt">Helper class to accept either a single data
source, or a map of data
+sources, with a companion object providing implicit conversions, so
+using this class directly is not necessary.</p><div class="fullcomment"><div
class="comment cmt"><p>Helper class to accept either a single data source, or a
map of data
+sources, with a companion object providing implicit conversions, so
+using this class directly is not necessary.
+</p></div><dl class="paramcmts block"><dt class="tparam">TD</dt><dd
class="cmt"><p>Training data class</p></dd><dt class="tparam">EI</dt><dd
class="cmt"><p>Evaluation information class</p></dd><dt
class="tparam">Q</dt><dd class="cmt"><p>Input query class</p></dd><dt
class="tparam">A</dt><dd class="cmt"><p>Actual result class</p></dd></dl></div>
+ </li><li name="org.apache.predictionio.controller.Engine.PreparatorMap"
visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+ <a id="PreparatorMap[TD,PD]extendsAnyRef"></a>
+ <a id="PreparatorMap[TD,PD]:PreparatorMap[TD,PD]"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">class</span>
+ </span>
+ <span class="symbol">
+ <a href="Engine$$PreparatorMap.html"><span
class="name">PreparatorMap</span></a><span class="tparams">[<span
name="TD">TD</span>, <span name="PD">PD</span>]</span><span class="result">
extends <a href="http://www.scala-lang.org/api/2.11.8/index.html#scala.AnyRef"
class="extype" target="_top">AnyRef</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@PreparatorMap[TD,PD]extendsAnyRef"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <p class="shortcomment cmt">Helper class to accept either a single
preparator, or a map of
+preparators, with a companion object providing implicit conversions, so
+using this class directly is not necessary.</p><div class="fullcomment"><div
class="comment cmt"><p>Helper class to accept either a single preparator, or a
map of
+preparators, with a companion object providing implicit conversions, so
+using this class directly is not necessary.
+</p></div><dl class="paramcmts block"><dt class="tparam">TD</dt><dd
class="cmt"><p>Training data class</p></dd><dt class="tparam">PD</dt><dd
class="cmt"><p>Prepared data class</p></dd></dl></div>
+ </li><li name="org.apache.predictionio.controller.Engine.ServingMap"
visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+ <a id="ServingMap[Q,P]extendsAnyRef"></a>
+ <a id="ServingMap[Q,P]:ServingMap[Q,P]"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">class</span>
+ </span>
+ <span class="symbol">
+ <a href="Engine$$ServingMap.html"><span
class="name">ServingMap</span></a><span class="tparams">[<span
name="Q">Q</span>, <span name="P">P</span>]</span><span class="result"> extends
<a href="http://www.scala-lang.org/api/2.11.8/index.html#scala.AnyRef"
class="extype" target="_top">AnyRef</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@ServingMap[Q,P]extendsAnyRef"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <p class="shortcomment cmt">Helper class to accept either a single
serving, or a map of serving, with
+a companion object providing implicit conversions, so using this class
+directly is not necessary.</p><div class="fullcomment"><div class="comment
cmt"><p>Helper class to accept either a single serving, or a map of serving,
with
+a companion object providing implicit conversions, so using this class
+directly is not necessary.
+</p></div><dl class="paramcmts block"><dt class="tparam">Q</dt><dd
class="cmt"><p>Input query class</p></dd><dt class="tparam">P</dt><dd
class="cmt"><p>Predicted result class</p></dd></dl></div>
+ </li></ol>
+ </div>
+
+
+
+ <div id="values" class="values members">
+ <h3>Value Members</h3>
+ <ol><li name="scala.AnyRef#!=" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="!=(x$1:Any):Boolean"></a>
+ <a id="!=(Any):Boolean"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span title="gt4s: $bang$eq" class="name">!=</span><span
class="params">(<span name="arg0">arg0: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Any" class="extype"
target="_top">Any</a></span>)</span><span class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Boolean"
class="extype" target="_top">Boolean</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@!=(x$1:Any):Boolean"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef â Any</dd></dl></div>
+ </li><li name="scala.AnyRef###" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="##():Int"></a>
+ <a id="##():Int"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span title="gt4s: $hash$hash" class="name">##</span><span
class="params">()</span><span class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Int" class="extype"
target="_top">Int</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@##():Int"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef â Any</dd></dl></div>
+ </li><li name="scala.AnyRef#==" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="==(x$1:Any):Boolean"></a>
+ <a id="==(Any):Boolean"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span title="gt4s: $eq$eq" class="name">==</span><span
class="params">(<span name="arg0">arg0: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Any" class="extype"
target="_top">Any</a></span>)</span><span class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Boolean"
class="extype" target="_top">Boolean</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@==(x$1:Any):Boolean"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef â Any</dd></dl></div>
+ </li><li name="org.apache.predictionio.controller.Engine.DataSourceMap"
visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
+ <a id="DataSourceMap"></a>
+ <a id="DataSourceMap:DataSourceMap"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">object</span>
+ </span>
+ <span class="symbol">
+ <a href="Engine$$DataSourceMap$.html"><span
class="name">DataSourceMap</span></a>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@DataSourceMap"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <p class="shortcomment cmt">Companion object providing implicit
conversions, so using this directly
+is not necessary.</p>
+ </li><li name="org.apache.predictionio.controller.Engine.PreparatorMap"
visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
+ <a id="PreparatorMap"></a>
+ <a id="PreparatorMap:PreparatorMap"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">object</span>
+ </span>
+ <span class="symbol">
+ <a href="Engine$$PreparatorMap$.html"><span
class="name">PreparatorMap</span></a>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@PreparatorMap"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <p class="shortcomment cmt">Companion object providing implicit
conversions, so using this directly
+is not necessary.</p>
+ </li><li name="org.apache.predictionio.controller.Engine.ServingMap"
visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
+ <a id="ServingMap"></a>
+ <a id="ServingMap:ServingMap"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">object</span>
+ </span>
+ <span class="symbol">
+ <a href="Engine$$ServingMap$.html"><span
class="name">ServingMap</span></a>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@ServingMap"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <p class="shortcomment cmt">Companion object providing implicit
conversions, so using this directly
+is not necessary.</p>
+ </li><li name="org.apache.predictionio.controller.Engine#apply"
visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+ <a
id="apply[TD,EI,PD,Q,P,A](dataSourceMap:org.apache.predictionio.controller.Engine.DataSourceMap[TD,EI,Q,A],preparatorMap:org.apache.predictionio.controller.Engine.PreparatorMap[TD,PD],algorithmClassMap:Map[String,Class[_<:org.apache.predictionio.core.BaseAlgorithm[PD,_,Q,P]]],servingMap:org.apache.predictionio.controller.Engine.ServingMap[Q,P]):org.apache.predictionio.controller.Engine[TD,EI,PD,Q,P,A]"></a>
+ <a
id="apply[TD,EI,PD,Q,P,A](DataSourceMap[TD,EI,Q,A],PreparatorMap[TD,PD],Map[String,Class[_<:BaseAlgorithm[PD,_,Q,P]]],ServingMap[Q,P]):Engine[TD,EI,PD,Q,P,A]"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">apply</span><span class="tparams">[<span
name="TD">TD</span>, <span name="EI">EI</span>, <span name="PD">PD</span>,
<span name="Q">Q</span>, <span name="P">P</span>, <span
name="A">A</span>]</span><span class="params">(<span
name="dataSourceMap">dataSourceMap: <a href="Engine$$DataSourceMap.html"
class="extype"
name="org.apache.predictionio.controller.Engine.DataSourceMap">DataSourceMap</a>[<span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.TD">TD</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.EI">EI</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.Q">Q</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.A">A</span>]</span>,
<span name="preparatorMap">preparatorMap: <a href="Engine$$PreparatorMap.html"
class="extype"
name="org.apache.predictionio.controller.Engine.PreparatorMap">PreparatorMap</a>[<span
class="extype" name="org.apache
.predictionio.controller.Engine.apply.TD">TD</span>, <span class="extype"
name="org.apache.predictionio.controller.Engine.apply.PD">PD</span>]</span>,
<span name="algorithmClassMap">algorithmClassMap: <span class="extype"
name="scala.Predef.Map">Map</span>[<span class="extype"
name="scala.Predef.String">String</span>, <span class="extype"
name="scala.Predef.Class">Class</span>[_ <: <a
href="../core/BaseAlgorithm.html" class="extype"
name="org.apache.predictionio.core.BaseAlgorithm">BaseAlgorithm</a>[<span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.PD">PD</span>, _, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.Q">Q</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.P">P</span>]]]</span>,
<span name="servingMap">servingMap: <a href="Engine$$ServingMap.html"
class="extype"
name="org.apache.predictionio.controller.Engine.ServingMap">ServingMap</a>[<span
class="extype" name="org.apache.predictionio
.controller.Engine.apply.Q">Q</span>, <span class="extype"
name="org.apache.predictionio.controller.Engine.apply.P">P</span>]</span>)</span><span
class="result">: <a href="Engine.html" class="extype"
name="org.apache.predictionio.controller.Engine">Engine</a>[<span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.TD">TD</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.EI">EI</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.PD">PD</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.Q">Q</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.P">P</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.apply.A">A</span>]</span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@apply[TD,EI,PD,Q,P,A](dataSourceMap:org.apache.predictionio.controller.Engine.DataSourceMap[TD,EI,Q,A],preparatorMap:org.apache.predictionio.controller.Engine.PreparatorMap[TD,PD],algorithmClassMap:Map[String,Class[_<:org.apache.predictionio.core.BaseAlgorithm[PD,_,Q,P]]],servingMap:org.apache.predictionio.controller.Engine.ServingMap[Q,P]):org.apache.predictionio.controller.Engine[TD,EI,PD,Q,P,A]"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <p class="shortcomment cmt">Convenient method for returning an instance
of <a href="Engine.html" class="extype"
name="org.apache.predictionio.controller.Engine">Engine</a>.</p><div
class="fullcomment"><div class="comment cmt"><p>Convenient method for returning
an instance of <a href="Engine.html" class="extype"
name="org.apache.predictionio.controller.Engine">Engine</a>.
+</p></div><dl class="paramcmts block"><dt class="tparam">TD</dt><dd
class="cmt"><p>Training data class</p></dd><dt class="tparam">EI</dt><dd
class="cmt"><p>Evaluation information class</p></dd><dt
class="tparam">PD</dt><dd class="cmt"><p>Prepared data class</p></dd><dt
class="tparam">Q</dt><dd class="cmt"><p>Input query class</p></dd><dt
class="tparam">P</dt><dd class="cmt"><p>Predicted result class</p></dd><dt
class="tparam">A</dt><dd class="cmt"><p>Actual result class</p></dd><dt
class="param">dataSourceMap</dt><dd class="cmt"><p>Accepts either an instance
of Class of the data
+ source, or a Map of data source classes (implicitly
+ converted to <a href="Engine$$DataSourceMap.html"
class="extype"
name="org.apache.predictionio.controller.Engine.DataSourceMap">DataSourceMap</a>.</p></dd><dt
class="param">preparatorMap</dt><dd class="cmt"><p>Accepts either an instance
of Class of the
+ preparator, or a Map of preparator classes
+ (implicitly converted to <a
href="Engine$$PreparatorMap.html" class="extype"
name="org.apache.predictionio.controller.Engine.PreparatorMap">PreparatorMap</a>.</p></dd><dt
class="param">algorithmClassMap</dt><dd class="cmt"><p>Accepts a Map of
algorithm classes.</p></dd><dt class="param">servingMap</dt><dd
class="cmt"><p>Accepts either an instance of Class of the serving, or
+ a Map of serving classes (implicitly converted to
+ <a href="Engine$$ServingMap.html" class="extype"
name="org.apache.predictionio.controller.Engine.ServingMap">ServingMap</a>.</p></dd><dt>returns</dt><dd
class="cmt"><p>An instance of <a href="Engine.html" class="extype"
name="org.apache.predictionio.controller.Engine">Engine</a></p></dd></dl></div>
+ </li><li name="scala.Any#asInstanceOf" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="asInstanceOf[T0]:T0"></a>
+ <a id="asInstanceOf[T0]:T0"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">asInstanceOf</span><span class="tparams">[<span
name="T0">T0</span>]</span><span class="result">: <span class="extype"
name="scala.Any.asInstanceOf.T0">T0</span></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@asInstanceOf[T0]:T0"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>Any</dd></dl></div>
+ </li><li name="scala.AnyRef#clone" visbl="prt" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="clone():Object"></a>
+ <a id="clone():AnyRef"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">clone</span><span class="params">()</span><span
class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.AnyRef"
class="extype" target="_top">AnyRef</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@clone():Object"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block">
<dt>Attributes</dt><dd>protected[<a href="../../../../java$lang.html"
class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition
Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
+ <span class="name">@throws</span><span class="args">(<span>
+
+ <span class="defval"
name="classOf[java.lang.CloneNotSupportedException]">...</span>
+ </span>)</span>
+
+ </dd></dl></div>
+ </li><li name="scala.AnyRef#eq" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="eq(x$1:AnyRef):Boolean"></a>
+ <a id="eq(AnyRef):Boolean"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">eq</span><span class="params">(<span
name="arg0">arg0: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.AnyRef"
class="extype" target="_top">AnyRef</a></span>)</span><span class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Boolean"
class="extype" target="_top">Boolean</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@eq(x$1:AnyRef):Boolean"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef</dd></dl></div>
+ </li><li name="scala.AnyRef#equals" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="equals(x$1:Any):Boolean"></a>
+ <a id="equals(Any):Boolean"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">equals</span><span class="params">(<span
name="arg0">arg0: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Any" class="extype"
target="_top">Any</a></span>)</span><span class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Boolean"
class="extype" target="_top">Boolean</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@equals(x$1:Any):Boolean"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef â Any</dd></dl></div>
+ </li><li name="org.apache.predictionio.controller.Engine#eval" visbl="pub"
data-isabs="false" fullComment="yes" group="Ungrouped">
+ <a
id="eval[TD,PD,Q,P,A,EI](sc:org.apache.spark.SparkContext,dataSource:org.apache.predictionio.core.BaseDataSource[TD,EI,Q,A],preparator:org.apache.predictionio.core.BasePreparator[TD,PD],algorithmList:Seq[org.apache.predictionio.core.BaseAlgorithm[PD,_,Q,P]],serving:org.apache.predictionio.core.BaseServing[Q,P]):Seq[(EI,org.apache.spark.rdd.RDD[(Q,P,A)])]"></a>
+ <a
id="eval[TD,PD,Q,P,A,EI](SparkContext,BaseDataSource[TD,EI,Q,A],BasePreparator[TD,PD],Seq[BaseAlgorithm[PD,_,Q,P]],BaseServing[Q,P]):Seq[(EI,RDD[(Q,P,A)])]"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">eval</span><span class="tparams">[<span
name="TD">TD</span>, <span name="PD">PD</span>, <span name="Q">Q</span>, <span
name="P">P</span>, <span name="A">A</span>, <span
name="EI">EI</span>]</span><span class="params">(<span name="sc">sc: <span
class="extype" name="org.apache.spark.SparkContext">SparkContext</span></span>,
<span name="dataSource">dataSource: <a href="../core/BaseDataSource.html"
class="extype"
name="org.apache.predictionio.core.BaseDataSource">BaseDataSource</a>[<span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.TD">TD</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.EI">EI</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.Q">Q</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.A">A</span>]</span>, <span
name="preparator">preparator: <a href="../core/BasePreparator.html"
class="extype" name="org.apache.predictionio.core.Bas
ePreparator">BasePreparator</a>[<span class="extype"
name="org.apache.predictionio.controller.Engine.eval.TD">TD</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.PD">PD</span>]</span>,
<span name="algorithmList">algorithmList: <span class="extype"
name="scala.Seq">Seq</span>[<a href="../core/BaseAlgorithm.html" class="extype"
name="org.apache.predictionio.core.BaseAlgorithm">BaseAlgorithm</a>[<span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.PD">PD</span>, _, <span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.Q">Q</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.P">P</span>]]</span>,
<span name="serving">serving: <a href="../core/BaseServing.html" class="extype"
name="org.apache.predictionio.core.BaseServing">BaseServing</a>[<span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.Q">Q</span>, <span
class="extype" name="org.apache.predictionio.controller.
Engine.eval.P">P</span>]</span>)</span><span class="result">: <span
class="extype" name="scala.Seq">Seq</span>[(<span class="extype"
name="org.apache.predictionio.controller.Engine.eval.EI">EI</span>, <span
class="extype" name="org.apache.spark.rdd.RDD">RDD</span>[(<span class="extype"
name="org.apache.predictionio.controller.Engine.eval.Q">Q</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.P">P</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.eval.A">A</span>)])]</span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@eval[TD,PD,Q,P,A,EI](sc:org.apache.spark.SparkContext,dataSource:org.apache.predictionio.core.BaseDataSource[TD,EI,Q,A],preparator:org.apache.predictionio.core.BasePreparator[TD,PD],algorithmList:Seq[org.apache.predictionio.core.BaseAlgorithm[PD,_,Q,P]],serving:org.apache.predictionio.core.BaseServing[Q,P]):Seq[(EI,org.apache.spark.rdd.RDD[(Q,P,A)])]"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <p class="shortcomment cmt">Provides concrete implementation of
evaluation for <a href="Engine.html" class="extype"
name="org.apache.predictionio.controller.Engine">Engine</a>.</p><div
class="fullcomment"><div class="comment cmt"><p>Provides concrete
implementation of evaluation for <a href="Engine.html" class="extype"
name="org.apache.predictionio.controller.Engine">Engine</a>.
+</p></div><dl class="paramcmts block"><dt class="tparam">TD</dt><dd
class="cmt"><p>Training data class</p></dd><dt class="tparam">PD</dt><dd
class="cmt"><p>Prepared data class</p></dd><dt class="tparam">Q</dt><dd
class="cmt"><p>Input query class</p></dd><dt class="tparam">P</dt><dd
class="cmt"><p>Predicted result class</p></dd><dt class="tparam">A</dt><dd
class="cmt"><p>Actual result class</p></dd><dt class="tparam">EI</dt><dd
class="cmt"><p>Evaluation information class</p></dd><dt
class="param">sc</dt><dd class="cmt"><p>An instance of SparkContext</p></dd><dt
class="param">dataSource</dt><dd class="cmt"><p>An instance of data
source</p></dd><dt class="param">preparator</dt><dd class="cmt"><p>An instance
of preparator</p></dd><dt class="param">algorithmList</dt><dd class="cmt"><p>A
list of algorithm instances</p></dd><dt class="param">serving</dt><dd
class="cmt"><p>An instance of serving</p></dd><dt>returns</dt><dd
class="cmt"><p>A list of evaluation information, RDD of query, predi
cted result,
+ and actual result tuple tuple.</p></dd></dl></div>
+ </li><li name="scala.AnyRef#finalize" visbl="prt" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="finalize():Unit"></a>
+ <a id="finalize():Unit"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">finalize</span><span class="params">()</span><span
class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Unit"
class="extype" target="_top">Unit</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@finalize():Unit"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block">
<dt>Attributes</dt><dd>protected[<a href="../../../../java$lang.html"
class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition
Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
+ <span class="name">@throws</span><span class="args">(<span>
+
+ <span class="symbol">classOf[java.lang.Throwable]</span>
+ </span>)</span>
+
+ </dd></dl></div>
+ </li><li name="scala.AnyRef#getClass" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="getClass():Class[_]"></a>
+ <a id="getClass():Class[_]"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">getClass</span><span class="params">()</span><span
class="result">: <span class="extype"
name="java.lang.Class">Class</span>[_]</span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@getClass():Class[_]"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef â Any</dd></dl></div>
+ </li><li name="scala.AnyRef#hashCode" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="hashCode():Int"></a>
+ <a id="hashCode():Int"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">hashCode</span><span class="params">()</span><span
class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Int" class="extype"
target="_top">Int</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@hashCode():Int"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef â Any</dd></dl></div>
+ </li><li name="scala.Any#isInstanceOf" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="isInstanceOf[T0]:Boolean"></a>
+ <a id="isInstanceOf[T0]:Boolean"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">isInstanceOf</span><span class="tparams">[<span
name="T0">T0</span>]</span><span class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Boolean"
class="extype" target="_top">Boolean</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@isInstanceOf[T0]:Boolean"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>Any</dd></dl></div>
+ </li><li name="scala.AnyRef#ne" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="ne(x$1:AnyRef):Boolean"></a>
+ <a id="ne(AnyRef):Boolean"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">ne</span><span class="params">(<span
name="arg0">arg0: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.AnyRef"
class="extype" target="_top">AnyRef</a></span>)</span><span class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Boolean"
class="extype" target="_top">Boolean</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@ne(x$1:AnyRef):Boolean"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef</dd></dl></div>
+ </li><li name="scala.AnyRef#notify" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="notify():Unit"></a>
+ <a id="notify():Unit"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">notify</span><span class="params">()</span><span
class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Unit"
class="extype" target="_top">Unit</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@notify():Unit"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef</dd></dl></div>
+ </li><li name="scala.AnyRef#notifyAll" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="notifyAll():Unit"></a>
+ <a id="notifyAll():Unit"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">notifyAll</span><span class="params">()</span><span
class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Unit"
class="extype" target="_top">Unit</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@notifyAll():Unit"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef</dd></dl></div>
+ </li><li name="scala.AnyRef#synchronized" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="synchronized[T0](x$1:=>T0):T0"></a>
+ <a id="synchronized[T0](âT0):T0"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">synchronized</span><span class="tparams">[<span
name="T0">T0</span>]</span><span class="params">(<span name="arg0">arg0: â
<span class="extype"
name="java.lang.AnyRef.synchronized.T0">T0</span></span>)</span><span
class="result">: <span class="extype"
name="java.lang.AnyRef.synchronized.T0">T0</span></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@synchronized[T0](x$1:=>T0):T0"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef</dd></dl></div>
+ </li><li name="scala.AnyRef#toString" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="toString():String"></a>
+ <a id="toString():String"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">toString</span><span class="params">()</span><span
class="result">: <span class="extype"
name="java.lang.String">String</span></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@toString():String"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef â Any</dd></dl></div>
+ </li><li name="org.apache.predictionio.controller.Engine#train"
visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+ <a
id="train[TD,PD,Q](sc:org.apache.spark.SparkContext,dataSource:org.apache.predictionio.core.BaseDataSource[TD,_,Q,_],preparator:org.apache.predictionio.core.BasePreparator[TD,PD],algorithmList:Seq[org.apache.predictionio.core.BaseAlgorithm[PD,_,Q,_]],params:org.apache.predictionio.workflow.WorkflowParams):Seq[Any]"></a>
+ <a
id="train[TD,PD,Q](SparkContext,BaseDataSource[TD,_,Q,_],BasePreparator[TD,PD],Seq[BaseAlgorithm[PD,_,Q,_]],WorkflowParams):Seq[Any]"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier"></span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">train</span><span class="tparams">[<span
name="TD">TD</span>, <span name="PD">PD</span>, <span
name="Q">Q</span>]</span><span class="params">(<span name="sc">sc: <span
class="extype" name="org.apache.spark.SparkContext">SparkContext</span></span>,
<span name="dataSource">dataSource: <a href="../core/BaseDataSource.html"
class="extype"
name="org.apache.predictionio.core.BaseDataSource">BaseDataSource</a>[<span
class="extype"
name="org.apache.predictionio.controller.Engine.train.TD">TD</span>, _, <span
class="extype"
name="org.apache.predictionio.controller.Engine.train.Q">Q</span>, _]</span>,
<span name="preparator">preparator: <a href="../core/BasePreparator.html"
class="extype"
name="org.apache.predictionio.core.BasePreparator">BasePreparator</a>[<span
class="extype"
name="org.apache.predictionio.controller.Engine.train.TD">TD</span>, <span
class="extype"
name="org.apache.predictionio.controller.Engine.train.PD">PD</span>]</span>,
<span name="algorithmLis
t">algorithmList: <span class="extype" name="scala.Seq">Seq</span>[<a
href="../core/BaseAlgorithm.html" class="extype"
name="org.apache.predictionio.core.BaseAlgorithm">BaseAlgorithm</a>[<span
class="extype"
name="org.apache.predictionio.controller.Engine.train.PD">PD</span>, _, <span
class="extype"
name="org.apache.predictionio.controller.Engine.train.Q">Q</span>, _]]</span>,
<span name="params">params: <a href="../workflow/WorkflowParams.html"
class="extype"
name="org.apache.predictionio.workflow.WorkflowParams">WorkflowParams</a></span>)</span><span
class="result">: <span class="extype" name="scala.Seq">Seq</span>[<a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Any" class="extype"
target="_top">Any</a>]</span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@train[TD,PD,Q](sc:org.apache.spark.SparkContext,dataSource:org.apache.predictionio.core.BaseDataSource[TD,_,Q,_],preparator:org.apache.predictionio.core.BasePreparator[TD,PD],algorithmList:Seq[org.apache.predictionio.core.BaseAlgorithm[PD,_,Q,_]],params:org.apache.predictionio.workflow.WorkflowParams):Seq[Any]"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <p class="shortcomment cmt">Provides concrete implementation of training
for <a href="Engine.html" class="extype"
name="org.apache.predictionio.controller.Engine">Engine</a>.</p><div
class="fullcomment"><div class="comment cmt"><p>Provides concrete
implementation of training for <a href="Engine.html" class="extype"
name="org.apache.predictionio.controller.Engine">Engine</a>.
+</p></div><dl class="paramcmts block"><dt class="tparam">TD</dt><dd
class="cmt"><p>Training data class</p></dd><dt class="tparam">PD</dt><dd
class="cmt"><p>Prepared data class</p></dd><dt class="tparam">Q</dt><dd
class="cmt"><p>Input query class</p></dd><dt class="param">sc</dt><dd
class="cmt"><p>An instance of SparkContext</p></dd><dt
class="param">dataSource</dt><dd class="cmt"><p>An instance of data
source</p></dd><dt class="param">preparator</dt><dd class="cmt"><p>An instance
of preparator</p></dd><dt class="param">algorithmList</dt><dd class="cmt"><p>A
list of algorithm instances</p></dd><dt class="param">params</dt><dd
class="cmt"><p>An instance of <span class="extype"
name="WorkflowParams">WorkflowParams</span> that controls the training
+ process.</p></dd><dt>returns</dt><dd class="cmt"><p>A list of
trained models</p></dd></dl></div>
+ </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="wait():Unit"></a>
+ <a id="wait():Unit"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">wait</span><span class="params">()</span><span
class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Unit"
class="extype" target="_top">Unit</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@wait():Unit"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
+ <span class="name">@throws</span><span class="args">(<span>
+
+ <span class="defval"
name="classOf[java.lang.InterruptedException]">...</span>
+ </span>)</span>
+
+ </dd></dl></div>
+ </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="wait(x$1:Long,x$2:Int):Unit"></a>
+ <a id="wait(Long,Int):Unit"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">wait</span><span class="params">(<span
name="arg0">arg0: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Long"
class="extype" target="_top">Long</a></span>, <span name="arg1">arg1: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Int" class="extype"
target="_top">Int</a></span>)</span><span class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Unit"
class="extype" target="_top">Unit</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@wait(x$1:Long,x$2:Int):Unit"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
+ <span class="name">@throws</span><span class="args">(<span>
+
+ <span class="defval"
name="classOf[java.lang.InterruptedException]">...</span>
+ </span>)</span>
+
+ </dd></dl></div>
+ </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false"
fullComment="yes" group="Ungrouped">
+ <a id="wait(x$1:Long):Unit"></a>
+ <a id="wait(Long):Unit"></a>
+ <h4 class="signature">
+ <span class="modifier_kind">
+ <span class="modifier">final </span>
+ <span class="kind">def</span>
+ </span>
+ <span class="symbol">
+ <span class="name">wait</span><span class="params">(<span
name="arg0">arg0: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Long"
class="extype" target="_top">Long</a></span>)</span><span class="result">: <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Unit"
class="extype" target="_top">Unit</a></span>
+ </span>
+ </h4><span class="permalink">
+ <a
href="../../../../index.html#org.apache.predictionio.controller.Engine$@wait(x$1:Long):Unit"
title="Permalink" target="_top">
+ <img src="../../../../lib/permalink.png" alt="Permalink" />
+ </a>
+ </span>
+ <div class="fullcomment"><dl class="attributes block"> <dt>Definition
Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
+ <span class="name">@throws</span><span class="args">(<span>
+
+ <span class="defval"
name="classOf[java.lang.InterruptedException]">...</span>
+ </span>)</span>
+
+ </dd></dl></div>
+ </li></ol>
+ </div>
+
+
+
+
+ </div>
+
+ <div id="inheritedMembers">
+ <div class="parent" name="scala.Serializable">
+ <h3>Inherited from <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Serializable"
class="extype" target="_top">Serializable</a></h3>
+ </div><div class="parent" name="java.io.Serializable">
+ <h3>Inherited from <span class="extype"
name="java.io.Serializable">Serializable</span></h3>
+ </div><div class="parent" name="scala.AnyRef">
+ <h3>Inherited from <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.AnyRef"
class="extype" target="_top">AnyRef</a></h3>
+ </div><div class="parent" name="scala.Any">
+ <h3>Inherited from <a
href="http://www.scala-lang.org/api/2.11.8/index.html#scala.Any" class="extype"
target="_top">Any</a></h3>
+ </div>
+
+ </div>
+
+ <div id="groupedMembers">
+ <div class="group" name="Ungrouped">
+ <h3>Ungrouped</h3>
+
+ </div>
+ </div>
+
+ </div>
+
+ <div id="tooltip"></div>
+
+ <div id="footer"> </div>
+
+
+ </body>
+ </html>