predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [35/51] [abbrv] [partial] incubator-predictionio-site git commit: Documentation based on apache/incubator-predictionio#b4f2050b08cc076183e1677c432e5b30752ec2e8
Date Tue, 27 Jun 2017 06:06:38 GMT
http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/9ec44ae5/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..a59e99c
--- /dev/null
+++ b/api/current/org/apache/predictionio/controller/Engine$.html
@@ -0,0 +1,571 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+        <head>
+          <title>Engine - PredictionIO Scala API 0.11.0-incubating - org.apache.predictionio.controller.Engine</title>
+          <meta name="description" content="Engine - PredictionIO Scala API 0.11.0 - incubating - org.apache.predictionio.controller.Engine" />
+          <meta name="keywords" content="Engine PredictionIO Scala API 0.11.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">
+         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="Go to companion"><img 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="Go to companion">Engine</a></h1>
+      </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.10.6/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.10.6/index.html#scala.Serializable" class="extype" target="_top">Serializable</a>, <span class="extype" name="java.io.Serializable">Serializable</span>, <span class="extype" name="scala.AnyRef">AnyRef</span>, <span class="extype" name="scala.Any">Any</span></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>
+            <a href="http://docs.scala-lang.org/overviews/scaladoc/usage.html#members" target="_blank">Learn more about member selection</a>
+          </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="no" 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 <span class="extype" name="scala.AnyRef">AnyRef</span></span>
+      </span>
+      </h4>
+      <p class="comment 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>
+    </li><li name="org.apache.predictionio.controller.Engine.PreparatorMap" visbl="pub" data-isabs="false" fullComment="no" 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 <span class="extype" name="scala.AnyRef">AnyRef</span></span>
+      </span>
+      </h4>
+      <p class="comment 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>
+    </li><li name="org.apache.predictionio.controller.Engine.ServingMap" visbl="pub" data-isabs="false" fullComment="no" 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 <span class="extype" name="scala.AnyRef">AnyRef</span></span>
+      </span>
+      </h4>
+      <p class="comment 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>
+    </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:AnyRef):Boolean"></a>
+      <a id="!=(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 title="gt4s: $bang$eq" class="name">!=</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Boolean" class="extype" target="_top">Boolean</a></span>
+      </span>
+      </h4>
+      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
+    </li><li name="scala.Any#!=" 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: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Boolean" class="extype" target="_top">Boolean</a></span>
+      </span>
+      </h4>
+      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>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.10.6/index.html#scala.Int" class="extype" target="_top">Int</a></span>
+      </span>
+      </h4>
+      <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:AnyRef):Boolean"></a>
+      <a id="==(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 title="gt4s: $eq$eq" class="name">==</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Boolean" class="extype" target="_top">Boolean</a></span>
+      </span>
+      </h4>
+      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
+    </li><li name="scala.Any#==" 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: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Boolean" class="extype" target="_top">Boolean</a></span>
+      </span>
+      </h4>
+      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>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>
+      <p class="comment 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>
+      <p class="comment 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>
+      <p class="comment 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[_&lt;: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[_&lt;: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>[_ &lt;: <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>
+      <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>
+      <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">: <span class="extype" name="scala.AnyRef">AnyRef</span></span>
+      </span>
+      </h4>
+      <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: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Boolean" class="extype" target="_top">Boolean</a></span>
+      </span>
+      </h4>
+      <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: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Boolean" class="extype" target="_top">Boolean</a></span>
+      </span>
+      </h4>
+      <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>
+      <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.10.6/index.html#scala.Unit" class="extype" target="_top">Unit</a></span>
+      </span>
+      </h4>
+      <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>
+      <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.10.6/index.html#scala.Int" class="extype" target="_top">Int</a></span>
+      </span>
+      </h4>
+      <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.10.6/index.html#scala.Boolean" class="extype" target="_top">Boolean</a></span>
+      </span>
+      </h4>
+      <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: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Boolean" class="extype" target="_top">Boolean</a></span>
+      </span>
+      </h4>
+      <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.10.6/index.html#scala.Unit" class="extype" target="_top">Unit</a></span>
+      </span>
+      </h4>
+      <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.10.6/index.html#scala.Unit" class="extype" target="_top">Unit</a></span>
+      </span>
+      </h4>
+      <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:=&gt;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>
+      <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>
+      <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>[<span class="extype" name="scala.Any">Any</span>]</span>
+      </span>
+      </h4>
+      <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.10.6/index.html#scala.Unit" class="extype" target="_top">Unit</a></span>
+      </span>
+      </h4>
+      <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.10.6/index.html#scala.Long" class="extype" target="_top">Long</a></span>, <span name="arg1">arg1: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Int" class="extype" target="_top">Int</a></span>)</span><span class="result">: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Unit" class="extype" target="_top">Unit</a></span>
+      </span>
+      </h4>
+      <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.10.6/index.html#scala.Long" class="extype" target="_top">Long</a></span>)</span><span class="result">: <a href="http://www.scala-lang.org/api/2.10.6/index.html#scala.Unit" class="extype" target="_top">Unit</a></span>
+      </span>
+      </h4>
+      <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.10.6/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 <span class="extype" name="scala.AnyRef">AnyRef</span></h3>
+            </div><div class="parent" name="scala.Any">
+              <h3>Inherited from <span class="extype" name="scala.Any">Any</span></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>
+      <script defer="defer" type="text/javascript" id="jquery-js" src="../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" id="jquery-ui-js" src="../../../../lib/jquery-ui.js"></script><script defer="defer" type="text/javascript" id="tools-tooltip-js" src="../../../../lib/tools.tooltip.js"></script><script defer="defer" type="text/javascript" id="template-js" src="../../../../lib/template.js"></script>
+    </body>
+      </html>
\ No newline at end of file



Mime
View raw message