Added: incubator/samoa/site/documentation/Prequential-Evaluation-Task.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Prequential-Evaluation-Task.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/Prequential-Evaluation-Task.html (added)
+++ incubator/samoa/site/documentation/Prequential-Evaluation-Task.html Sun Feb 
22 13:41:20 2015
@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Prequential Evaluation</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Prequential Evaluation</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>In data stream mining, the most used evaluation scheme is the 
prequential or interleaved-test-then-train evolution. The idea is very simple: 
we use each instance first to test the model, and then to train the model. The 
Prequential Evaluation task evaluates the performance of online classifiers 
doing this. It supports two classification performance evaluators: the basic 
one which measures the accuracy of the classifier model since the start of the 
evaluation, and a window based one which measures the accuracy on the current 
sliding window of recent instances. </p>
+
+<p>Examples of Prequential Evaluation task in SAMOA command line when 
deploying into Storm</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">bin/samoa storm target/SAMOA-Storm-0.0.1-SNAPSHOT.jar 
&quot;PrequentialEvaluation -d /tmp/dump.csv -i 1000000 -f 100000 -l 
(classifiers.trees.VerticalHoeffdingTree -p 4) -s 
(generators.RandomTreeGenerator -c 2 -o 10 -u 10)&quot;
+</code></pre></div>
+<p>Parameters:</p>
+
+<ul>
+<li><code>-l</code>: classifier to train</li>
+<li><code>-s</code>: stream to learn from</li>
+<li><code>-e</code>: classification performance evaluation method</li>
+<li><code>-i</code>: maximum number of instances to test/train on (-1 = no 
limit)</li>
+<li><code>-f</code>: number of instances between samples of the learning 
performance</li>
+<li><code>-n</code>: evaluation name (default: 
PrequentialEvaluation_TimeStamp)</li>
+<li><code>-d</code>: file to append intermediate csv results to</li>
+</ul>
+
+<p>In terms of SAMOA API, the Prequential Evaluation Task consists of a source 
<code>Entrance Processor</code>, a <code>Classifier</code>, and an 
<code>Evaluator Processor</code> as shown below. The <code>Entrance 
Processor</code> sends instances to the <code>Classifier</code> using the 
<code>source</code> stream. The classifier sends the classification results to 
the <code>Evaluator Processor</code> via the <code>result</code> stream. The 
<code>Entrance Processor</code> corresponds to the <code>-s</code> option of 
Prequential Evaluation, the <code>Classifier</code> corresponds to the 
<code>-l</code> option, and the <code>Evaluator Processor</code> corresponds to 
the <code>-e</code> option.</p>
+
+<p><img src="images/PrequentialEvaluation.png" alt="Prequential Evaluation 
Task"></p>
+
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/Processing-Item.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Processing-Item.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/Processing-Item.html (added)
+++ incubator/samoa/site/documentation/Processing-Item.html Sun Feb 22 13:41:20 
2015
@@ -0,0 +1,135 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Processing Item</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Processing Item</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>Processing Item is a hidden physical unit of the topology and is just a 
wrapper of Processor.
+It is used internally, and it is not accessible from the API.</p>
+
+<h3 id="advanced">Advanced</h3>
+
+<p>It does not contain any logic but connects the Processor to the other 
processors in the topology.
+There are two types of Processing Items.</p>
+
+<ol>
+<li>Simple Processing Item (PI)</li>
+<li>Entrance Processing Item (EntrancePI)</li>
+</ol>
+
+<h4 id="1.-simple-processing-item-(pi)">1. Simple Processing Item (PI)</h4>
+
+<p>Once a Processor is wrapped in a PI, it becomes an executable component of 
the topology. All physical topology units are created with the help of a 
<code>TopologyBuilder</code>. Following code snippet shows the creation of a 
Processing Item.</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">builder.initTopology(&quot;MyTopology&quot;);
+Processor samplerProcessor = new Sampler();
+ProcessingItem samplerPI = builder.createPI(samplerProcessor,3);
+</code></pre></div>
+<p>The <code>createPI()</code> method of <code>TopologyBuilder</code> is used 
to create a PI. Its first argument is the instance of a Processor which needs 
to be wrapped-in. Its second argument is the parallelism hint. It tells the 
underlying platforms how many parallel instances of this PI should be created 
on different nodes.</p>
+
+<h4 id="2.-entrance-processing-item-(entrancepi)">2. Entrance Processing Item 
(EntrancePI)</h4>
+
+<p>Entrance Processing Item is different from a PI in only one way: it accepts 
an Entrance Processor which can generate its own stream.
+It is mostly used as the source of a topology.
+It connects to external sources, pulls data and provides it to the topology in 
the form of streams.
+All physical topology units are created with the help of a 
<code>TopologyBuilder</code>.
+The following code snippet shows the creation of an Entrance Processing 
Item.</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">builder.initTopology(&quot;MyTopology&quot;);
+EntranceProcessor sourceProcessor = new Source();
+EntranceProcessingItem sourcePi = builder.createEntrancePi(sourceProcessor);
+</code></pre></div>
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/Processor.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Processor.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/Processor.html (added)
+++ incubator/samoa/site/documentation/Processor.html Sun Feb 22 13:41:20 2015
@@ -0,0 +1,177 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Processor</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Processor</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>Processor is the basic logical processing unit. All logic is written in 
the processor. In SAMOA, a Processor is an interface. Users can implement this 
interface to build their own processors.
+<img src="images/Topology.png" alt="Topology"></p>
+
+<h3 id="adding-a-processor-to-the-topology">Adding a Processor to the 
topology</h3>
+
+<p>There are two ways to add a processor to the topology.</p>
+
+<h4 id="1.-processor">1. Processor</h4>
+
+<p>All physical topology units are created with the help of a 
<code>TopologyBuilder</code>. Following code snippet shows how to add a 
Processor to the topology.
+<code>
+Processor processor = new ExampleProcessor();
+builder.addProcessor(processor, paralellism);
+</code>
+<code>addProcessor()</code> method of <code>TopologyBuilder</code> is used to 
add the processor. Its first argument is the instance of a Processor which 
needs to be added. Its second argument is the parallelism hint. It tells the 
underlying platforms how many parallel instances of this processor should be 
created on different nodes.</p>
+
+<h4 id="2.-entrance-processor">2. Entrance Processor</h4>
+
+<p>Some processors generates their own streams, and they are used as the 
source of a topology. They connect to external sources, pull data and provide 
it to the topology in the form of streams.
+All physical topology units are created with the help of a 
<code>TopologyBuilder</code>. The following code snippet shows how to add an 
entrance processor to the topology and create a stream from it.
+<code>
+EntranceProcessor entranceProcessor = new EntranceProcessor();
+builder.addEntranceProcessor(entranceProcessor);
+Stream source = builder.createStream(entranceProcessor);
+</code></p>
+
+<h3 id="preview-of-processor">Preview of Processor</h3>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">package samoa.core;
+public interface Processor extends java.io.Serializable{
+    boolean process(ContentEvent event);
+    void onCreate(int id);
+    Processor newProcessor(Processor p);
+}
+</code></pre></div>
+<h3 id="methods">Methods</h3>
+
+<h4 id="1.-boolean-process(contentevent-event)">1. <code>boolean 
process(ContentEvent event)</code></h4>
+
+<p>Users should implement the three methods shown above. 
<code>process(ContentEvent event)</code> is the method in which all processing 
logic should be implemented. <code>ContentEvent</code> is a type (interface) 
which contains the event. This method will be called each time a new event is 
received. It should return <code>true</code> if the event has been correctly 
processed, <code>false</code> otherwise.</p>
+
+<h4 id="2.-void-oncreate(int-id)">2. <code>void onCreate(int id)</code></h4>
+
+<p>is the method in which all initialization code should be written. Multiple 
copies/instances of the Processor are created based on the parallelism hint 
specified by the user. SAMOA assigns each instance a unique id which is passed 
as a parameter <code>id</code> to <code>onCreate(int it)</code> method of each 
instance.</p>
+
+<h4 id="3.-processor-newprocessor(processor-p)">3. <code>Processor 
newProcessor(Processor p)</code></h4>
+
+<p>is very simple to implement. This method is just a technical overhead that 
has no logical use except that it helps SAMOA in some of its internals. Users 
should just return a new copy of the instance of this class which implements 
this Processor interface. </p>
+
+<h3 id="preview-of-entranceprocessor">Preview of EntranceProcessor</h3>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">package com.yahoo.labs.samoa.core;
+
+public interface EntranceProcessor extends Processor {
+    public boolean isFinished();
+    public boolean hasNext();
+    public ContentEvent nextEvent();
+}
+</code></pre></div>
+<h3 id="methods">Methods</h3>
+
+<h4 id="1.-boolean-isfinished()">1. <code>boolean isFinished()</code></h4>
+
+<p>returns whether to expect more events coming from the entrance processor. 
If the source is a live stream this method should return always 
<code>false</code>. If the source is a file, the method should return 
<code>true</code> once the file has been fully processed.</p>
+
+<h4 id="2.-boolean-hasnext()">2. <code>boolean hasNext()</code></h4>
+
+<p>returns whether the next event is ready for consumption. If the method 
returns <code>true</code> a subsequent call to <code>nextEvent</code> should 
yield the next event to be processed. If the method returns <code>false</code> 
the engine can use this information to avoid continuously polling the entrance 
processor.</p>
+
+<h4 id="3.-contentevent-nextevent()">3. <code>ContentEvent 
nextEvent()</code></h4>
+
+<p>is the main method for the entrance processor as it returns the next event 
to be processed by the topology. It should be called only if 
<code>isFinished()</code> returned <code>false</code> and 
<code>hasNext()</code> returned <code>true</code>.</p>
+
+<h3 id="note">Note</h3>
+
+<p>All state variables of the class implementing this interface must be 
serializable. It can be done by implementing the <code>Serializable</code> 
interface. The simple way to skip this requirement is to declare those 
variables as <code>transient</code> and initialize them in the 
<code>onCreate()</code> method. Remember, all initializations of such transient 
variables done in the constructor will be lost.</p>
+
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/SAMOA-Topology.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/SAMOA-Topology.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/SAMOA-Topology.html (added)
+++ incubator/samoa/site/documentation/SAMOA-Topology.html Sun Feb 22 13:41:20 
2015
@@ -0,0 +1,118 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Apache SAMOA Topology</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Apache SAMOA Topology</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>Apache SAMOA allows users to write their stream processing algorithms 
in an easy and platform independent way. SAMOA defines its own topology which 
is very intuitive and simple to use. Currently SAMOA has the following basic 
topology elements.</p>
+
+<ol>
+<li><a href="Processor.html">Processor</a></li>
+<li><a href="Content-Event.html">Content Event</a></li>
+<li><a href="Stream.html">Stream</a></li>
+<li><a href="Task.html">Task</a></li>
+<li><a href="Topology-Builder.html">Topology Builder</a></li>
+<li><a href="Learner.html">Learner</a></li>
+<li><strong>Advanced topic</strong>: <a href="Processing-Item.html">Processing 
Item</a></li>
+</ol>
+
+<p>Processor and Content Event are the logical units to build your algorithm, 
Stream and Task are the physical units to wire the various pieces of your 
algorithm, whereas Topology Builder is an administrative unit that provides 
bookkeeping services. Learner is the base interface for learning algorithms. 
Processing Items are internal wrappers for Processors used inside SAMOA.</p>
+
+<p><img src="images/Topology.png" alt="Topology"></p>
+
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/SAMOA-and-Machine-Learning.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/SAMOA-and-Machine-Learning.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/SAMOA-and-Machine-Learning.html (added)
+++ incubator/samoa/site/documentation/SAMOA-and-Machine-Learning.html Sun Feb 
22 13:41:20 2015
@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Apache SAMOA and Machine Learning</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Apache SAMOA and Machine Learning</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>SAMOA&#39;s main goal is to help developers to create easily machine 
learning algorithms on top of any distributed stream processing engine. Here we 
present the available machine learning algorithms implemented in SAMOA and how 
to use them. </p>
+
+<ul>
+<li><a href="Prequential-Evaluation-Task.html">2.1 Prequential Evaluation 
Task</a></li>
+<li><a href="Vertical-Hoeffding-Tree-Classifier.html">2.2 Vertical Hoeffding 
Tree Classifier</a></li>
+<li><a href="Adaptive-Model-Rules-Regressor.html">2.3 Adaptive Model Rules 
Regressor</a></li>
+<li><a href="Bagging-and-Boosting.html">2.4 Bagging and Boosting</a></li>
+<li><a href="Distributed-Stream-Clustering.html">2.5 Distributed Stream 
Clustering</a></li>
+<li><a href="Distributed-Stream-Frequent-Itemset-Mining.html">2.6 Distributed 
Stream Frequent Itemset Mining</a></li>
+</ul>
+
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/SAMOA-for-MOA-users.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/SAMOA-for-MOA-users.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/SAMOA-for-MOA-users.html (added)
+++ incubator/samoa/site/documentation/SAMOA-for-MOA-users.html Sun Feb 22 
13:41:20 2015
@@ -0,0 +1,120 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Apache SAMOA for MOA users</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Apache SAMOA for MOA users</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>If you&#39;re an advanced user of <a 
href="http://moa.cms.waikato.ac.nz/";>MOA</a>, you&#39;ll find easy to run 
SAMOA. You need to note the following:</p>
+
+<ul>
+<li>There is no GUI interface in SAMOA</li>
+<li>You can run SAMOA in the following modes:
+
+<ol>
+<li>Simulation Environment. Use <code>com.yahoo.labs.samoa.DoTask</code> 
instead of <code>moa.DoTask</code><br></li>
+<li>Storm Local Mode. Use <code>com.yahoo.labs.samoa.LocalStormDoTask</code> 
instead of <code>moa.DoTask</code></li>
+<li>Storm Cluster Mode. You need to use the <code>samoa</code> script as it is 
explained in <a href="Executing%20SAMOA%20with%20Apache%20Storm">Executing 
SAMOA with Apache Storm</a>.</li>
+<li>S4. You need to use the <code>samoa</code> script as it is explained in <a 
href="Executing%20SAMOA%20with%20Apache%20S4">Executing SAMOA with Apache 
S4</a></li>
+</ol></li>
+</ul>
+
+<p>To start with SAMOA, you can start with a simple example using the 
CoverType dataset as it is discussed in <a href="Getting%20Started">Getting 
Started</a>.  </p>
+
+<p>To use MOA algorithms inside SAMOA, take a look at <a 
href="https://github.com/samoa-moa/samoa-moa";>https://github.com/samoa-moa/samoa-moa</a>.
 </p>
+
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: 
incubator/samoa/site/documentation/Scalable-Advanced-Massive-Online-Analysis.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Scalable-Advanced-Massive-Online-Analysis.html?rev=1661475&view=auto
==============================================================================
--- 
incubator/samoa/site/documentation/Scalable-Advanced-Massive-Online-Analysis.html
 (added)
+++ 
incubator/samoa/site/documentation/Scalable-Advanced-Massive-Online-Analysis.html
 Sun Feb 22 13:41:20 2015
@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Scalable Advanced Massive Online Analysis</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Scalable Advanced Massive Online Analysis</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>Scalable Advanced Massive Online Analysis (SAMOA) contains various 
algorithms for machine learning and data mining on data streams, and allows to 
run them on different distributed stream processing engines (DSPEs) such as 
Storm and S4. Currently, SAMOA contains methods for classification via Vertical 
Hoeffding Trees, bagging and boosting and clustering via CluStream.</p>
+
+<p>In this pages, we explain how to build and execute SAMOA for the different 
distributed stream processing engines (DSPEs): </p>
+
+<ul>
+<li><a href="Building-SAMOA.html">Building SAMOA</a></li>
+<li><a href="Executing-SAMOA-with-Apache-Storm.html">Executing SAMOA with 
Apache Storm</a></li>
+<li><a href="Executing-SAMOA-with-Apache-S4.html">Executing SAMOA with Apache 
S4</a></li>
+<li><a href="Executing-SAMOA-with-Apache-Samza.html">Executing SAMOA with 
Apache Samza</a></li>
+</ul>
+
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/Stream.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Stream.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/Stream.html (added)
+++ incubator/samoa/site/documentation/Stream.html Sun Feb 22 13:41:20 2015
@@ -0,0 +1,143 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Stream</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Stream</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>A stream is a physical unit of SAMOA topology which connects different 
Processors with each other. Stream is also created by a 
<code>TopologyBuilder</code> just like a Processor. A stream can have a single 
source but many destinations. A Processor which is the source of a stream, owns 
the stream.</p>
+
+<h3 id="1.-creating-a-stream">1. Creating a Stream</h3>
+
+<p>The following code snippet shows how a Stream is created:</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">builder.initTopology(&quot;MyTopology&quot;);
+Processor sourceProcessor = new Sampler();
+builder.addProcessor(samplerProcessor, 3);
+Stream sourceDataStream = builder.createStream(sourceProcessor);
+</code></pre></div>
+<h3 id="2.-connecting-a-stream">2. Connecting a Stream</h3>
+
+<p>As described above, a Stream can have many destinations. In the following 
figure, a single stream from sourceProcessor is connected to three different 
destination Processors each having three instances.</p>
+
+<p><img src="images/SAMOA%20Message%20Shuffling.png" alt="SAMOA Message 
Shuffling"></p>
+
+<p>SAMOA supports three different ways of distribution of messages to multiple 
instances of a Processor.</p>
+
+<h4 id="2.1-shuffle">2.1 Shuffle</h4>
+
+<p>In this way of message distribution, messages/events are distributed 
randomly among various instances of a Processor. 
+Following figure shows how the messages are distributed.
+<img src="images/SAMOA%20Explain%20Shuffling.png" alt="SAMOA Explain 
Shuffling">
+Following code snipped shows how to connect a stream to a destination using 
random shuffling.</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">builder.connectInputShuffleStream(sourceDataStream, 
destinationProcessor);
+</code></pre></div>
+<h4 id="2.2-key">2.2 Key</h4>
+
+<p>In this way of message distribution, messages with same key are sent to 
same instance of a Processor.
+Following figure illustrates key-based distribution.
+<img src="images/SAMOA%20Explain%20Key%20Shuffling.png" alt="SAMOA Explain Key 
Shuffling">
+Following code snippet shows how to connect a stream to a destination using 
key-based distribution.</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">builder.connectInputKeyStream(sourceDataStream, 
destinationProcessor);
+</code></pre></div>
+<h4 id="2.3-all">2.3 All</h4>
+
+<p>In this way of message distribution, all messages of a stream are sent to 
all instances of a destination Processor. Following figure illustrates this 
distribution process.
+<img src="images/SAMOA%20Explain%20All%20Shuffling.png" alt="SAMOA Explain All 
Shuffling">
+Following code snippet shows how to connect a stream to a destination using 
All-based distribution.</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">builder.connectInputAllStream(sourceDataStream, 
destinationProcessor);
+</code></pre></div>
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/Task.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Task.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/Task.html (added)
+++ incubator/samoa/site/documentation/Task.html Sun Feb 22 13:41:20 2015
@@ -0,0 +1,153 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Task</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Task</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>Task is similar to a job in Hadoop. Task is an execution entity. A 
topology must be defined inside a task. SAMOA can only execute classes that 
implement <code>Task</code> interface.</p>
+
+<h3 id="1.-implementation">1. Implementation</h3>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">package com.yahoo.labs.samoa.tasks;
+
+import com.yahoo.labs.samoa.topology.ComponentFactory;
+import com.yahoo.labs.samoa.topology.Topology;
+
+/**
+ * Task interface, the mother of all SAMOA tasks!
+ */
+public interface Task {
+
+    /**
+     * Initialize this SAMOA task, 
+     * i.e. create and connect Processors and Streams
+     * and initialize the topology
+     */
+    public void init(); 
+
+    /**
+     * Return the final topology object to be executed in the cluster
+     * @return topology object to be submitted to be executed in the cluster
+     */
+    public Topology getTopology();
+
+    /**
+     * Sets the factory.
+     * TODO: propose to hide factory from task, 
+     * i.e. Task will only see TopologyBuilder, 
+     * and factory creation will be handled by TopologyBuilder
+     *
+     * @param factory the new factory
+     */
+    public void setFactory(ComponentFactory factory) ;
+}
+</code></pre></div>
+<h3 id="2.-methods">2. Methods</h3>
+
+<h5 id="2.1-void-init()">2.1 <code>void init()</code></h5>
+
+<p>This method should build the desired topology by creating Processors and 
Streams and connecting them to each other.</p>
+
+<h5 id="2.2-topology-gettopology()">2.2 <code>Topology 
getTopology()</code></h5>
+
+<p>This method should return the topology built by <code>init</code> to the 
engine for execution.</p>
+
+<h5 id="2.3-void-setfactory(componentfactory-factory)">2.3 <code>void 
setFactory(ComponentFactory factory)</code></h5>
+
+<p>Utility method to accept a <code>ComponentFactory</code> to use in building 
the topology.</p>
+
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/Team.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Team.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/Team.html (added)
+++ incubator/samoa/site/documentation/Team.html Sun Feb 22 13:41:20 2015
@@ -0,0 +1,142 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Apache SAMOA Team</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Apache SAMOA Team</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <h2>Project lead</h2>
+
+<ul>
+<li><a href="http://gdfm.me/";>Gianmarco De Francisci Morales</a></li>
+<li><a href="http://www.albertbifet.com";>Albert Bifet</a></li>
+</ul>
+
+<h2>Committers</h2>
+
+<ul>
+<li><a href="http://www.cse.usf.edu/~nkourtel/";>Nicolas Kourtellis</a></li>
+<li><a href="http://www.linkedin.com/pub/faisal-moeen/40/17/512";>Faisal 
Moeen</a></li>
+<li><a href="http://www.linkedin.com/in/mmorel";>Matthieu Morel</a></li>
+<li><a href="http://www.otnira.com";>Arinto Murdopo</a></li>
+<li><a href="http://cs.brown.edu/~matteo/";>Matteo Riondato</a></li>
+<li><a href="https://twitter.com/AntonioSeverien";>Antonio Severien</a></li>
+<li><a href="http://www.van-laere.net";>Olivier Van Laere</a></li>  
+<li><a href="http://www.linkedin.com/in/caseyvu";>Anh Thu Vu</a></li> 
+
+
+</ul>
+
+<h2>Contributors</h2>
+
+<ul>
+<li><a href="http://www.lsi.upc.edu/~marias/";>Marta Arias</a></li>
+<li><a href="http://www.lsi.upc.edu/~gavalda/";>Ricard Gavaldà</a></li>
+<li><a href="http://dme.rwth-aachen.de/de/team/hassani";>Marwan Hassani</a></li>
+<li><a 
href="http://www.scms.waikato.ac.nz/genquery.php?linklist=SCMS&amp;linktype=folder&amp;linkname=The_Dean-0";>Geoff
 Holmes</a></li>
+<li><a href="http://dme.rwth-aachen.de/de/team/jansen";>Timm Jansen</a></li>
+<li>Richard Kirkby</li>
+<li><a href="http://dme.rwth-aachen.de/de/team/kranen";>Philipp Kranen</a></li>
+<li><a href="http://dme.rwth-aachen.de/de/team/kremer";>Hardy Kremer</a></li>
+<li><a href="http://www.cs.waikato.ac.nz/~bernhard";>Bernhard 
Pfahringer</a></li>
+<li><a href="http://users.ics.aalto.fi/jesse/";>Jesse Read</a></li>
+<li><a href="http://www.cs.waikato.ac.nz/~fracpete";>Peter Reutemann</a></li>
+<li><a href="http://dme.rwth-aachen.de/de/team/seidl";>Thomas Seidl</a></li>
+
+</ul>
+
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/Topology-Builder.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Topology-Builder.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/Topology-Builder.html (added)
+++ incubator/samoa/site/documentation/Topology-Builder.html Sun Feb 22 
13:41:20 2015
@@ -0,0 +1,128 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Topology Builder</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Topology Builder</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p><code>TopologyBuilder</code> is a builder class which builds physical 
units of the topology and assemble them together. Each topology has a name. 
Following code snippet shows all the steps of creating a topology with one 
<code>EntrancePI</code>, two PIs and a few streams.</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">TopologyBuilder builder = new TopologyBuilder(factory) // 
ComponentFactory factory
+builder.initTopology(&quot;Parma Topology&quot;); //initiates an empty 
topology with a name
+//********************************Topology 
building***********************************
+StreamSource sourceProcessor = new 
StreamSource(inputPath,d,sampleSize,fpmGap,epsilon,phi,numSamples);
+builder.addEntranceProcessor(sourceProcessor);
+Stream sourceDataStream = builder.createStream(sourceProcessor);
+sourceProcessor.setDataStream(sourceDataStream);
+Stream sourceControlStream = builder.createStream(sourceProcessor);
+sourceProcessor.setControlStream(sourceControlStream);
+
+Sampler sampler = new 
Sampler(minFreqPercent,sampleSize,(float)epsilon,outputPath,sampler);
+builder.addProcessor(sampler, numSamples);
+builder.connectInputAllStream(sourceControlStream, sampler);
+builder.connectInputShuffleStream(sourceDataStream, sampler);
+
+Stream samplerDataStream = builder.createStream(sampler);
+samplerP.setSamplerDataStream(samplerDataStream);
+Stream samplerControlStream = builder.createStream(sampler);
+samplerP.setSamplerControlStream(samplerControlStream);
+
+Aggregator aggregatorProcessor = new 
Aggregator(outputPath,(long)numSamples,(long)sampleSize,(long)reqApproxNum,(float)epsilon);
+builder.addProcessor(aggregatorProcessor, numAggregators);
+builder.connectInputKeyStream(samplerDataStream, aggregatorProcessor);
+builder.connectInputAllStream(samplerControlStream, aggregatorProcessor);
+</code></pre></div>
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: 
incubator/samoa/site/documentation/Vertical-Hoeffding-Tree-Classifier.html
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Vertical-Hoeffding-Tree-Classifier.html?rev=1661475&view=auto
==============================================================================
--- incubator/samoa/site/documentation/Vertical-Hoeffding-Tree-Classifier.html 
(added)
+++ incubator/samoa/site/documentation/Vertical-Hoeffding-Tree-Classifier.html 
Sun Feb 22 13:41:20 2015
@@ -0,0 +1,127 @@
+<!DOCTYPE html>
+<html>
+
+    <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="/assets/favicon.ico">
+
+    <title>Vertical Hoeffding Tree</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+    <link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet">
+
+    <!-- Custom styles for this template -->
+    <link href="/assets/css/theme.css" rel="stylesheet">
+       
+       <link href="/css/main.css" rel="stylesheet">
+
+    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
+    <!--[if lt IE 9]><script 
src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
+    <script src="/assets/js/ie-emulation-modes-warning.js"></script>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+      <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+      <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+  </head>
+
+
+
+  <body>
+    <div class="container">
+        <!-- Fixed navbar -->
+    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+            <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="/index.html">Apache SAMOA</a>
+        </div>
+        <div id="navbar" class="navbar-collapse collapse">
+          <ul class="nav navbar-nav">
+            <li><a href="/index.html">Home</a></li>    
+                       <li><a 
href="/documentation/Home.html">Documentation</a></li>
+                       <li><a 
href="/documentation/Team.html">Contributors</a></li>
+                       <li><a href="/documentation/Bylaws.html">Bylaws</a></li>
+          </ul>
+        </div><!--/.nav-collapse -->
+      </div>
+    </nav>
+
+
+
+
+      
+        <!-- Documentation -->
+<!-- <div class="container"> -->
+
+  <header class="post-header">
+    <h1 class="post-title">Vertical Hoeffding Tree</h1>
+    <p class="post-meta"></p>
+  </header>
+
+  <article class="post-content">
+    <p>Vertical Hoeffding Tree (VHT) classifier is a distributed classifier 
that utilizes vertical parallelism on top of the Very Fast Decision Tree (VFDT) 
or Hoeffding Tree classifier.</p>
+
+<h3 id="very-fast-decision-tree-(vfdt)-classifier">Very Fast Decision Tree 
(VFDT) classifier</h3>
+
+<p><a href="http://doi.acm.org/10.1145/347090.347107";>Hoeffding Tree or 
VFDT</a> is the standard decision tree algorithm for data stream 
classification. VFDT uses the Hoeffding bound to decide the minimum number of 
arriving instances to achieve certain level of confidence in splitting the 
node. This confidence level determines how close the statistics between the 
attribute chosen by VFDT and the attribute chosen by decision tree for batch 
learning.</p>
+
+<p>For a more comprehensive summary of VFDT, read chapter 3 of <a 
href="http://heanet.dl.sourceforge.net/project/moa-datastream/documentation/StreamMining.pdf";>Data
 Stream Mining: A Practical Approach</a>.</p>
+
+<h3 id="vertical-parallelism">Vertical Parallelism</h3>
+
+<p>Vertical Parallelism is a parallelism approach which partitions the 
instances in term of attribute for parallel processing. 
Vertical-parallelism-based decision tree induction processes the partitioned 
instances (which consists of subset of attribute) to calculate the 
information-theoretic criteria in parallel. For example, if we have instances 
with 100 attributes and we partition the instances into 5 portions, we will 
have 20 attributes per portion. The algorithm processes the 20 attributes in 
parallel to determine the &quot;local&quot; best attribute to split and combine 
the parallel computation results to determine the &quot;global&quot; best 
attribute to split and grow the tree. </p>
+
+<p>For more explanation about available parallelism types for decision tree 
induction, you can read chapter 4 of <a 
href="../SAMOA-Developers-Guide-0-0-1.pdf">Distributed Decision Tree Learning 
for Mining Big Data Streams</a>, the Developer&#39;s Guide of SAMOA.  </p>
+
+<h3 id="vertical-hoeffding-tree-(vht)-classifier">Vertical Hoeffding Tree 
(VHT) classifier</h3>
+
+<p>VHT is implemented using the SAMOA API. The diagram below shows the 
implementation:
+<img src="images/VHT.png" alt="Vertical Hoeffding Tree"></p>
+
+<p>The <em>source Processor</em> and the <em>evaluator Processor</em> are 
components of the <a href="Prequential-Evaluation-Task">prequential evaluation 
task</a> in SAMOA. The <em>model-aggregator Processor</em> contains  the 
decision tree model. It connects to <em>local-statistic Processor</em> via 
<em>attribute</em> stream and <em>control</em> stream. The <em>model-aggregator 
Processor</em> splits instances based on attribute and each <em>local-statistic 
Processor</em> contains local statistic for attributes that assigned to it. The 
<em>model-aggregator Processor</em> sends the split instances via attribute 
stream and it sends control messages to ask <em>local-statistic Processor</em> 
to perform computation via <em>control</em> stream. Users configure <em>n</em>, 
which is the parallelism level of the algorithm. The parallelism level is 
translated into the number of local-statistic Processors in the algorithm.</p>
+
+<p>The <em>model-aggregator Processor</em> sends the classification result via 
<em>result</em> stream to the <em>evaluator Processor</em> for the 
corresponding evaluation task or other destination Processor. The <em>evaluator 
Processor</em> performs an evaluation of the algorithm showing accuracy and 
throughput. Incoming instances to the <em>model-aggregator Processor</em> 
arrive via <em>source</em> stream. The calculation results from local statistic 
arrive to the <em>model-aggregator Processor</em> via 
<em>computation-result</em> stream.</p>
+
+<p>For more details about the algorithms (i.e. pseudocode), go to section 4.2 
of <a href="../SAMOA-Developers-Guide-0-0-1.pdf">Distributed Decision Tree 
Learning for Mining Big Data Streams</a>, the Developer&#39;s Guide of SAMOA.  
</p>
+
+  </article>
+
+<!-- </div> -->
+
+      
+
+    <hr/>
+<div id="footer" class="container text-center">
+       
+            <p class="text-muted credit"><p>
+Copyright © 2014 <a href="http://www.apache.org";>Apache Software 
Foundation</a>. All Rights Reserved. Apache SAMOA, Apache, and the Apache 
feather logo  are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+
+</div>
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";></script>
+    <script src="/assets/js/bootstrap.min.js"></script>
+    <script src="/assets/js/docs.min.js"></script>
+    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>
+
+    </div>
+       
+  </body>
+
+</html>

Added: incubator/samoa/site/documentation/images/HelloWorldTask.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/HelloWorldTask.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/HelloWorldTask.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/PrequentialEvaluation.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/PrequentialEvaluation.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/PrequentialEvaluation.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/SAMOA Explain All Shuffling.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/SAMOA%20Explain%20All%20Shuffling.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/SAMOA Explain All 
Shuffling.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/SAMOA Explain Key Shuffling.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/SAMOA%20Explain%20Key%20Shuffling.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/SAMOA Explain Key 
Shuffling.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/SAMOA Explain Shuffling.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/SAMOA%20Explain%20Shuffling.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/SAMOA Explain 
Shuffling.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/SAMOA FIM.jpg
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/SAMOA%20FIM.jpg?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/SAMOA FIM.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/SAMOA FIM.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/SAMOA%20FIM.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/SAMOA FIM.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/SAMOA Message Shuffling.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/SAMOA%20Message%20Shuffling.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/SAMOA Message 
Shuffling.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/Topology.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/Topology.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/Topology.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/VHT.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/VHT.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/VHT.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/hamr.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/hamr.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/hamr.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/site/documentation/images/vamr.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/images/vamr.png?rev=1661475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/site/documentation/images/vamr.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream


Reply via email to