mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyubi...@apache.org
Subject [22/51] [abbrv] [partial] mahout git commit: Standard docs from release binary.
Date Fri, 29 May 2015 18:49:21 GMT
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec571cae/docs/mahout-examples/org/apache/mahout/classifier/naivebayes/NaiveBayes$.html
----------------------------------------------------------------------
diff --git a/docs/mahout-examples/org/apache/mahout/classifier/naivebayes/NaiveBayes$.html b/docs/mahout-examples/org/apache/mahout/classifier/naivebayes/NaiveBayes$.html
new file mode 100644
index 0000000..72b89b2
--- /dev/null
+++ b/docs/mahout-examples/org/apache/mahout/classifier/naivebayes/NaiveBayes$.html
@@ -0,0 +1,546 @@
+<?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>NaiveBayes - Mahout Math Scala bindings 0.10.0 API - org.apache.mahout.classifier.naivebayes.NaiveBayes</title>
+          <meta name="description" content="NaiveBayes - Mahout Math Scala bindings 0.10.0 API - org.apache.mahout.classifier.naivebayes.NaiveBayes" />
+          <meta name="keywords" content="NaiveBayes Mahout Math Scala bindings 0.10.0 API org.apache.mahout.classifier.naivebayes.NaiveBayes" />
+          <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.mahout.classifier.naivebayes.NaiveBayes$';
+            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="NaiveBayes.html" title="Go to companion"><img src="../../../../../lib/object_to_trait_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.mahout">mahout</a>.<a href="../package.html" class="extype" name="org.apache.mahout.classifier">classifier</a>.<a href="package.html" class="extype" name="org.apache.mahout.classifier.naivebayes">naivebayes</a></p>
+        <h1><a href="NaiveBayes.html" title="Go to companion">NaiveBayes</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">NaiveBayes</span><span class="result"> extends <a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</a> with <span class="extype" name="java.io.Serializable">Serializable</span></span>
+      </span>
+      </h4>
+      
+          <div id="comment" class="fullcommenttop"><div class="toggleContainer block">
+          <span class="toggle">Linear Supertypes</span>
+          <div class="superTypes hiddenContent"><a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</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.mahout.classifier.naivebayes.NaiveBayes"><span>NaiveBayes</span></li><li class="in" name="org.apache.mahout.classifier.naivebayes.NaiveBayes"><span>NaiveBayes</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.mahout.classifier.naivebayes.NaiveBayes.CategoryParser" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="CategoryParser=String=&gt;String"></a>
+      <a id="CategoryParser:(String)⇒String"></a>
+      <h4 class="signature">
+      <span class="modifier_kind">
+        <span class="modifier"></span>
+        <span class="kind">type</span>
+      </span>
+      <span class="symbol">
+        <span class="name">CategoryParser</span><span class="result"> = (<span class="extype" name="scala.Predef.String">String</span>) ⇒ <span class="extype" name="scala.Predef.String">String</span></span>
+      </span>
+      </h4>
+      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</a></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: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">: <span class="extype" name="scala.Boolean">Boolean</span></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">: <span class="extype" name="scala.Boolean">Boolean</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###" 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">: <span class="extype" name="scala.Int">Int</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#==" 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">: <span class="extype" name="scala.Boolean">Boolean</span></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">: <span class="extype" name="scala.Boolean">Boolean</span></span>
+      </span>
+      </h4>
+      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
+    </li><li name="org.apache.mahout.classifier.naivebayes.NaiveBayes#argmax" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="argmax(v:org.apache.mahout.math.Vector):(Int,Double)"></a>
+      <a id="argmax(Vector):(Int,Double)"></a>
+      <h4 class="signature">
+      <span class="modifier_kind">
+        <span class="modifier"></span>
+        <span class="kind">def</span>
+      </span>
+      <span class="symbol">
+        <span class="name">argmax</span><span class="params">(<span name="v">v: <span class="extype" name="org.apache.mahout.math.Vector">Vector</span></span>)</span><span class="result">: (<span class="extype" name="scala.Int">Int</span>, <span class="extype" name="scala.Double">Double</span>)</span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">argmax with values as well
+returns a tuple of index of the max score and the score itself.</p><div class="fullcomment"><div class="comment cmt"><p>argmax with values as well
+returns a tuple of index of the max score and the score itself.</p></div><dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vector of of scores</p></dd><dt>returns</dt><dd class="cmt"><p>(bestIndex, bestScore)
+</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</a></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="org.apache.mahout.classifier.naivebayes.NaiveBayes#defaultAlphaI" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="defaultAlphaI:Float"></a>
+      <a id="defaultAlphaI:Float"></a>
+      <h4 class="signature">
+      <span class="modifier_kind">
+        <span class="modifier"></span>
+        <span class="kind">def</span>
+      </span>
+      <span class="symbol">
+        <span class="name">defaultAlphaI</span><span class="result">: <span class="extype" name="scala.Float">Float</span></span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">default value for the Laplacian smoothing parameter</p><div class="fullcomment"><div class="comment cmt"><p>default value for the Laplacian smoothing parameter</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</a></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">: <span class="extype" name="scala.Boolean">Boolean</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#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">: <span class="extype" name="scala.Boolean">Boolean</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.mahout.classifier.naivebayes.NaiveBayes#extractLabelsAndAggregateObservations" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="extractLabelsAndAggregateObservations[K](stringKeyedObservations:org.apache.mahout.math.drm.DrmLike[K],cParser:String=&gt;String)(implicitevidence$1:scala.reflect.ClassTag[K],implicitctx:org.apache.mahout.math.drm.DistributedContext):(scala.collection.mutable.HashMap[String,Integer],org.apache.mahout.math.drm.DrmLike[Int])"></a>
+      <a id="extractLabelsAndAggregateObservations[K](DrmLike[K],(String)⇒String)(ClassTag[K],DistributedContext):(HashMap[String,Integer],DrmLike[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">extractLabelsAndAggregateObservations</span><span class="tparams">[<span name="K">K</span>]</span><span class="params">(<span name="stringKeyedObservations">stringKeyedObservations: <a href="../../math/drm/DrmLike.html" class="extype" name="org.apache.mahout.math.drm.DrmLike">DrmLike</a>[<span class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes.extractLabelsAndAggregateObservations.K">K</span>]</span>, <span name="cParser">cParser: (<span class="extype" name="scala.Predef.String">String</span>) ⇒ <span class="extype" name="scala.Predef.String">String</span> = <span class="symbol"><span class="name"><a href="NaiveBayes.html#seq2SparseCategoryParser:String=&gt;String">seq2SparseCategoryParser</a></span></span></span>)</span><span class="params">(<span class="implicit">implicit </span><span name="arg0">arg0: <span class="extype" name="scala.reflect.ClassTag">ClassTag</span>[<span class="extype" name="org.apache.mahout.classifier.naivebay
 es.NaiveBayes.extractLabelsAndAggregateObservations.K">K</span>]</span>, <span name="ctx">ctx: <a href="../../math/drm/DistributedContext.html" class="extype" name="org.apache.mahout.math.drm.DistributedContext">DistributedContext</a></span>)</span><span class="result">: (<span class="extype" name="scala.collection.mutable.HashMap">HashMap</span>[<span class="extype" name="scala.Predef.String">String</span>, <span class="extype" name="java.lang.Integer">Integer</span>], <a href="../../math/drm/DrmLike.html" class="extype" name="org.apache.mahout.math.drm.DrmLike">DrmLike</a>[<span class="extype" name="scala.Int">Int</span>])</span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">Extract label Keys from raw TF or TF-IDF Matrix generated by seqdirectory/seq2sparse
+and aggregate TF or TF-IDF values by their label
+Override this method in engine specific modules to optimize
+</p><div class="fullcomment"><div class="comment cmt"><p>Extract label Keys from raw TF or TF-IDF Matrix generated by seqdirectory/seq2sparse
+and aggregate TF or TF-IDF values by their label
+Override this method in engine specific modules to optimize
+</p></div><dl class="paramcmts block"><dt class="param">stringKeyedObservations</dt><dd class="cmt"><p>DrmLike matrix; Output from seq2sparse
+  in form K = eg./Category/document_title
+          V = TF or TF-IDF values per term</p></dd><dt class="param">cParser</dt><dd class="cmt"><p>a String =&gt; String function used to extract categories from
+  Keys of the stringKeyedObservations DRM. The default
+  CategoryParser will extract &quot;Category&quot; from: '/Category/document_id'</p></dd><dt>returns</dt><dd class="cmt"><p>(labelIndexMap,aggregatedByLabelObservationDrm)
+  labelIndexMap is a HashMap [String, Integer] K = label row index
+                                               V = label
+  aggregatedByLabelObservationDrm is a DrmLike[Int] of aggregated
+  TF or TF-IDF counts per label
+</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</a></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">: <span class="extype" name="scala.Unit">Unit</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="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">: <span class="extype" name="scala.Int">Int</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.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">: <span class="extype" name="scala.Boolean">Boolean</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#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">: <span class="extype" name="scala.Boolean">Boolean</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#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">: <span class="extype" name="scala.Unit">Unit</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#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">: <span class="extype" name="scala.Unit">Unit</span></span>
+      </span>
+      </h4>
+      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
+    </li><li name="org.apache.mahout.classifier.naivebayes.NaiveBayes#seq2SparseCategoryParser" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="seq2SparseCategoryParser:String=&gt;String"></a>
+      <a id="seq2SparseCategoryParser:(String)⇒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">seq2SparseCategoryParser</span><span class="result">: (<span class="extype" name="scala.Predef.String">String</span>) ⇒ <span class="extype" name="scala.Predef.String">String</span></span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">Default: seqdirectory/seq2Sparse Categories are Stored in Drm Keys as: /Category/document_id</p><div class="fullcomment"><div class="comment cmt"><p>Default: seqdirectory/seq2Sparse Categories are Stored in Drm Keys as: /Category/document_id</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</a></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="org.apache.mahout.classifier.naivebayes.NaiveBayes#test" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="test[K](model:org.apache.mahout.classifier.naivebayes.NBModel,testSet:org.apache.mahout.math.drm.DrmLike[K],testComplementary:Boolean,cParser:String=&gt;String)(implicitevidence$2:scala.reflect.ClassTag[K],implicitctx:org.apache.mahout.math.drm.DistributedContext):org.apache.mahout.classifier.stats.ResultAnalyzer"></a>
+      <a id="test[K](NBModel,DrmLike[K],Boolean,(String)⇒String)(ClassTag[K],DistributedContext):ResultAnalyzer"></a>
+      <h4 class="signature">
+      <span class="modifier_kind">
+        <span class="modifier"></span>
+        <span class="kind">def</span>
+      </span>
+      <span class="symbol">
+        <span class="name">test</span><span class="tparams">[<span name="K">K</span>]</span><span class="params">(<span name="model">model: <a href="NBModel.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NBModel">NBModel</a></span>, <span name="testSet">testSet: <a href="../../math/drm/DrmLike.html" class="extype" name="org.apache.mahout.math.drm.DrmLike">DrmLike</a>[<span class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes.test.K">K</span>]</span>, <span name="testComplementary">testComplementary: <span class="extype" name="scala.Boolean">Boolean</span> = <span class="symbol">false</span></span>, <span name="cParser">cParser: (<span class="extype" name="scala.Predef.String">String</span>) ⇒ <span class="extype" name="scala.Predef.String">String</span> = <span class="symbol"><span class="name"><a href="NaiveBayes.html#seq2SparseCategoryParser:String=&gt;String">seq2SparseCategoryParser</a></span></span></span>)</span><span class="params">(<s
 pan class="implicit">implicit </span><span name="arg0">arg0: <span class="extype" name="scala.reflect.ClassTag">ClassTag</span>[<span class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes.test.K">K</span>]</span>, <span name="ctx">ctx: <a href="../../math/drm/DistributedContext.html" class="extype" name="org.apache.mahout.math.drm.DistributedContext">DistributedContext</a></span>)</span><span class="result">: <a href="../stats/ResultAnalyzer.html" class="extype" name="org.apache.mahout.classifier.stats.ResultAnalyzer">ResultAnalyzer</a></span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">Test a trained model with a labeled dataset sequentially</p><div class="fullcomment"><div class="comment cmt"><p>Test a trained model with a labeled dataset sequentially</p></div><dl class="paramcmts block"><dt class="tparam">K</dt><dd class="cmt"><p>implicitly determined Key type of test set DRM: String</p></dd><dt class="param">model</dt><dd class="cmt"><p>a trained NBModel</p></dd><dt class="param">testSet</dt><dd class="cmt"><p>a labeled testing set</p></dd><dt class="param">testComplementary</dt><dd class="cmt"><p>test using a complementary or a standard NB classifier</p></dd><dt class="param">cParser</dt><dd class="cmt"><p>a String =&gt; String function used to extract categories from
+  Keys of the testing set DRM. The default
+  CategoryParser will extract &quot;Category&quot; from: '/Category/document_id'</p><p>  *Note*: this method brings the entire test set into upfront memory,
+          This method is optimized and parallelized in SparkNaiveBayes
+</p></dd><dt>returns</dt><dd class="cmt"><p>a result analyzer with confusion matrix and accuracy statistics
+</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</a></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.mahout.classifier.naivebayes.NaiveBayes#train" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="train(observationsPerLabel:org.apache.mahout.math.drm.DrmLike[Int],labelIndex:scala.collection.Map[String,Integer],trainComplementary:Boolean,alphaI:Float):org.apache.mahout.classifier.naivebayes.NBModel"></a>
+      <a id="train(DrmLike[Int],Map[String,Integer],Boolean,Float):NBModel"></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="params">(<span name="observationsPerLabel">observationsPerLabel: <a href="../../math/drm/DrmLike.html" class="extype" name="org.apache.mahout.math.drm.DrmLike">DrmLike</a>[<span class="extype" name="scala.Int">Int</span>]</span>, <span name="labelIndex">labelIndex: <span class="extype" name="scala.collection.Map">Map</span>[<span class="extype" name="scala.Predef.String">String</span>, <span class="extype" name="java.lang.Integer">Integer</span>]</span>, <span name="trainComplementary">trainComplementary: <span class="extype" name="scala.Boolean">Boolean</span> = <span class="symbol">true</span></span>, <span name="alphaI">alphaI: <span class="extype" name="scala.Float">Float</span> = <span class="symbol"><span class="name"><a href="NaiveBayes.html#defaultAlphaI:Float">defaultAlphaI</a></span></span></span>)</span><span class="result">: <a href="NBModel.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NBModel">NBM
 odel</a></span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">Distributed training of a Naive Bayes model.</p><div class="fullcomment"><div class="comment cmt"><p>Distributed training of a Naive Bayes model. Follows the approach presented in Rennie et.al.: Tackling the poor
+assumptions of Naive Bayes Text classifiers, ICML 2003, http://people.csail.mit.edu/jrennie/papers/icml03-nb.pdf
+</p></div><dl class="paramcmts block"><dt class="param">observationsPerLabel</dt><dd class="cmt"><p>a DrmLike[Int] matrix containing term frequency counts for each label.</p></dd><dt class="param">trainComplementary</dt><dd class="cmt"><p>whether or not to train a complementary Naive Bayes model</p></dd><dt class="param">alphaI</dt><dd class="cmt"><p>Laplace smoothing parameter</p></dd><dt>returns</dt><dd class="cmt"><p>trained naive bayes model
+</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</a></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">: <span class="extype" name="scala.Unit">Unit</span></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: <span class="extype" name="scala.Long">Long</span></span>, <span name="arg1">arg1: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></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: <span class="extype" name="scala.Long">Long</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></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="org.apache.mahout.classifier.naivebayes.NaiveBayes">
+              <h3>Inherited from <a href="NaiveBayes.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</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

http://git-wip-us.apache.org/repos/asf/mahout/blob/ec571cae/docs/mahout-examples/org/apache/mahout/classifier/naivebayes/NaiveBayes.html
----------------------------------------------------------------------
diff --git a/docs/mahout-examples/org/apache/mahout/classifier/naivebayes/NaiveBayes.html b/docs/mahout-examples/org/apache/mahout/classifier/naivebayes/NaiveBayes.html
new file mode 100644
index 0000000..435d166
--- /dev/null
+++ b/docs/mahout-examples/org/apache/mahout/classifier/naivebayes/NaiveBayes.html
@@ -0,0 +1,549 @@
+<?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>NaiveBayes - Mahout Math Scala bindings 0.10.0 API - org.apache.mahout.classifier.naivebayes.NaiveBayes</title>
+          <meta name="description" content="NaiveBayes - Mahout Math Scala bindings 0.10.0 API - org.apache.mahout.classifier.naivebayes.NaiveBayes" />
+          <meta name="keywords" content="NaiveBayes Mahout Math Scala bindings 0.10.0 API org.apache.mahout.classifier.naivebayes.NaiveBayes" />
+          <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.mahout.classifier.naivebayes.NaiveBayes';
+            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="type">
+      <div id="definition">
+        <a href="NaiveBayes$.html" title="Go to companion"><img src="../../../../../lib/trait_to_object_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.mahout">mahout</a>.<a href="../package.html" class="extype" name="org.apache.mahout.classifier">classifier</a>.<a href="package.html" class="extype" name="org.apache.mahout.classifier.naivebayes">naivebayes</a></p>
+        <h1><a href="NaiveBayes$.html" title="Go to companion">NaiveBayes</a></h1>
+      </div>
+
+      <h4 id="signature" class="signature">
+      <span class="modifier_kind">
+        <span class="modifier"></span>
+        <span class="kind">trait</span>
+      </span>
+      <span class="symbol">
+        <span class="name">NaiveBayes</span><span class="result"> extends <span class="extype" name="java.io.Serializable">Serializable</span></span>
+      </span>
+      </h4>
+      
+          <div id="comment" class="fullcommenttop"><div class="comment cmt"><p>Distributed training of a Naive Bayes model. Follows the approach presented in Rennie et.al.: Tackling the poor
+assumptions of Naive Bayes Text classifiers, ICML 2003, http://people.csail.mit.edu/jrennie/papers/icml03-nb.pdf
+</p></div><div class="toggleContainer block">
+          <span class="toggle">Linear Supertypes</span>
+          <div class="superTypes hiddenContent"><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 class="toggleContainer block">
+          <span class="toggle">Known Subclasses</span>
+          <div class="subClasses hiddenContent"><a href="NaiveBayes$.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes">NaiveBayes</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.mahout.classifier.naivebayes.NaiveBayes"><span>NaiveBayes</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.mahout.classifier.naivebayes.NaiveBayes.CategoryParser" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
+      <a id="CategoryParser=String=&gt;String"></a>
+      <a id="CategoryParser:(String)⇒String"></a>
+      <h4 class="signature">
+      <span class="modifier_kind">
+        <span class="modifier"></span>
+        <span class="kind">type</span>
+      </span>
+      <span class="symbol">
+        <span class="name">CategoryParser</span><span class="result"> = (<span class="extype" name="scala.Predef.String">String</span>) ⇒ <span class="extype" name="scala.Predef.String">String</span></span>
+      </span>
+      </h4>
+      
+    </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">: <span class="extype" name="scala.Boolean">Boolean</span></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">: <span class="extype" name="scala.Boolean">Boolean</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###" 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">: <span class="extype" name="scala.Int">Int</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#==" 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">: <span class="extype" name="scala.Boolean">Boolean</span></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">: <span class="extype" name="scala.Boolean">Boolean</span></span>
+      </span>
+      </h4>
+      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
+    </li><li name="org.apache.mahout.classifier.naivebayes.NaiveBayes#argmax" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="argmax(v:org.apache.mahout.math.Vector):(Int,Double)"></a>
+      <a id="argmax(Vector):(Int,Double)"></a>
+      <h4 class="signature">
+      <span class="modifier_kind">
+        <span class="modifier"></span>
+        <span class="kind">def</span>
+      </span>
+      <span class="symbol">
+        <span class="name">argmax</span><span class="params">(<span name="v">v: <span class="extype" name="org.apache.mahout.math.Vector">Vector</span></span>)</span><span class="result">: (<span class="extype" name="scala.Int">Int</span>, <span class="extype" name="scala.Double">Double</span>)</span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">argmax with values as well
+returns a tuple of index of the max score and the score itself.</p><div class="fullcomment"><div class="comment cmt"><p>argmax with values as well
+returns a tuple of index of the max score and the score itself.</p></div><dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vector of of scores</p></dd><dt>returns</dt><dd class="cmt"><p>(bestIndex, bestScore)
+</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="org.apache.mahout.classifier.naivebayes.NaiveBayes#defaultAlphaI" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
+      <a id="defaultAlphaI:Float"></a>
+      <a id="defaultAlphaI:Float"></a>
+      <h4 class="signature">
+      <span class="modifier_kind">
+        <span class="modifier"></span>
+        <span class="kind">def</span>
+      </span>
+      <span class="symbol">
+        <span class="name">defaultAlphaI</span><span class="result">: <span class="extype" name="scala.Float">Float</span></span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">default value for the Laplacian smoothing parameter</p>
+    </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">: <span class="extype" name="scala.Boolean">Boolean</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#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">: <span class="extype" name="scala.Boolean">Boolean</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.mahout.classifier.naivebayes.NaiveBayes#extractLabelsAndAggregateObservations" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="extractLabelsAndAggregateObservations[K](stringKeyedObservations:org.apache.mahout.math.drm.DrmLike[K],cParser:String=&gt;String)(implicitevidence$1:scala.reflect.ClassTag[K],implicitctx:org.apache.mahout.math.drm.DistributedContext):(scala.collection.mutable.HashMap[String,Integer],org.apache.mahout.math.drm.DrmLike[Int])"></a>
+      <a id="extractLabelsAndAggregateObservations[K](DrmLike[K],(String)⇒String)(ClassTag[K],DistributedContext):(HashMap[String,Integer],DrmLike[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">extractLabelsAndAggregateObservations</span><span class="tparams">[<span name="K">K</span>]</span><span class="params">(<span name="stringKeyedObservations">stringKeyedObservations: <a href="../../math/drm/DrmLike.html" class="extype" name="org.apache.mahout.math.drm.DrmLike">DrmLike</a>[<span class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes.extractLabelsAndAggregateObservations.K">K</span>]</span>, <span name="cParser">cParser: (<span class="extype" name="scala.Predef.String">String</span>) ⇒ <span class="extype" name="scala.Predef.String">String</span> = <span class="symbol"><span class="name"><a href="#seq2SparseCategoryParser:String=&gt;String">seq2SparseCategoryParser</a></span></span></span>)</span><span class="params">(<span class="implicit">implicit </span><span name="arg0">arg0: <span class="extype" name="scala.reflect.ClassTag">ClassTag</span>[<span class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes.e
 xtractLabelsAndAggregateObservations.K">K</span>]</span>, <span name="ctx">ctx: <a href="../../math/drm/DistributedContext.html" class="extype" name="org.apache.mahout.math.drm.DistributedContext">DistributedContext</a></span>)</span><span class="result">: (<span class="extype" name="scala.collection.mutable.HashMap">HashMap</span>[<span class="extype" name="scala.Predef.String">String</span>, <span class="extype" name="java.lang.Integer">Integer</span>], <a href="../../math/drm/DrmLike.html" class="extype" name="org.apache.mahout.math.drm.DrmLike">DrmLike</a>[<span class="extype" name="scala.Int">Int</span>])</span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">Extract label Keys from raw TF or TF-IDF Matrix generated by seqdirectory/seq2sparse
+and aggregate TF or TF-IDF values by their label
+Override this method in engine specific modules to optimize
+</p><div class="fullcomment"><div class="comment cmt"><p>Extract label Keys from raw TF or TF-IDF Matrix generated by seqdirectory/seq2sparse
+and aggregate TF or TF-IDF values by their label
+Override this method in engine specific modules to optimize
+</p></div><dl class="paramcmts block"><dt class="param">stringKeyedObservations</dt><dd class="cmt"><p>DrmLike matrix; Output from seq2sparse
+  in form K = eg./Category/document_title
+          V = TF or TF-IDF values per term</p></dd><dt class="param">cParser</dt><dd class="cmt"><p>a String =&gt; String function used to extract categories from
+  Keys of the stringKeyedObservations DRM. The default
+  CategoryParser will extract &quot;Category&quot; from: '/Category/document_id'</p></dd><dt>returns</dt><dd class="cmt"><p>(labelIndexMap,aggregatedByLabelObservationDrm)
+  labelIndexMap is a HashMap [String, Integer] K = label row index
+                                               V = label
+  aggregatedByLabelObservationDrm is a DrmLike[Int] of aggregated
+  TF or TF-IDF counts per label
+</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">: <span class="extype" name="scala.Unit">Unit</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="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">: <span class="extype" name="scala.Int">Int</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.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">: <span class="extype" name="scala.Boolean">Boolean</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#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">: <span class="extype" name="scala.Boolean">Boolean</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#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">: <span class="extype" name="scala.Unit">Unit</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#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">: <span class="extype" name="scala.Unit">Unit</span></span>
+      </span>
+      </h4>
+      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
+    </li><li name="org.apache.mahout.classifier.naivebayes.NaiveBayes#seq2SparseCategoryParser" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
+      <a id="seq2SparseCategoryParser:String=&gt;String"></a>
+      <a id="seq2SparseCategoryParser:(String)⇒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">seq2SparseCategoryParser</span><span class="result">: (<span class="extype" name="scala.Predef.String">String</span>) ⇒ <span class="extype" name="scala.Predef.String">String</span></span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">Default: seqdirectory/seq2Sparse Categories are Stored in Drm Keys as: /Category/document_id</p>
+    </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="org.apache.mahout.classifier.naivebayes.NaiveBayes#test" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="test[K](model:org.apache.mahout.classifier.naivebayes.NBModel,testSet:org.apache.mahout.math.drm.DrmLike[K],testComplementary:Boolean,cParser:String=&gt;String)(implicitevidence$2:scala.reflect.ClassTag[K],implicitctx:org.apache.mahout.math.drm.DistributedContext):org.apache.mahout.classifier.stats.ResultAnalyzer"></a>
+      <a id="test[K](NBModel,DrmLike[K],Boolean,(String)⇒String)(ClassTag[K],DistributedContext):ResultAnalyzer"></a>
+      <h4 class="signature">
+      <span class="modifier_kind">
+        <span class="modifier"></span>
+        <span class="kind">def</span>
+      </span>
+      <span class="symbol">
+        <span class="name">test</span><span class="tparams">[<span name="K">K</span>]</span><span class="params">(<span name="model">model: <a href="NBModel.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NBModel">NBModel</a></span>, <span name="testSet">testSet: <a href="../../math/drm/DrmLike.html" class="extype" name="org.apache.mahout.math.drm.DrmLike">DrmLike</a>[<span class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes.test.K">K</span>]</span>, <span name="testComplementary">testComplementary: <span class="extype" name="scala.Boolean">Boolean</span> = <span class="symbol">false</span></span>, <span name="cParser">cParser: (<span class="extype" name="scala.Predef.String">String</span>) ⇒ <span class="extype" name="scala.Predef.String">String</span> = <span class="symbol"><span class="name"><a href="#seq2SparseCategoryParser:String=&gt;String">seq2SparseCategoryParser</a></span></span></span>)</span><span class="params">(<span class="impl
 icit">implicit </span><span name="arg0">arg0: <span class="extype" name="scala.reflect.ClassTag">ClassTag</span>[<span class="extype" name="org.apache.mahout.classifier.naivebayes.NaiveBayes.test.K">K</span>]</span>, <span name="ctx">ctx: <a href="../../math/drm/DistributedContext.html" class="extype" name="org.apache.mahout.math.drm.DistributedContext">DistributedContext</a></span>)</span><span class="result">: <a href="../stats/ResultAnalyzer.html" class="extype" name="org.apache.mahout.classifier.stats.ResultAnalyzer">ResultAnalyzer</a></span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">Test a trained model with a labeled dataset sequentially</p><div class="fullcomment"><div class="comment cmt"><p>Test a trained model with a labeled dataset sequentially</p></div><dl class="paramcmts block"><dt class="tparam">K</dt><dd class="cmt"><p>implicitly determined Key type of test set DRM: String</p></dd><dt class="param">model</dt><dd class="cmt"><p>a trained NBModel</p></dd><dt class="param">testSet</dt><dd class="cmt"><p>a labeled testing set</p></dd><dt class="param">testComplementary</dt><dd class="cmt"><p>test using a complementary or a standard NB classifier</p></dd><dt class="param">cParser</dt><dd class="cmt"><p>a String =&gt; String function used to extract categories from
+  Keys of the testing set DRM. The default
+  CategoryParser will extract &quot;Category&quot; from: '/Category/document_id'</p><p>  *Note*: this method brings the entire test set into upfront memory,
+          This method is optimized and parallelized in SparkNaiveBayes
+</p></dd><dt>returns</dt><dd class="cmt"><p>a result analyzer with confusion matrix and accuracy statistics
+</p></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.mahout.classifier.naivebayes.NaiveBayes#train" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
+      <a id="train(observationsPerLabel:org.apache.mahout.math.drm.DrmLike[Int],labelIndex:scala.collection.Map[String,Integer],trainComplementary:Boolean,alphaI:Float):org.apache.mahout.classifier.naivebayes.NBModel"></a>
+      <a id="train(DrmLike[Int],Map[String,Integer],Boolean,Float):NBModel"></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="params">(<span name="observationsPerLabel">observationsPerLabel: <a href="../../math/drm/DrmLike.html" class="extype" name="org.apache.mahout.math.drm.DrmLike">DrmLike</a>[<span class="extype" name="scala.Int">Int</span>]</span>, <span name="labelIndex">labelIndex: <span class="extype" name="scala.collection.Map">Map</span>[<span class="extype" name="scala.Predef.String">String</span>, <span class="extype" name="java.lang.Integer">Integer</span>]</span>, <span name="trainComplementary">trainComplementary: <span class="extype" name="scala.Boolean">Boolean</span> = <span class="symbol">true</span></span>, <span name="alphaI">alphaI: <span class="extype" name="scala.Float">Float</span> = <span class="symbol"><span class="name"><a href="#defaultAlphaI:Float">defaultAlphaI</a></span></span></span>)</span><span class="result">: <a href="NBModel.html" class="extype" name="org.apache.mahout.classifier.naivebayes.NBModel">NBModel</a></span>
+      </span>
+      </h4>
+      <p class="shortcomment cmt">Distributed training of a Naive Bayes model.</p><div class="fullcomment"><div class="comment cmt"><p>Distributed training of a Naive Bayes model. Follows the approach presented in Rennie et.al.: Tackling the poor
+assumptions of Naive Bayes Text classifiers, ICML 2003, http://people.csail.mit.edu/jrennie/papers/icml03-nb.pdf
+</p></div><dl class="paramcmts block"><dt class="param">observationsPerLabel</dt><dd class="cmt"><p>a DrmLike[Int] matrix containing term frequency counts for each label.</p></dd><dt class="param">trainComplementary</dt><dd class="cmt"><p>whether or not to train a complementary Naive Bayes model</p></dd><dt class="param">alphaI</dt><dd class="cmt"><p>Laplace smoothing parameter</p></dd><dt>returns</dt><dd class="cmt"><p>trained naive bayes model
+</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">: <span class="extype" name="scala.Unit">Unit</span></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: <span class="extype" name="scala.Long">Long</span></span>, <span name="arg1">arg1: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></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: <span class="extype" name="scala.Long">Long</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></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="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