http://git-wip-us.apache.org/repos/asf/mahout/blob/5112e9ec/docs/latest/distributed/spark-bindings/faq.html
----------------------------------------------------------------------
diff --git a/docs/latest/distributed/spark-bindings/faq.html 
b/docs/latest/distributed/spark-bindings/faq.html
index 721aba6..8110467 100644
--- a/docs/latest/distributed/spark-bindings/faq.html
+++ b/docs/latest/distributed/spark-bindings/faq.html
@@ -1,209 +1,169 @@
-
-
 <!DOCTYPE html>
-<html lang="en">
+<html lang=" en ">
+
 <head>
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
 
-  <title>FAQ</title>
-  
-  <meta name="author" content="Apache Mahout">
-
-  <!-- Enable responsive viewport -->
-  <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-  <!-- Bootstrap styles -->
-  <link href="/assets/themes/mahout3/css/bootstrap.min.css" rel="stylesheet">
-  <!-- Optional theme -->
-  <link href="/assets/themes/mahout3/css/bootstrap-theme.min.css" 
rel="stylesheet">
-  <!-- Sticky Footer -->
-  <link href="/assets/themes/mahout3/css/bs-sticky-footer.css" 
rel="stylesheet">
-
-  <!-- Custom styles -->
-  <link href="/assets/themes/mahout3/css/style.css" rel="stylesheet" 
type="text/css" media="all">
-
-  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media 
queries -->
-  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
-  <!--[if lt IE 9]>
-  <script 
src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js";></script>
-  <script 
src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js";></script>
-  <![endif]-->
-
-  <!-- Fav and touch icons -->
-  <!-- Update these with your own images
-    <link rel="shortcut icon" href="images/favicon.ico">
-    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
-    <link rel="apple-touch-icon" sizes="72x72" 
href="images/apple-touch-icon-72x72.png">
-    <link rel="apple-touch-icon" sizes="114x114" 
href="images/apple-touch-icon-114x114.png">
-  -->
-
-  <!-- atom & rss feed -->
-  <link href="/atom.xml" type="application/atom+xml" rel="alternate" 
title="Sitewide ATOM Feed">
-  <link href="/rss.xml" type="application/rss+xml" rel="alternate" 
title="Sitewide RSS Feed">
-  <script type="text/x-mathjax-config">
-  MathJax.Hub.Config({
-    tex2jax: {
-      skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
-    }
-  });
-  MathJax.Hub.Queue(function() {
-    var all = MathJax.Hub.getAllJax(), i;
-    for(i = 0; i < all.length; i += 1) {
-      all[i].SourceElement().parentNode.className += ' has-jax';
-    }
-  });
-  </script>
-  <script type="text/javascript">
-    var mathjax = document.createElement('script');
-    mathjax.type = 'text/javascript';
-    mathjax.async = true;
-
-    mathjax.src = ('https:' == document.location.protocol) ?
-        
'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 :
-        
'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
-
-      var s = document.getElementsByTagName('script')[0];
-    s.parentNode.insertBefore(mathjax, s);
-  </script>
-</head>
+  <title>
+    FAQ
+    
+  </title>
 
-<nav class="navbar navbar-default navbar-fixed-top">
-  <div class="container-fluid">
-    <!-- Brand and toggle get grouped for better mobile display -->
-    <div class="navbar-header">
-      <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" 
aria-expanded="false">
-        <span class="sr-only">Toggle navigation</span>
-        <span class="icon-bar"></span>
-        <span class="icon-bar"></span>
-        <span class="icon-bar"></span>
-      </button>
-      <a class="navbar-brand" href="/">
-        <img src="/assets/img/Mahout-logo-82x100.png" height="30" alt="I'm 
mahout">
-      </a>
-    </div>
+  <meta name="description" content="Distributed Linear Algebra">
 
-    
+  <link rel="stylesheet" href="/assets/css/main.css">
 
+  <!-- Font Awesome -->
+  <link 
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
 rel="stylesheet" 
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
 crossorigin="anonymous">
 
-<!-- Collect the nav links, forms, and other content for toggling -->
-<div class="collapse navbar-collapse" id="main-navbar">
-    <ul class="nav navbar-nav">
-
-        <!-- Quick Start -->
-        <li id="quickstart">
-            <a href="/index.html" >Mahout Overview</a>
-        </li>
-
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Key Concepts<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a href="/index.html">Mahout Overview</a></li>
-                <li><span><b>&nbsp;&nbsp;Scala DSL</b><span></li>
-                <li><a href="/mahout-samsara/in-core-reference.html">In-core 
Reference</a></li>
-                <li><a 
href="/mahout-samsara/out-of-core-reference.html">Out-of-core Reference</a></li>
-                <li><a href="/mahout-samsara/faq.html">Samsara FAQ</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Bindings</b><span></li>
-                <li><a href="/distributed/spark-bindings/">Spark 
Bindings</a></li>
-                <li><a href="/distributed/flink-bindings.html">Flink 
Bindings</a></li>
-                <li><a href="/distributed/flink-bindings.html">H20 
Bindings</a></li>
-                <!--<li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Native Solvers</b><span></li>
-                <li><a href="/native-solvers/viennacl.html">ViennaCL</a></li>
-                <li><a 
href="/native-solvers/viennacl-omp.html">ViennaCL-OMP</a></li>
-                <li><a href="/native-solvers/cuda.html">CUDA</a></li>-->
-            </ul>
-        </li>
-
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Tutorials<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><span>&nbsp;&nbsp;<b>Reccomenders</b><span></li>
-                <li><a href="/tutorials/cco-lastfm">CCO Example with Last.FM 
Data</a></li>
-                <li><a href="/tutorials/intro-cooccurrence-spark">Introduction 
to Cooccurrence in Spark</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Mahout Samsara</b><span></li>
-                <li><a href="/tutorials/samsara/play-with-shell.html">Playing 
with Samsara in Spark Shell</a></li>
-                <li><a 
href="/tutorials/samsara/playing-with-samsara-flink-batch.html">Playing with 
Samsara in Flink Batch</a></li>
-                <li><a 
href="/tutorials/samsara/classify-a-doc-from-the-shell.html">Text 
Classification (Shell)</a></li>
-                <li><a href="/tutorials/samsara/spark-naive-bayes.html">Spark 
Naive Bayes</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Misc</b><span></li>
-                <li><a href="/tutorials/misc/mahout-in-zeppelin">Mahout in 
Apache Zeppelin</a></li>
-                <li><a href="/tutorials/misc/contributing-algos">How To 
Contribute a New Algorithm</a></li>
-                <li><a href="/tutorials/misc/how-to-build-an-app.html">How To 
Build An App</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Deprecated</b><span></li>
-                <li><a href="/tutorials/map-reduce">MapReduce</a></li>
-            </ul>
-        </li>
-
-
-        <!-- Algorithms (Samsara / MR) -->
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Algorithms<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a href="/algorithms/linear-algebra">Distributed Linear 
Algebra</a></li>
-                <li><a href="/algorithms/preprocessors">Preprocessors</a></li>
-                <li><a href="/algorithms/regression">Regression</a></li>
-                <li><a href="/algorithms/reccomenders">Reccomenders</a></li>
-                <li role="separator" class="divider"></li>
-                <li><a href="/algorithms/map-reduce">MapReduce 
<i>(deprecated)</i></a></li>
-            </ul>
-                <!--<li><a 
href="/algorithms/reccomenders/recommender-overview.html">Reccomender 
Overview</a></li> Do we still need? seems like short version of next post-->
-                <!--
-                <li><a 
href="/algorithms/reccomenders/intro-cooccurrence-spark.html">Intro to 
Coocurrence With Spark</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<a 
href="/algorithms/map-reduce"><b>MapReduce</b> (deprecated)</a><span></li>
+  <!-- Google Fonts -->
+  <link href="https://fonts.googleapis.com/css?family=Maven+Pro:400,500"; 
rel="stylesheet">
+  <link href="https://fonts.googleapis.com/css?family=Muli:400,400i,700,700i"; 
rel="stylesheet">
 
+  <link rel="canonical" 
href="http://mahout.apache.org//docs/latest/distributed/spark-bindings/faq.html";>
+  <link rel="alternate" type="application/rss+xml" title="Apache Mahout" 
href="/%20/feed.xml">
 
-             -->
-        </li>
 
-        <!-- Scala Docs -->
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">API Docs<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a href="/0.13.0/api/index.html">0.13.0</a></li>
-            </ul>
-        </li>
-
-
-    </ul>
-    <form class="navbar-form navbar-left">
-        <div class="form-group">
-            <input type="text" class="form-control" placeholder="Search">
-        </div>
-        <button type="submit" class="btn btn-default">Submit</button>
-    </form>
-    <ul class="nav navbar-nav navbar-right">
-        <li><a href="http://github.com/apache/mahout";>Github</a></li>
-
-        <!-- Apache -->
-        <li class="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Apache <span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a 
href="http://www.apache.org/foundation/how-it-works.html";>Apache Software 
Foundation</a></li>
-                <li><a href="http://www.apache.org/licenses/";>Apache 
License</a></li>
-                <li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
-                <li><a 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+</head>
+
+
+<body>
+
+  <nav class="navbar navbar-expand-lg navbar-light bg-light navbar-mahout">
+
+    <div class="container">
+
+        <a class="navbar-brand" href="/">
+            <img src="/assets/mahout-logo-blue.svg" alt="">
+        </a>
+
+        <button class="navbar-toggler" type="button" data-toggle="collapse" 
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" 
aria-expanded="false" aria-label="Toggle navigation">
+            <span class="navbar-toggler-icon"></span>
+        </button>
+
+        <div class="collapse navbar-collapse" id="navbarSupportedContent">
+
+            <div class="navbar-nav ml-auto">
+
+                <!-- Quick Start -->
+                <li class="nav-item">
+                    <a class="nav-link" href="//docs/latest/" >Mahout 
Overview</a>
+                </li>
+
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Key Concepts</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="/docs/latest/index.html">Mahout Overview</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Scala DSL</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/mahout-samsara/in-core-reference.html">In-core Reference</a>
+                        <a class="dropdown-item"  
href="/docs/latest/mahout-samsara/out-of-core-reference.html">Out-of-core 
Reference</a>
+                        <a class="dropdown-item"  
href="/docs/latest/mahout-samsara/faq.html">Samsara FAQ</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Distributed Engine 
Bindings</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/distributed/spark-bindings/">Spark Bindings</a>
+                        <a class="dropdown-item"  
href="/docs/latest/distributed/flink-bindings.html">Flink Bindings</a>
+                        <a class="dropdown-item"  
href="/docs/latest/distributed/flink-bindings.html">H20 Bindings</a>
+                        <!--<div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Native Solvers</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/native-solvers/viennacl.html">ViennaCL</a></li>
+                        <a class="dropdown-item"  
href="/docs/latest/native-solvers/viennacl-omp.html">ViennaCL-OMP</a></li>
+                        <a class="dropdown-item"  
href="/docs/latest/native-solvers/cuda.html">CUDA</a></li>-->
+                    </div>
+                </li>
+
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Tutorial</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Reccomenders</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/cco-lastfm">CCO Example with Last.FM Data</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/intro-cooccurrence-spark">Introduction to 
Cooccurrence in Spark</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Mahout Samsara</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/play-with-shell.html">Playing with Samsara 
in Spark Shell</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/playing-with-samsara-flink-batch.html">Playing
 with Samsara in Flink Batch</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/classify-a-doc-from-the-shell.html">Text 
Classification (Shell)</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/spark-naive-bayes.html">Spark Naive 
Bayes</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Misc</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/misc/mahout-in-zeppelin">Mahout in Apache 
Zeppelin</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/misc/contributing-algos">How To Contribute a New 
Algorithm</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/misc/how-to-build-an-app.html">How To Build An 
App</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Deprecated</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/map-reduce">MapReduce</a>
+                    </div>
+                </li>
+
+
+                <!-- Algorithms (Samsara / MR) -->
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Algorithms</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/linear-algebra">Distributed Linear Algebra</a>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/preprocessors">Preprocessors</a>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/regression">Regression</a>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/reccomenders">Reccomenders</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Deprecated</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/map-reduce">MapReduce <i>(deprecated)</i></a>
+                    </div>
+                        <!--<a class="dropdown-item"  
href="/docs/latest/algorithms/reccomenders/recommender-overview.html">Reccomender
 Overview</a></li> Do we still need? seems like short version of next post-->
+                        <!--
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/reccomenders/intro-cooccurrence-spark.html">Intro 
to Coocurrence With Spark</a></li>
+                        <li role="separator" class="divider"></li>
+                        <li><span>&nbsp;&nbsp;<a 
href="/docs/latest/algorithms/map-reduce"><b>MapReduce</b> 
(deprecated)</a><span></li>
+
+
+                     -->
+                </li>
+
+                <!-- Scala /docs -->
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">API /docs</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="/docs/latest/0.13.0/api/index.html">0.13.0</a>
+                    </div>
+                </li>
+
+                <!-- Apache -->
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Apache</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="http://www.apache.org/foundation/how-it-works.html";>Apache Software 
Foundation</a>
+                        <a class="dropdown-item"  
href="http://www.apache.org/licenses/";>Apache License</a>
+                        <a class="dropdown-item"  
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a>
+                        <a class="dropdown-item"  
href="http://www.apache.org/foundation/thanks.html";>Thanks</a>
+                    </div>
+                </li>
+
             </ul>
-        </li>
 
-    </ul>
-</div><!-- /.navbar-collapse -->
+                <!--<form class="navbar-form navbar-left">-->
+                    <!--<div class="form-group">-->
+                        <!--<input type="text" class="form-control" 
placeholder="Search">-->
+                    <!--</div>-->
+                    <!--<button type="submit" class="btn 
btn-default">Submit</button>-->
+                <!--</form>-->
+                <!--<ul class="nav navbar-nav navbar-right">-->
+                    <!--<a class="dropdown-item"  
href="http://github.com/apache/mahout";>Github</a></li>-->
+
 
-  </div><!-- /.container-fluid -->
+
+                <!--</ul>-->
+        </div><!-- /.navbar-collapse -->
+    </div>
 </nav>
 
-<body>
+  <div class="container mt-5 pb-4">
 
-<div id="wrap">
-  <body class="">
+  <div class="row">
 
-  <div class="container">
-    <h1 id="faq-for-using-mahout-with-spark">FAQ for using Mahout with 
Spark</h1>
+    <div class="col-lg-8">
+      <h1 id="faq-for-using-mahout-with-spark">FAQ for using Mahout with 
Spark</h1>
 
 <p><strong>Q: Mahout Spark shell doesn’t start; “ClassNotFound” problems 
or various classpath problems.</strong></p>
 
@@ -220,10 +180,10 @@ the classpath is sane and is made available to Mahout:</p>
 <ol>
   <li>Check Spark is of correct version (same as in Mahout’s poms), is 
compiled and SPARK_HOME is set.</li>
   <li>Check Mahout is compiled and MAHOUT_HOME is set.</li>
-  <li>Run <code>$SPARK_HOME/bin/compute-classpath.sh</code> and make sure it 
produces sane result with no errors. 
+  <li>Run <code 
class="highlighter-rouge">$SPARK_HOME/bin/compute-classpath.sh</code> and make 
sure it produces sane result with no errors. 
 If it outputs something other than a straightforward classpath string, most 
likely Spark is not compiled/set correctly (later spark versions require 
-<code>sbt/sbt assembly</code> to be run, simply runnig <code>sbt/sbt 
publish-local</code> is not enough any longer).</li>
-  <li>Run <code>$MAHOUT_HOME/bin/mahout -spark classpath</code> and check that 
path reported in step (3) is included.</li>
+<code class="highlighter-rouge">sbt/sbt assembly</code> to be run, simply 
runnig <code class="highlighter-rouge">sbt/sbt publish-local</code> is not 
enough any longer).</li>
+  <li>Run <code class="highlighter-rouge">$MAHOUT_HOME/bin/mahout -spark 
classpath</code> and check that path reported in step (3) is included.</li>
 </ol>
 
 <p><strong>Q: I am using the command line Mahout jobs that run on Spark or am 
writing my own application that uses 
@@ -250,30 +210,26 @@ or mis-identified classes.</li>
 <p><strong>A:</strong> In the Mahout spark-shell the SparkContext is called 
‘sdc’, where the ‘d’ stands for distributed.</p>
 
 
-  </div>
-
+    </div>
 
-</div>
 
-<div id="footer">
-  <div class="container">
-    <p>&copy; 2017 Apache Mahout
-      with help from <a href="http://jekyllbootstrap.com"; target="_blank" 
title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
-      and <a href="http://getbootstrap.com"; target="_blank">Bootstrap</a>
-    </p>
   </div>
-</div>
-
-
 
+</div>
 
 
+  <footer class="footer bg-light">
+    <div class="container text-center small">
+        Copyright &copy; 2014-2017 The Apache Software Foundation, Licensed 
under the Apache License, Version 2.0.
+    </div>
+</footer>
 
+  <script src="/assets/vendor/jquery/jquery-slim.min.js"></script>
+  <script src="/assets/vendor/popper/popper.min.js"></script>
+  <script src="/assets/vendor/bootstrap/js/bootstrap.min.js"></script>
+  <script src="/assets/header.js"></script>
+  <script 
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
 type="text/javascript"></script>
 
-<!-- Latest compiled and minified JavaScript, requires jQuery 1.x (2.x not 
supported in IE8) -->
-<!-- Placed at the end of the document so the pages load faster -->
-<script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";></script>
-<script src="/assets/themes/mahout3/js/bootstrap.min.js"></script>
 </body>
-</html>
 
+</html>

http://git-wip-us.apache.org/repos/asf/mahout/blob/5112e9ec/docs/latest/distributed/spark-bindings/index.html
----------------------------------------------------------------------
diff --git a/docs/latest/distributed/spark-bindings/index.html 
b/docs/latest/distributed/spark-bindings/index.html
index 45d9e0b..13ac32f 100644
--- a/docs/latest/distributed/spark-bindings/index.html
+++ b/docs/latest/distributed/spark-bindings/index.html
@@ -1,223 +1,184 @@
-
-
 <!DOCTYPE html>
-<html lang="en">
+<html lang=" en ">
+
 <head>
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
 
-  <title>Spark Bindings</title>
-  
-  <meta name="author" content="Apache Mahout">
-
-  <!-- Enable responsive viewport -->
-  <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-  <!-- Bootstrap styles -->
-  <link href="/assets/themes/mahout3/css/bootstrap.min.css" rel="stylesheet">
-  <!-- Optional theme -->
-  <link href="/assets/themes/mahout3/css/bootstrap-theme.min.css" 
rel="stylesheet">
-  <!-- Sticky Footer -->
-  <link href="/assets/themes/mahout3/css/bs-sticky-footer.css" 
rel="stylesheet">
-
-  <!-- Custom styles -->
-  <link href="/assets/themes/mahout3/css/style.css" rel="stylesheet" 
type="text/css" media="all">
-
-  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media 
queries -->
-  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
-  <!--[if lt IE 9]>
-  <script 
src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js";></script>
-  <script 
src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js";></script>
-  <![endif]-->
-
-  <!-- Fav and touch icons -->
-  <!-- Update these with your own images
-    <link rel="shortcut icon" href="images/favicon.ico">
-    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
-    <link rel="apple-touch-icon" sizes="72x72" 
href="images/apple-touch-icon-72x72.png">
-    <link rel="apple-touch-icon" sizes="114x114" 
href="images/apple-touch-icon-114x114.png">
-  -->
-
-  <!-- atom & rss feed -->
-  <link href="/atom.xml" type="application/atom+xml" rel="alternate" 
title="Sitewide ATOM Feed">
-  <link href="/rss.xml" type="application/rss+xml" rel="alternate" 
title="Sitewide RSS Feed">
-  <script type="text/x-mathjax-config">
-  MathJax.Hub.Config({
-    tex2jax: {
-      skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
-    }
-  });
-  MathJax.Hub.Queue(function() {
-    var all = MathJax.Hub.getAllJax(), i;
-    for(i = 0; i < all.length; i += 1) {
-      all[i].SourceElement().parentNode.className += ' has-jax';
-    }
-  });
-  </script>
-  <script type="text/javascript">
-    var mathjax = document.createElement('script');
-    mathjax.type = 'text/javascript';
-    mathjax.async = true;
-
-    mathjax.src = ('https:' == document.location.protocol) ?
-        
'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 :
-        
'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
-
-      var s = document.getElementsByTagName('script')[0];
-    s.parentNode.insertBefore(mathjax, s);
-  </script>
-</head>
+  <title>
+    Spark Bindings
+    
+  </title>
 
-<nav class="navbar navbar-default navbar-fixed-top">
-  <div class="container-fluid">
-    <!-- Brand and toggle get grouped for better mobile display -->
-    <div class="navbar-header">
-      <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" 
aria-expanded="false">
-        <span class="sr-only">Toggle navigation</span>
-        <span class="icon-bar"></span>
-        <span class="icon-bar"></span>
-        <span class="icon-bar"></span>
-      </button>
-      <a class="navbar-brand" href="/">
-        <img src="/assets/img/Mahout-logo-82x100.png" height="30" alt="I'm 
mahout">
-      </a>
-    </div>
+  <meta name="description" content="Distributed Linear Algebra">
 
-    
+  <link rel="stylesheet" href="/assets/css/main.css">
 
+  <!-- Font Awesome -->
+  <link 
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
 rel="stylesheet" 
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
 crossorigin="anonymous">
 
-<!-- Collect the nav links, forms, and other content for toggling -->
-<div class="collapse navbar-collapse" id="main-navbar">
-    <ul class="nav navbar-nav">
-
-        <!-- Quick Start -->
-        <li id="quickstart">
-            <a href="/index.html" >Mahout Overview</a>
-        </li>
-
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Key Concepts<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a href="/index.html">Mahout Overview</a></li>
-                <li><span><b>&nbsp;&nbsp;Scala DSL</b><span></li>
-                <li><a href="/mahout-samsara/in-core-reference.html">In-core 
Reference</a></li>
-                <li><a 
href="/mahout-samsara/out-of-core-reference.html">Out-of-core Reference</a></li>
-                <li><a href="/mahout-samsara/faq.html">Samsara FAQ</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Bindings</b><span></li>
-                <li><a href="/distributed/spark-bindings/">Spark 
Bindings</a></li>
-                <li><a href="/distributed/flink-bindings.html">Flink 
Bindings</a></li>
-                <li><a href="/distributed/flink-bindings.html">H20 
Bindings</a></li>
-                <!--<li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Native Solvers</b><span></li>
-                <li><a href="/native-solvers/viennacl.html">ViennaCL</a></li>
-                <li><a 
href="/native-solvers/viennacl-omp.html">ViennaCL-OMP</a></li>
-                <li><a href="/native-solvers/cuda.html">CUDA</a></li>-->
-            </ul>
-        </li>
-
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Tutorials<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><span>&nbsp;&nbsp;<b>Reccomenders</b><span></li>
-                <li><a href="/tutorials/cco-lastfm">CCO Example with Last.FM 
Data</a></li>
-                <li><a href="/tutorials/intro-cooccurrence-spark">Introduction 
to Cooccurrence in Spark</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Mahout Samsara</b><span></li>
-                <li><a href="/tutorials/samsara/play-with-shell.html">Playing 
with Samsara in Spark Shell</a></li>
-                <li><a 
href="/tutorials/samsara/playing-with-samsara-flink-batch.html">Playing with 
Samsara in Flink Batch</a></li>
-                <li><a 
href="/tutorials/samsara/classify-a-doc-from-the-shell.html">Text 
Classification (Shell)</a></li>
-                <li><a href="/tutorials/samsara/spark-naive-bayes.html">Spark 
Naive Bayes</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Misc</b><span></li>
-                <li><a href="/tutorials/misc/mahout-in-zeppelin">Mahout in 
Apache Zeppelin</a></li>
-                <li><a href="/tutorials/misc/contributing-algos">How To 
Contribute a New Algorithm</a></li>
-                <li><a href="/tutorials/misc/how-to-build-an-app.html">How To 
Build An App</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Deprecated</b><span></li>
-                <li><a href="/tutorials/map-reduce">MapReduce</a></li>
-            </ul>
-        </li>
-
-
-        <!-- Algorithms (Samsara / MR) -->
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Algorithms<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a href="/algorithms/linear-algebra">Distributed Linear 
Algebra</a></li>
-                <li><a href="/algorithms/preprocessors">Preprocessors</a></li>
-                <li><a href="/algorithms/regression">Regression</a></li>
-                <li><a href="/algorithms/reccomenders">Reccomenders</a></li>
-                <li role="separator" class="divider"></li>
-                <li><a href="/algorithms/map-reduce">MapReduce 
<i>(deprecated)</i></a></li>
-            </ul>
-                <!--<li><a 
href="/algorithms/reccomenders/recommender-overview.html">Reccomender 
Overview</a></li> Do we still need? seems like short version of next post-->
-                <!--
-                <li><a 
href="/algorithms/reccomenders/intro-cooccurrence-spark.html">Intro to 
Coocurrence With Spark</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<a 
href="/algorithms/map-reduce"><b>MapReduce</b> (deprecated)</a><span></li>
+  <!-- Google Fonts -->
+  <link href="https://fonts.googleapis.com/css?family=Maven+Pro:400,500"; 
rel="stylesheet">
+  <link href="https://fonts.googleapis.com/css?family=Muli:400,400i,700,700i"; 
rel="stylesheet">
 
+  <link rel="canonical" 
href="http://mahout.apache.org//docs/latest/distributed/spark-bindings/";>
+  <link rel="alternate" type="application/rss+xml" title="Apache Mahout" 
href="/%20/feed.xml">
 
-             -->
-        </li>
 
-        <!-- Scala Docs -->
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">API Docs<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a href="/0.13.0/api/index.html">0.13.0</a></li>
-            </ul>
-        </li>
-
-
-    </ul>
-    <form class="navbar-form navbar-left">
-        <div class="form-group">
-            <input type="text" class="form-control" placeholder="Search">
-        </div>
-        <button type="submit" class="btn btn-default">Submit</button>
-    </form>
-    <ul class="nav navbar-nav navbar-right">
-        <li><a href="http://github.com/apache/mahout";>Github</a></li>
-
-        <!-- Apache -->
-        <li class="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Apache <span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a 
href="http://www.apache.org/foundation/how-it-works.html";>Apache Software 
Foundation</a></li>
-                <li><a href="http://www.apache.org/licenses/";>Apache 
License</a></li>
-                <li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
-                <li><a 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+</head>
+
+
+<body>
+
+  <nav class="navbar navbar-expand-lg navbar-light bg-light navbar-mahout">
+
+    <div class="container">
+
+        <a class="navbar-brand" href="/">
+            <img src="/assets/mahout-logo-blue.svg" alt="">
+        </a>
+
+        <button class="navbar-toggler" type="button" data-toggle="collapse" 
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" 
aria-expanded="false" aria-label="Toggle navigation">
+            <span class="navbar-toggler-icon"></span>
+        </button>
+
+        <div class="collapse navbar-collapse" id="navbarSupportedContent">
+
+            <div class="navbar-nav ml-auto">
+
+                <!-- Quick Start -->
+                <li class="nav-item">
+                    <a class="nav-link" href="//docs/latest/" >Mahout 
Overview</a>
+                </li>
+
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Key Concepts</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="/docs/latest/index.html">Mahout Overview</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Scala DSL</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/mahout-samsara/in-core-reference.html">In-core Reference</a>
+                        <a class="dropdown-item"  
href="/docs/latest/mahout-samsara/out-of-core-reference.html">Out-of-core 
Reference</a>
+                        <a class="dropdown-item"  
href="/docs/latest/mahout-samsara/faq.html">Samsara FAQ</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Distributed Engine 
Bindings</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/distributed/spark-bindings/">Spark Bindings</a>
+                        <a class="dropdown-item"  
href="/docs/latest/distributed/flink-bindings.html">Flink Bindings</a>
+                        <a class="dropdown-item"  
href="/docs/latest/distributed/flink-bindings.html">H20 Bindings</a>
+                        <!--<div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Native Solvers</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/native-solvers/viennacl.html">ViennaCL</a></li>
+                        <a class="dropdown-item"  
href="/docs/latest/native-solvers/viennacl-omp.html">ViennaCL-OMP</a></li>
+                        <a class="dropdown-item"  
href="/docs/latest/native-solvers/cuda.html">CUDA</a></li>-->
+                    </div>
+                </li>
+
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Tutorial</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Reccomenders</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/cco-lastfm">CCO Example with Last.FM Data</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/intro-cooccurrence-spark">Introduction to 
Cooccurrence in Spark</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Mahout Samsara</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/play-with-shell.html">Playing with Samsara 
in Spark Shell</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/playing-with-samsara-flink-batch.html">Playing
 with Samsara in Flink Batch</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/classify-a-doc-from-the-shell.html">Text 
Classification (Shell)</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/spark-naive-bayes.html">Spark Naive 
Bayes</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Misc</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/misc/mahout-in-zeppelin">Mahout in Apache 
Zeppelin</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/misc/contributing-algos">How To Contribute a New 
Algorithm</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/misc/how-to-build-an-app.html">How To Build An 
App</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Deprecated</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/map-reduce">MapReduce</a>
+                    </div>
+                </li>
+
+
+                <!-- Algorithms (Samsara / MR) -->
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Algorithms</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/linear-algebra">Distributed Linear Algebra</a>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/preprocessors">Preprocessors</a>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/regression">Regression</a>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/reccomenders">Reccomenders</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Deprecated</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/map-reduce">MapReduce <i>(deprecated)</i></a>
+                    </div>
+                        <!--<a class="dropdown-item"  
href="/docs/latest/algorithms/reccomenders/recommender-overview.html">Reccomender
 Overview</a></li> Do we still need? seems like short version of next post-->
+                        <!--
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/reccomenders/intro-cooccurrence-spark.html">Intro 
to Coocurrence With Spark</a></li>
+                        <li role="separator" class="divider"></li>
+                        <li><span>&nbsp;&nbsp;<a 
href="/docs/latest/algorithms/map-reduce"><b>MapReduce</b> 
(deprecated)</a><span></li>
+
+
+                     -->
+                </li>
+
+                <!-- Scala /docs -->
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">API /docs</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="/docs/latest/0.13.0/api/index.html">0.13.0</a>
+                    </div>
+                </li>
+
+                <!-- Apache -->
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Apache</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="http://www.apache.org/foundation/how-it-works.html";>Apache Software 
Foundation</a>
+                        <a class="dropdown-item"  
href="http://www.apache.org/licenses/";>Apache License</a>
+                        <a class="dropdown-item"  
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a>
+                        <a class="dropdown-item"  
href="http://www.apache.org/foundation/thanks.html";>Thanks</a>
+                    </div>
+                </li>
+
             </ul>
-        </li>
 
-    </ul>
-</div><!-- /.navbar-collapse -->
+                <!--<form class="navbar-form navbar-left">-->
+                    <!--<div class="form-group">-->
+                        <!--<input type="text" class="form-control" 
placeholder="Search">-->
+                    <!--</div>-->
+                    <!--<button type="submit" class="btn 
btn-default">Submit</button>-->
+                <!--</form>-->
+                <!--<ul class="nav navbar-nav navbar-right">-->
+                    <!--<a class="dropdown-item"  
href="http://github.com/apache/mahout";>Github</a></li>-->
 
-  </div><!-- /.container-fluid -->
+
+
+                <!--</ul>-->
+        </div><!-- /.navbar-collapse -->
+    </div>
 </nav>
 
-<body>
+  <div class="container mt-5 pb-4">
 
-<div id="wrap">
-  <body class="">
+  <div class="row">
 
-  <div class="container">
-    <h1 id="scala--spark-bindings">Scala &amp; Spark Bindings:</h1>
+    <div class="col-lg-8">
+      <h1 id="scala--spark-bindings">Scala &amp; Spark Bindings:</h1>
 <p><em>Bringing algebraic semantics</em></p>
 
 <h2 id="what-is-scala--spark-bindings">What is Scala &amp; Spark Bindings?</h2>
 
 <p>In short, Scala &amp; Spark Bindings for Mahout is Scala DSL and algebraic 
optimizer of something like this (actual formula from 
<strong>(d)spca</strong>)</p>
 
-<p><code>\[\mathbf{G}=\mathbf{B}\mathbf{B}^{\top}-\mathbf{C}-\mathbf{C}^{\top}+\mathbf{s}_{q}\mathbf{s}_{q}^{\top}\boldsymbol{\xi}^{\top}\boldsymbol{\xi}\]</code></p>
+<p><code 
class="highlighter-rouge">\[\mathbf{G}=\mathbf{B}\mathbf{B}^{\top}-\mathbf{C}-\mathbf{C}^{\top}+\mathbf{s}_{q}\mathbf{s}_{q}^{\top}\boldsymbol{\xi}^{\top}\boldsymbol{\xi}\]</code></p>
 
 <p>bound to in-core and distributed computations (currently, on Apache 
Spark).</p>
 
 <p>Mahout Scala &amp; Spark Bindings expression of the above:</p>
 
-<pre><code>    val g = bt.t %*% bt - c - c.t + (s_q cross s_q) * (xi dot xi)
+<div class="highlighter-rouge"><pre class="highlight"><code>    val g = bt.t 
%*% bt - c - c.t + (s_q cross s_q) * (xi dot xi)
 </code></pre>
+</div>
 
 <p>The main idea is that a scientist writing algebraic expressions cannot care 
less of distributed 
 operation plans and works <strong>entirely on the logical level</strong> just 
like he or she would do with R.</p>
@@ -300,30 +261,26 @@ Spark, Flink and H20.</p>
 * In-core GPU matrix adapters -->
 
 
-  </div>
-
+    </div>
 
-</div>
 
-<div id="footer">
-  <div class="container">
-    <p>&copy; 2017 Apache Mahout
-      with help from <a href="http://jekyllbootstrap.com"; target="_blank" 
title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
-      and <a href="http://getbootstrap.com"; target="_blank">Bootstrap</a>
-    </p>
   </div>
-</div>
-
-
 
+</div>
 
 
+  <footer class="footer bg-light">
+    <div class="container text-center small">
+        Copyright &copy; 2014-2017 The Apache Software Foundation, Licensed 
under the Apache License, Version 2.0.
+    </div>
+</footer>
 
+  <script src="/assets/vendor/jquery/jquery-slim.min.js"></script>
+  <script src="/assets/vendor/popper/popper.min.js"></script>
+  <script src="/assets/vendor/bootstrap/js/bootstrap.min.js"></script>
+  <script src="/assets/header.js"></script>
+  <script 
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
 type="text/javascript"></script>
 
-<!-- Latest compiled and minified JavaScript, requires jQuery 1.x (2.x not 
supported in IE8) -->
-<!-- Placed at the end of the document so the pages load faster -->
-<script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";></script>
-<script src="/assets/themes/mahout3/js/bootstrap.min.js"></script>
 </body>
-</html>
 
+</html>

http://git-wip-us.apache.org/repos/asf/mahout/blob/5112e9ec/docs/latest/index.html
----------------------------------------------------------------------
diff --git a/docs/latest/index.html b/docs/latest/index.html
index b06ff2d..b4cc3f6 100644
--- a/docs/latest/index.html
+++ b/docs/latest/index.html
@@ -1,217 +1,169 @@
-
-
 <!DOCTYPE html>
-<html lang="en">
+<html lang=" en ">
+
 <head>
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
 
-  <title>Welcome to the Docs</title>
-  
-  <meta name="author" content="Apache Mahout">
-
-  <!-- Enable responsive viewport -->
-  <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-  <!-- Bootstrap styles -->
-  <link href="/assets/themes/mahout3/css/bootstrap.min.css" rel="stylesheet">
-  <!-- Optional theme -->
-  <link href="/assets/themes/mahout3/css/bootstrap-theme.min.css" 
rel="stylesheet">
-  <!-- Sticky Footer -->
-  <link href="/assets/themes/mahout3/css/bs-sticky-footer.css" 
rel="stylesheet">
-
-  <!-- Custom styles -->
-  <link href="/assets/themes/mahout3/css/style.css" rel="stylesheet" 
type="text/css" media="all">
-
-  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media 
queries -->
-  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
-  <!--[if lt IE 9]>
-  <script 
src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js";></script>
-  <script 
src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js";></script>
-  <![endif]-->
-
-  <!-- Fav and touch icons -->
-  <!-- Update these with your own images
-    <link rel="shortcut icon" href="images/favicon.ico">
-    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
-    <link rel="apple-touch-icon" sizes="72x72" 
href="images/apple-touch-icon-72x72.png">
-    <link rel="apple-touch-icon" sizes="114x114" 
href="images/apple-touch-icon-114x114.png">
-  -->
-
-  <!-- atom & rss feed -->
-  <link href="/atom.xml" type="application/atom+xml" rel="alternate" 
title="Sitewide ATOM Feed">
-  <link href="/rss.xml" type="application/rss+xml" rel="alternate" 
title="Sitewide RSS Feed">
-  <script type="text/x-mathjax-config">
-  MathJax.Hub.Config({
-    tex2jax: {
-      skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
-    }
-  });
-  MathJax.Hub.Queue(function() {
-    var all = MathJax.Hub.getAllJax(), i;
-    for(i = 0; i < all.length; i += 1) {
-      all[i].SourceElement().parentNode.className += ' has-jax';
-    }
-  });
-  </script>
-  <script type="text/javascript">
-    var mathjax = document.createElement('script');
-    mathjax.type = 'text/javascript';
-    mathjax.async = true;
-
-    mathjax.src = ('https:' == document.location.protocol) ?
-        
'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 :
-        
'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
-
-      var s = document.getElementsByTagName('script')[0];
-    s.parentNode.insertBefore(mathjax, s);
-  </script>
-</head>
+  <title>
+    Welcome to the Docs
+    
+  </title>
 
-<nav class="navbar navbar-default navbar-fixed-top">
-  <div class="container-fluid">
-    <!-- Brand and toggle get grouped for better mobile display -->
-    <div class="navbar-header">
-      <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" 
aria-expanded="false">
-        <span class="sr-only">Toggle navigation</span>
-        <span class="icon-bar"></span>
-        <span class="icon-bar"></span>
-        <span class="icon-bar"></span>
-      </button>
-      <a class="navbar-brand" href="/">
-        <img src="/assets/img/Mahout-logo-82x100.png" height="30" alt="I'm 
mahout">
-      </a>
-    </div>
+  <meta name="description" content="Distributed Linear Algebra">
 
-    
+  <link rel="stylesheet" href="/assets/css/main.css">
 
+  <!-- Font Awesome -->
+  <link 
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
 rel="stylesheet" 
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
 crossorigin="anonymous">
 
-<!-- Collect the nav links, forms, and other content for toggling -->
-<div class="collapse navbar-collapse" id="main-navbar">
-    <ul class="nav navbar-nav">
-
-        <!-- Quick Start -->
-        <li id="quickstart">
-            <a href="/index.html" >Mahout Overview</a>
-        </li>
-
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Key Concepts<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a href="/index.html">Mahout Overview</a></li>
-                <li><span><b>&nbsp;&nbsp;Scala DSL</b><span></li>
-                <li><a href="/mahout-samsara/in-core-reference.html">In-core 
Reference</a></li>
-                <li><a 
href="/mahout-samsara/out-of-core-reference.html">Out-of-core Reference</a></li>
-                <li><a href="/mahout-samsara/faq.html">Samsara FAQ</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Bindings</b><span></li>
-                <li><a href="/distributed/spark-bindings/">Spark 
Bindings</a></li>
-                <li><a href="/distributed/flink-bindings.html">Flink 
Bindings</a></li>
-                <li><a href="/distributed/flink-bindings.html">H20 
Bindings</a></li>
-                <!--<li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Native Solvers</b><span></li>
-                <li><a href="/native-solvers/viennacl.html">ViennaCL</a></li>
-                <li><a 
href="/native-solvers/viennacl-omp.html">ViennaCL-OMP</a></li>
-                <li><a href="/native-solvers/cuda.html">CUDA</a></li>-->
-            </ul>
-        </li>
-
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Tutorials<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><span>&nbsp;&nbsp;<b>Reccomenders</b><span></li>
-                <li><a href="/tutorials/cco-lastfm">CCO Example with Last.FM 
Data</a></li>
-                <li><a href="/tutorials/intro-cooccurrence-spark">Introduction 
to Cooccurrence in Spark</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Mahout Samsara</b><span></li>
-                <li><a href="/tutorials/samsara/play-with-shell.html">Playing 
with Samsara in Spark Shell</a></li>
-                <li><a 
href="/tutorials/samsara/playing-with-samsara-flink-batch.html">Playing with 
Samsara in Flink Batch</a></li>
-                <li><a 
href="/tutorials/samsara/classify-a-doc-from-the-shell.html">Text 
Classification (Shell)</a></li>
-                <li><a href="/tutorials/samsara/spark-naive-bayes.html">Spark 
Naive Bayes</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Misc</b><span></li>
-                <li><a href="/tutorials/misc/mahout-in-zeppelin">Mahout in 
Apache Zeppelin</a></li>
-                <li><a href="/tutorials/misc/contributing-algos">How To 
Contribute a New Algorithm</a></li>
-                <li><a href="/tutorials/misc/how-to-build-an-app.html">How To 
Build An App</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<b>Deprecated</b><span></li>
-                <li><a href="/tutorials/map-reduce">MapReduce</a></li>
-            </ul>
-        </li>
-
-
-        <!-- Algorithms (Samsara / MR) -->
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Algorithms<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a href="/algorithms/linear-algebra">Distributed Linear 
Algebra</a></li>
-                <li><a href="/algorithms/preprocessors">Preprocessors</a></li>
-                <li><a href="/algorithms/regression">Regression</a></li>
-                <li><a href="/algorithms/reccomenders">Reccomenders</a></li>
-                <li role="separator" class="divider"></li>
-                <li><a href="/algorithms/map-reduce">MapReduce 
<i>(deprecated)</i></a></li>
-            </ul>
-                <!--<li><a 
href="/algorithms/reccomenders/recommender-overview.html">Reccomender 
Overview</a></li> Do we still need? seems like short version of next post-->
-                <!--
-                <li><a 
href="/algorithms/reccomenders/intro-cooccurrence-spark.html">Intro to 
Coocurrence With Spark</a></li>
-                <li role="separator" class="divider"></li>
-                <li><span>&nbsp;&nbsp;<a 
href="/algorithms/map-reduce"><b>MapReduce</b> (deprecated)</a><span></li>
+  <!-- Google Fonts -->
+  <link href="https://fonts.googleapis.com/css?family=Maven+Pro:400,500"; 
rel="stylesheet">
+  <link href="https://fonts.googleapis.com/css?family=Muli:400,400i,700,700i"; 
rel="stylesheet">
 
+  <link rel="canonical" href="http://mahout.apache.org//docs/latest/";>
+  <link rel="alternate" type="application/rss+xml" title="Apache Mahout" 
href="/%20/feed.xml">
 
-             -->
-        </li>
 
-        <!-- Scala Docs -->
-        <li id="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">API Docs<span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a href="/0.13.0/api/index.html">0.13.0</a></li>
-            </ul>
-        </li>
-
-
-    </ul>
-    <form class="navbar-form navbar-left">
-        <div class="form-group">
-            <input type="text" class="form-control" placeholder="Search">
-        </div>
-        <button type="submit" class="btn btn-default">Submit</button>
-    </form>
-    <ul class="nav navbar-nav navbar-right">
-        <li><a href="http://github.com/apache/mahout";>Github</a></li>
-
-        <!-- Apache -->
-        <li class="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">Apache <span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-                <li><a 
href="http://www.apache.org/foundation/how-it-works.html";>Apache Software 
Foundation</a></li>
-                <li><a href="http://www.apache.org/licenses/";>Apache 
License</a></li>
-                <li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
-                <li><a 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+</head>
+
+
+<body>
+
+  <nav class="navbar navbar-expand-lg navbar-light bg-light navbar-mahout">
+
+    <div class="container">
+
+        <a class="navbar-brand" href="/">
+            <img src="/assets/mahout-logo-blue.svg" alt="">
+        </a>
+
+        <button class="navbar-toggler" type="button" data-toggle="collapse" 
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" 
aria-expanded="false" aria-label="Toggle navigation">
+            <span class="navbar-toggler-icon"></span>
+        </button>
+
+        <div class="collapse navbar-collapse" id="navbarSupportedContent">
+
+            <div class="navbar-nav ml-auto">
+
+                <!-- Quick Start -->
+                <li class="nav-item">
+                    <a class="nav-link" href="//docs/latest/" >Mahout 
Overview</a>
+                </li>
+
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Key Concepts</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="/docs/latest/index.html">Mahout Overview</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Scala DSL</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/mahout-samsara/in-core-reference.html">In-core Reference</a>
+                        <a class="dropdown-item"  
href="/docs/latest/mahout-samsara/out-of-core-reference.html">Out-of-core 
Reference</a>
+                        <a class="dropdown-item"  
href="/docs/latest/mahout-samsara/faq.html">Samsara FAQ</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Distributed Engine 
Bindings</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/distributed/spark-bindings/">Spark Bindings</a>
+                        <a class="dropdown-item"  
href="/docs/latest/distributed/flink-bindings.html">Flink Bindings</a>
+                        <a class="dropdown-item"  
href="/docs/latest/distributed/flink-bindings.html">H20 Bindings</a>
+                        <!--<div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Native Solvers</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/native-solvers/viennacl.html">ViennaCL</a></li>
+                        <a class="dropdown-item"  
href="/docs/latest/native-solvers/viennacl-omp.html">ViennaCL-OMP</a></li>
+                        <a class="dropdown-item"  
href="/docs/latest/native-solvers/cuda.html">CUDA</a></li>-->
+                    </div>
+                </li>
+
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Tutorial</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Reccomenders</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/cco-lastfm">CCO Example with Last.FM Data</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/intro-cooccurrence-spark">Introduction to 
Cooccurrence in Spark</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Mahout Samsara</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/play-with-shell.html">Playing with Samsara 
in Spark Shell</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/playing-with-samsara-flink-batch.html">Playing
 with Samsara in Flink Batch</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/classify-a-doc-from-the-shell.html">Text 
Classification (Shell)</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/samsara/spark-naive-bayes.html">Spark Naive 
Bayes</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Misc</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/misc/mahout-in-zeppelin">Mahout in Apache 
Zeppelin</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/misc/contributing-algos">How To Contribute a New 
Algorithm</a>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/misc/how-to-build-an-app.html">How To Build An 
App</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Deprecated</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/tutorials/map-reduce">MapReduce</a>
+                    </div>
+                </li>
+
+
+                <!-- Algorithms (Samsara / MR) -->
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Algorithms</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/linear-algebra">Distributed Linear Algebra</a>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/preprocessors">Preprocessors</a>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/regression">Regression</a>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/reccomenders">Reccomenders</a>
+                        <div class="dropdown-divider"></div>
+                        <h6 class="dropdown-header">Deprecated</h6>
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/map-reduce">MapReduce <i>(deprecated)</i></a>
+                    </div>
+                        <!--<a class="dropdown-item"  
href="/docs/latest/algorithms/reccomenders/recommender-overview.html">Reccomender
 Overview</a></li> Do we still need? seems like short version of next post-->
+                        <!--
+                        <a class="dropdown-item"  
href="/docs/latest/algorithms/reccomenders/intro-cooccurrence-spark.html">Intro 
to Coocurrence With Spark</a></li>
+                        <li role="separator" class="divider"></li>
+                        <li><span>&nbsp;&nbsp;<a 
href="/docs/latest/algorithms/map-reduce"><b>MapReduce</b> 
(deprecated)</a><span></li>
+
+
+                     -->
+                </li>
+
+                <!-- Scala /docs -->
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">API /docs</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="/docs/latest/0.13.0/api/index.html">0.13.0</a>
+                    </div>
+                </li>
+
+                <!-- Apache -->
+                <li class="nav-item dropdown">
+                    <a class="nav-link dropdown-toggle" href="" 
id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="false">Apache</a>
+                    <div class="dropdown-menu" 
aria-labelledby="navbarDropdownMenuLink">
+                        <a class="dropdown-item"  
href="http://www.apache.org/foundation/how-it-works.html";>Apache Software 
Foundation</a>
+                        <a class="dropdown-item"  
href="http://www.apache.org/licenses/";>Apache License</a>
+                        <a class="dropdown-item"  
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a>
+                        <a class="dropdown-item"  
href="http://www.apache.org/foundation/thanks.html";>Thanks</a>
+                    </div>
+                </li>
+
             </ul>
-        </li>
 
-    </ul>
-</div><!-- /.navbar-collapse -->
+                <!--<form class="navbar-form navbar-left">-->
+                    <!--<div class="form-group">-->
+                        <!--<input type="text" class="form-control" 
placeholder="Search">-->
+                    <!--</div>-->
+                    <!--<button type="submit" class="btn 
btn-default">Submit</button>-->
+                <!--</form>-->
+                <!--<ul class="nav navbar-nav navbar-right">-->
+                    <!--<a class="dropdown-item"  
href="http://github.com/apache/mahout";>Github</a></li>-->
 
-  </div><!-- /.container-fluid -->
-</nav>
 
-<body>
 
-<div id="wrap">
-  <body class="">
+                <!--</ul>-->
+        </div><!-- /.navbar-collapse -->
+    </div>
+</nav>
 
-  <div class="container">
-    
+  <div class="container mt-5 pb-4">
 
-<div class="page-header">
-  <h1>Welcome to the Docs  <small>Apache Mahout from 30,000 feet (10,000 
meters)</small></h1>
-</div>
+  <div class="row">
 
-<div class="row">
-  <div class="col-xs-12">
-    <p>You’ve probably already noticed Mahout has a lot of things going on 
at different levels, and it can be hard to know where
+    <div class="col-lg-8">
+      <p>You’ve probably already noticed Mahout has a lot of things going on 
at different levels, and it can be hard to know where
 to start.  Let’s provide an overview to help you see how the pieces fit 
together. In general the stack is something like this:</p>
 
 <ol>
@@ -227,12 +179,13 @@ to start.  Let’s provide an overview to help you see 
how the pieces fit togeth
 
 <p>You have an JAVA/Scala applicatoin (skip this if you’re working from an 
interactive shell or Apache Zeppelin)</p>
 
-<pre><code>def main(args: Array[String]) {
+<div class="highlighter-rouge"><pre class="highlight"><code>def main(args: 
Array[String]) {
 
   println("Welcome to My Mahout App")
 
   if (args.isEmpty) {
 </code></pre>
+</div>
 
 <p>This may seem like a trivial part to call out, but the point is important- 
Mahout runs <em>inline</em> with your regular application 
 code. E.g. if this is an Apache Spark app, then you do all your Spark things, 
including ETL and data prep in the same 
@@ -243,23 +196,25 @@ application, and then invoke Mahout’s mathematically 
expressive Scala DSL when
 <p>So when you get to a point in your code where you’re ready to math it up 
(in this example Spark) you can elegently express 
 yourself mathematically.</p>
 
-<pre><code>implicit val sdc: 
org.apache.mahout.sparkbindings.SparkDistributedContext = sc2sdc(sc)
+<div class="highlighter-rouge"><pre class="highlight"><code>implicit val sdc: 
org.apache.mahout.sparkbindings.SparkDistributedContext = sc2sdc(sc)
 
 val A = drmWrap(rddA)
 val B = drmWrap(rddB) 
 
 val C = A.t %*% A + A %*% B.t
 </code></pre>
+</div>
 
-<p>We’ve defined a <code>MahoutDistributedContext</code> (which is a wrapper 
on the Spark Context), and two Disitributed Row Matrices (DRMs)
+<p>We’ve defined a <code 
class="highlighter-rouge">MahoutDistributedContext</code> (which is a wrapper 
on the Spark Context), and two Disitributed Row Matrices (DRMs)
 which are wrappers around RDDs (in Spark).</p>
 
 <h2 id="logical--physical-dag">Logical / Physical DAG</h2>
 
 <p>At this point there is a bit of optimization that happens.  For example, 
consider the</p>
 
-<pre><code>A.t %*% A
+<div class="highlighter-rouge"><pre class="highlight"><code>A.t %*% A
 </code></pre>
+</div>
 
 <p>Which is</p>
 <center>\(\mathbf{A^\intercal A}\)</center>
@@ -271,8 +226,9 @@ more efficient way to calculate <foo>\(\mathbf{A^\intercal 
A}\)</foo> that doesn
 
 <p>Mahout converts this code into something that looks like:</p>
 
-<pre><code>OpAtA(A) + OpABt(A, B) //  illustrative pseudocode with real 
functions called
+<div class="highlighter-rouge"><pre class="highlight"><code>OpAtA(A) + 
OpABt(A, B) //  illustrative pseudocode with real functions called
 </code></pre>
+</div>
 
 <p>There’s a little more magic that happens at this level, but the punchline 
is <em>Mahout translates the pretty scala into a
 a series of operators, which at the next level are turned implemented at the 
engine</em>.</p>
@@ -283,19 +239,19 @@ a series of operators, which at the next level are turned 
implemented at the eng
 
 <ol>
   <li>What the engine specific underlying structure for a DRM is (in Spark its 
an RDD).  The underlying structure also has 
-rows of <code>MahoutVector</code>s, so in Spark <code>RDD[(index, 
MahoutVector)]</code>.  This will be important when we get to the native 
solvers.</li>
+rows of <code class="highlighter-rouge">MahoutVector</code>s, so in Spark 
<code class="highlighter-rouge">RDD[(index, MahoutVector)]</code>.  This will 
be important when we get to the native solvers.</li>
   <li>Implementing a set of BLAS (basic linear algebra) functions for working 
on the underlying structure- in Spark this means
-implementing things like <code>AtA</code> on an RDD. See <a 
href="https://github.com/apache/mahout/tree/master/spark/src/main/scala/org/apache/mahout/sparkbindings";>the
 sparkbindings on github</a></li>
+implementing things like <code class="highlighter-rouge">AtA</code> on an RDD. 
See <a 
href="https://github.com/apache/mahout/tree/master/spark/src/main/scala/org/apache/mahout/sparkbindings";>the
 sparkbindings on github</a></li>
 </ol>
 
 <p>Now your mathematically expresive Samsara Scala code has been translated 
into optimized engine specific functions.</p>
 
 <h2 id="native-solvers">Native Solvers</h2>
 
-<p>Recall how I said the rows of the DRMs are 
<code>org.apache.mahout.math.Vector</code>.  Here is where this becomes 
important. I’m going 
+<p>Recall how I said the rows of the DRMs are <code 
class="highlighter-rouge">org.apache.mahout.math.Vector</code>.  Here is where 
this becomes important. I’m going 
 to explain this in the context of Spark, but the principals apply to all 
distributed backends.</p>
 
-<p>If you are familiar with how mapping and reducing in Spark, then envision 
this RDD of <code>MahoutVector</code>s,  each partition, 
+<p>If you are familiar with how mapping and reducing in Spark, then envision 
this RDD of <code class="highlighter-rouge">MahoutVector</code>s,  each 
partition, 
 and indexed collection of vectors is a <em>block</em> of the distributed 
matrix, however this <em>block</em> is totally incore, and therefor
 is treated like an in core matrix.</p>
 
@@ -309,47 +265,39 @@ and vectors which are implemented on various native 
solvers.</p>
 <p>The default “native solver” is the JVM, which isn’t native at all- 
and if no actual native solvers are present operations 
 will fall back to this. However, IF a native solver is present (the jar was 
added to the notebook), then the magic will happen.</p>
 
-<p>Imagine still we have our Spark executor- it has this block of a matrix 
sitting in its core. Now let’s suppose the <code>ViennaCl-OMP</code>
+<p>Imagine still we have our Spark executor- it has this block of a matrix 
sitting in its core. Now let’s suppose the <code 
class="highlighter-rouge">ViennaCl-OMP</code>
 native solver is in use.  When Spark calls an operation on this incore matrix, 
the matrix dumps out of the JVM and the 
 calculation is carried out on <em>all available CPUs</em>.</p>
 
-<p>In a similar way, the <code>ViennaCL</code> native solver dumps the matrix 
out of the JVM and looks for a GPU to execute the operations on.</p>
+<p>In a similar way, the <code class="highlighter-rouge">ViennaCL</code> 
native solver dumps the matrix out of the JVM and looks for a GPU to execute 
the operations on.</p>
 
 <p>Once the operations are complete, the result is loaded back up into the 
JVM, and Spark (or whatever distributed engine) and 
 shipped back to the driver.</p>
 
-<p>The native solver operatoins are only defined on 
<code>org.apache.mahout.math.Vector</code> and 
<code>org.apache.mahout.math.Matrix</code>, which is 
-why it is critical that the underlying structure composed row-wise of 
<code>Vector</code> or <code>Matrices</code>.</p>
+<p>The native solver operatoins are only defined on <code 
class="highlighter-rouge">org.apache.mahout.math.Vector</code> and <code 
class="highlighter-rouge">org.apache.mahout.math.Matrix</code>, which is 
+why it is critical that the underlying structure composed row-wise of <code 
class="highlighter-rouge">Vector</code> or <code 
class="highlighter-rouge">Matrices</code>.</p>
 
 
-  </div>
-</div>
+    </div>
 
 
   </div>
 
-
 </div>
 
-<div id="footer">
-  <div class="container">
-    <p>&copy; 2017 Apache Mahout
-      with help from <a href="http://jekyllbootstrap.com"; target="_blank" 
title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
-      and <a href="http://getbootstrap.com"; target="_blank">Bootstrap</a>
-    </p>
-  </div>
-</div>
-
-
-
-
 
+  <footer class="footer bg-light">
+    <div class="container text-center small">
+        Copyright &copy; 2014-2017 The Apache Software Foundation, Licensed 
under the Apache License, Version 2.0.
+    </div>
+</footer>
 
+  <script src="/assets/vendor/jquery/jquery-slim.min.js"></script>
+  <script src="/assets/vendor/popper/popper.min.js"></script>
+  <script src="/assets/vendor/bootstrap/js/bootstrap.min.js"></script>
+  <script src="/assets/header.js"></script>
+  <script 
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
 type="text/javascript"></script>
 
-<!-- Latest compiled and minified JavaScript, requires jQuery 1.x (2.x not 
supported in IE8) -->
-<!-- Placed at the end of the document so the pages load faster -->
-<script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";></script>
-<script src="/assets/themes/mahout3/js/bootstrap.min.js"></script>
 </body>
-</html>
 
+</html>

Reply via email to