Author: gdfm
Date: Sun Apr 3 07:35:10 2016
New Revision: 1737549
URL: http://svn.apache.org/viewvc?rev=1737549&view=rev
Log:
SAMOA-60: update package name in doc
Modified:
incubator/samoa/site/documentation/Adaptive-Model-Rules-Regressor.html
incubator/samoa/site/documentation/Bagging-and-Boosting.html
incubator/samoa/site/documentation/Content-Event.html
incubator/samoa/site/documentation/Developing-New-Tasks-in-SAMOA.html
incubator/samoa/site/documentation/Distributed-Stream-Frequent-Itemset-Mining.html
incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Avro-Files.html
incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Storm.html
incubator/samoa/site/documentation/Processor.html
incubator/samoa/site/documentation/SAMOA-for-MOA-users.html
incubator/samoa/site/documentation/Task.html
Modified: incubator/samoa/site/documentation/Adaptive-Model-Rules-Regressor.html
URL:
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Adaptive-Model-Rules-Regressor.html?rev=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
--- incubator/samoa/site/documentation/Adaptive-Model-Rules-Regressor.html
(original)
+++ incubator/samoa/site/documentation/Adaptive-Model-Rules-Regressor.html Sun
Apr 3 07:35:10 2016
@@ -89,7 +89,7 @@
<p>For each incoming instance from <em>Source PI</em>, <em>Model Aggregator
PI</em> appies the current rule set to compute the prediction. The instance is
also forwarded from <em>Model Aggregator PI</em> to the <em>Learner PI(s)</em>
to train those rules that cover this instance. If an instance is not covered by
any rule in the set, the default rule will be used for prediction and will also
be trained with this instance. When the default rule expands and create a new
rule, the new rule will be sent from <em>Model aggregator PI</em> to one of the
<em>Learner PIs</em>. When the <em>Learner PIs</em> expand or remove a rule, an
update message is also sent back to the <em>Model Aggregator PI</em>.</p>
<p>The number of <em>Learner PIs</em> can be set with the <code>-p</code>
option:</p>
-<div class="highlight"><pre><code class="language-"
data-lang="">PrequentialEvaluationTask -l
(com.yahoo.labs.samoa.learners.classifiers.rules.VerticalAMRulesRegressor -p 4)
+<div class="highlight"><pre><code class="language-"
data-lang="">PrequentialEvaluationTask -l
(org.apache.samoa.learners.classifiers.rules.VerticalAMRulesRegressor -p 4)
</code></pre></div>
<h3 id="horizontal-adaptive-model-rules-regressor">Horizontal Adaptive Model
Rules Regressor</h3>
@@ -103,7 +103,7 @@
<p>Newly created rules are sent from <em>Default Rule Learner PI</em> to all
<em>Model Aggregator PIs</em> and one of the <em>Learner PIs</em>. Update
messages are also sent from <em>Learner PIs</em> to all <em>Model Aggregator
PIs</em> when a rule is expanded or removed.</p>
<p>The number of <em>Learner PIs</em> can be set with the <code>-p</code>
option and the number of <em>Model Aggregator PIs</em> can be set with the
<code>-r</code> option:</p>
-<div class="highlight"><pre><code class="language-"
data-lang="">PrequentialEvaluationTask -l
(com.yahoo.labs.samoa.learners.classifiers.rules.HorizontalAMRulesRegressor -r
4 -p 2)
+<div class="highlight"><pre><code class="language-"
data-lang="">PrequentialEvaluationTask -l
(org.apache.samoa.learners.classifiers.rules.HorizontalAMRulesRegressor -r 4 -p
2)
</code></pre></div>
</article>
Modified: incubator/samoa/site/documentation/Bagging-and-Boosting.html
URL:
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Bagging-and-Boosting.html?rev=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
--- incubator/samoa/site/documentation/Bagging-and-Boosting.html (original)
+++ incubator/samoa/site/documentation/Bagging-and-Boosting.html Sun Apr 3
07:35:10 2016
@@ -96,7 +96,7 @@ It is possible to use the classifiers av
<h6 id="only-with-samoa-moa-adapter">Only with SAMOA-MOA adapter</h6>
-<p><code>(classifiers.ensemble.AdaptiveBagging -s 10 -l
(classifiers.SingleClassifier -l
(com.yahoo.labs.samoa.learners.classifiers.MOAClassifierAdapter -l
moa.classifiers.trees.HoeffdingTree)))</code></p>
+<p><code>(classifiers.ensemble.AdaptiveBagging -s 10 -l
(classifiers.SingleClassifier -l
(org.apache.samoa.learners.classifiers.MOAClassifierAdapter -l
moa.classifiers.trees.HoeffdingTree)))</code></p>
<h3 id="boosting">Boosting</h3>
Modified: incubator/samoa/site/documentation/Content-Event.html
URL:
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Content-Event.html?rev=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
--- incubator/samoa/site/documentation/Content-Event.html (original)
+++ incubator/samoa/site/documentation/Content-Event.html Sun Apr 3 07:35:10
2016
@@ -78,7 +78,7 @@
<h3 id="1-implementation">1. Implementation</h3>
<p>ContentEvent has been implemented as an interface in SAMOA. Users need to
implement <code>ContentEvent</code> interface to create their custom message
classes. As it can be seen in the following code, key is the necessary part of
a message.</p>
-<div class="highlight"><pre><code class="language-" data-lang="">package
com.yahoo.labs.samoa.core;
+<div class="highlight"><pre><code class="language-" data-lang="">package
org.apache.samoa.core;
public interface ContentEvent extends java.io.Serializable {
@@ -108,7 +108,7 @@ public interface ContentEvent extends ja
<h3 id="3-example">3. Example</h3>
<p>Following is the example of a <code>Message</code> class which implements
<code>ContentEvent</code> interface. As <code>ContentEvent</code> is an
interface, it can not hold variables. A user-defined message class should have
its own data variables and its getter methods. In the following example,
<code>value</code> variable of type <code>Object</code> is added to the class.
Using a generic type <code>Object</code> is beneficial in the sense that any
object can be passed to it and later it can be casted back to the original
type. The following example also adds a <code>streamId</code> variable which
stores the <code>id</code> of the stream the message belongs to. This is not a
requirement but can be beneficial in certain applications.</p>
-<div class="highlight"><pre><code class="language-" data-lang="">import
com.yahoo.labs.samoa.core.ContentEvent;
+<div class="highlight"><pre><code class="language-" data-lang="">import
org.apache.samoa.core.ContentEvent;
/**
* A general key-value message class which adds a stream id in the class
variables
Modified: incubator/samoa/site/documentation/Developing-New-Tasks-in-SAMOA.html
URL:
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Developing-New-Tasks-in-SAMOA.html?rev=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
--- incubator/samoa/site/documentation/Developing-New-Tasks-in-SAMOA.html
(original)
+++ incubator/samoa/site/documentation/Developing-New-Tasks-in-SAMOA.html Sun
Apr 3 07:35:10 2016
@@ -83,7 +83,7 @@
<p><img src="images/HelloWorldTask.png" alt="Hello World Task"></p>
-<p>To develop the task, we create a new class that implements the interface
<code>com.yahoo.labs.samoa.tasks.Task</code>. For convenience we also implement
<code>com.github.javacliparser.Configurable</code> which allows to parse
command-line options.</p>
+<p>To develop the task, we create a new class that implements the interface
<code>org.apache.samoa.tasks.Task</code>. For convenience we also implement
<code>com.github.javacliparser.Configurable</code> which allows to parse
command-line options.</p>
<p>The <code>init</code> method builds the topology by instantiating the
necessary <code>Processors</code>, <code>Streams</code> and connecting the
source processor with the destination processor.</p>
@@ -209,12 +209,12 @@ Once we have created all the components,
<h3 id="running-it">Running It</h3>
<p>To run the example in local mode:</p>
-<div class="highlight"><pre><code class="language-" data-lang="">bin/samoa
local target/SAMOA-Local-0.0.1-SNAPSHOT.jar
"com.yahoo.labs.samoa.examples.HelloWorldTask -p 4 -i 100"
+<div class="highlight"><pre><code class="language-" data-lang="">bin/samoa
local target/SAMOA-Local-0.0.1-SNAPSHOT.jar
"org.apache.samoa.examples.HelloWorldTask -p 4 -i 100"
</code></pre></div>
<p>To run the example in Storm local mode:</p>
-<div class="highlight"><pre><code class="language-" data-lang="">java -cp
$STORM_HOME/lib/*:$STORM_HOME/storm-0.8.2.jar:target/SAMOA-Storm-0.0.1-SNAPSHOT.jar
com.yahoo.labs.samoa.LocalStormDoTask
"com.yahoo.labs.samoa.examples.HelloWorldTask -p 4 -i 1000"
+<div class="highlight"><pre><code class="language-" data-lang="">java -cp
$STORM_HOME/lib/*:$STORM_HOME/storm-0.8.2.jar:target/SAMOA-Storm-0.0.1-SNAPSHOT.jar
org.apache.samoa.LocalStormDoTask "org.apache.samoa.examples.HelloWorldTask -p
4 -i 1000"
</code></pre></div>
-<p>All the code for the HelloWorldTask and its components can be found <a
href="https://github.com/yahoo/samoa/tree/master/samoa-api/src/main/java/com/yahoo/labs/samoa/examples">here</a>.</p>
+<p>All the code for the HelloWorldTask and its components can be found <a
href="https://github.com/yahoo/samoa/tree/master/samoa-api/src/main/java/org/apache/samoa/examples">here</a>.</p>
</article>
Modified:
incubator/samoa/site/documentation/Distributed-Stream-Frequent-Itemset-Mining.html
URL:
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Distributed-Stream-Frequent-Itemset-Mining.html?rev=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
---
incubator/samoa/site/documentation/Distributed-Stream-Frequent-Itemset-Mining.html
(original)
+++
incubator/samoa/site/documentation/Distributed-Stream-Frequent-Itemset-Mining.html
Sun Apr 3 07:35:10 2016
@@ -94,7 +94,7 @@
<h2 id="3-how-to-run">3. How to run</h2>
<p>Following is an example of the command used to run the SAMOA FIM task.</p>
-<div class="highlight"><pre><code class="language-" data-lang="">bin/samoa
storm target/SAMOA-Storm-0.0.1-SNAPSHOT.jar "FpmTask -t Myfpmtopology -r
(com.yahoo.labs.samoa.fpm.processors.FileReaderProcessor -i
/datasets/freqDataCombined.txt) -m
(com.yahoo.labs.samoa.fpm.processors.ParmaStreamFpmMiner -e .1 -d .1 -f 10 -t
20 -n 23 -p 0.08 -b 100000 -s
com.yahoo.labs.samoa.samplers.reservoir.TimeBiasedReservoirSampler) -w
(com.yahoo.labs.samoa.fpm.processors.FileWriterProcessor -o /output/outPARMA) "
+<div class="highlight"><pre><code class="language-" data-lang="">bin/samoa
storm target/SAMOA-Storm-0.0.1-SNAPSHOT.jar "FpmTask -t Myfpmtopology -r
(org.apache.samoa.fpm.processors.FileReaderProcessor -i
/datasets/freqDataCombined.txt) -m
(org.apache.samoa.fpm.processors.ParmaStreamFpmMiner -e .1 -d .1 -f 10 -t 20 -n
23 -p 0.08 -b 100000 -s
org.apache.samoa.samplers.reservoir.TimeBiasedReservoirSampler) -w
(org.apache.samoa.fpm.processors.FileWriterProcessor -o /output/outPARMA) "
</code></pre></div>
<p>Parameters:
To run an FIM task, four parameters are required</p>
Modified:
incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Avro-Files.html
URL:
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Avro-Files.html?rev=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
---
incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Avro-Files.html
(original)
+++
incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Avro-Files.html
Sun Apr 3 07:35:10 2016
@@ -141,14 +141,14 @@ Follow this <a href="Executing-SAMOA-wit
4.6,3.1,1.5,0.2,setosa
</code></pre></div>
<h4 id="iris-dataset-json-encoded-avro-format">Iris Dataset - JSON Encoded
AVRO Format</h4>
-<div class="highlight"><pre><code class="language-" data-lang=""><span
class="p">{</span><span class="nt">"type"</span><span class="p">:</span><span
class="s2">"record"</span><span class="p">,</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"Iris"</span><span class="p">,</span><span
class="nt">"namespace"</span><span class="p">:</span><span
class="s2">"com.yahoo.labs.samoa.avro.iris"</span><span class="p">,</span><span
class="nt">"fields"</span><span class="p">:[{</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"sepallength"</span><span class="p">,</span><span
class="nt">"type"</span><span class="p">:</span><span
class="s2">"double"</span><span class="p">},{</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"sepalwidth"</span><span class="p">,</span><span
class="nt">"type"</span><span class="p">:</span><span
class="s2">"double"</span><span class="p">},{</span><span
class="nt">"name"</span><span clas
s="p">:</span><span class="s2">"petallength"</span><span
class="p">,</span><span class="nt">"type"</span><span class="p">:</span><span
class="s2">"double"</span><span class="p">},{</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"petalwidth"</span><span class="p">,</span><span
class="nt">"type"</span><span class="p">:</span><span
class="s2">"double"</span><span class="p">},{</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"class"</span><span class="p">,</span><span
class="nt">"type"</span><span class="p">:{</span><span
class="nt">"type"</span><span class="p">:</span><span
class="s2">"enum"</span><span class="p">,</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"Labels"</span><span class="p">,</span><span
class="nt">"symbols"</span><span class="p">:[</span><span
class="s2">"setosa"</span><span class="p">,</span><span
class="s2">"versicolor"</span><span class="p">,</span><span
class="s2">"virginica"
</span><span class="p">]}}]}</span><span class="w">
+<div class="highlight"><pre><code class="language-" data-lang=""><span
class="p">{</span><span class="nt">"type"</span><span class="p">:</span><span
class="s2">"record"</span><span class="p">,</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"Iris"</span><span class="p">,</span><span
class="nt">"namespace"</span><span class="p">:</span><span
class="s2">"org.apache.samoa.avro.iris"</span><span class="p">,</span><span
class="nt">"fields"</span><span class="p">:[{</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"sepallength"</span><span class="p">,</span><span
class="nt">"type"</span><span class="p">:</span><span
class="s2">"double"</span><span class="p">},{</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"sepalwidth"</span><span class="p">,</span><span
class="nt">"type"</span><span class="p">:</span><span
class="s2">"double"</span><span class="p">},{</span><span
class="nt">"name"</span><span class="p
">:</span><span class="s2">"petallength"</span><span class="p">,</span><span
class="nt">"type"</span><span class="p">:</span><span
class="s2">"double"</span><span class="p">},{</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"petalwidth"</span><span class="p">,</span><span
class="nt">"type"</span><span class="p">:</span><span
class="s2">"double"</span><span class="p">},{</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"class"</span><span class="p">,</span><span
class="nt">"type"</span><span class="p">:{</span><span
class="nt">"type"</span><span class="p">:</span><span
class="s2">"enum"</span><span class="p">,</span><span
class="nt">"name"</span><span class="p">:</span><span
class="s2">"Labels"</span><span class="p">,</span><span
class="nt">"symbols"</span><span class="p">:[</span><span
class="s2">"setosa"</span><span class="p">,</span><span
class="s2">"versicolor"</span><span class="p">,</span><span
class="s2">"virginica"</sp
an><span class="p">]}}]}</span><span class="w">
</span><span class="p">{</span><span class="nt">"sepallength"</span><span
class="p">:</span><span class="mf">5.1</span><span class="p">,</span><span
class="nt">"sepalwidth"</span><span class="p">:</span><span
class="mf">3.5</span><span class="p">,</span><span
class="nt">"petallength"</span><span class="p">:</span><span
class="mf">1.4</span><span class="p">,</span><span
class="nt">"petalwidth"</span><span class="p">:</span><span
class="mf">0.2</span><span class="p">,</span><span
class="nt">"class"</span><span class="p">:</span><span
class="s2">"setosa"</span><span class="p">}</span><span class="w">
</span><span class="p">{</span><span class="nt">"sepallength"</span><span
class="p">:</span><span class="mf">3.0</span><span class="p">,</span><span
class="nt">"sepalwidth"</span><span class="p">:</span><span
class="mf">1.4</span><span class="p">,</span><span
class="nt">"petallength"</span><span class="p">:</span><span
class="mf">4.9</span><span class="p">,</span><span
class="nt">"petalwidth"</span><span class="p">:</span><span
class="mf">0.2</span><span class="p">,</span><span
class="nt">"class"</span><span class="p">:</span><span
class="s2">"virginica"</span><span class="p">}</span><span class="w">
</span><span class="p">{</span><span class="nt">"sepallength"</span><span
class="p">:</span><span class="mf">4.7</span><span class="p">,</span><span
class="nt">"sepalwidth"</span><span class="p">:</span><span
class="mf">3.2</span><span class="p">,</span><span
class="nt">"petallength"</span><span class="p">:</span><span
class="mf">1.3</span><span class="p">,</span><span
class="nt">"petalwidth"</span><span class="p">:</span><span
class="mf">0.2</span><span class="p">,</span><span
class="nt">"class"</span><span class="p">:</span><span
class="s2">"virginica"</span><span class="p">}</span><span class="w">
</span><span class="p">{</span><span class="nt">"sepallength"</span><span
class="p">:</span><span class="mf">3.1</span><span class="p">,</span><span
class="nt">"sepalwidth"</span><span class="p">:</span><span
class="mf">1.5</span><span class="p">,</span><span
class="nt">"petallength"</span><span class="p">:</span><span
class="mf">4.6</span><span class="p">,</span><span
class="nt">"petalwidth"</span><span class="p">:</span><span
class="mf">0.2</span><span class="p">,</span><span
class="nt">"class"</span><span class="p">:</span><span
class="s2">"setosa"</span><span class="p">}</span><span class="w">
</span></code></pre></div>
<h4 id="iris-dataset-binary-encoded-avro-format">Iris Dataset - Binary Encoded
AVRO Format</h4>
-<div class="highlight"><pre><code class="language-"
data-lang="">Objavro.schemaÎ
{"type":"record","name":"Iris","namespace":"com.yahoo.labs.samoa.avro.iris","fields":[{"name":"sepallength","type":"double"},{"name":"sepalwidth","type":"double"},{"name":"petallength","type":"double"},{"name":"petalwidth","type":"double"},{"name":"class","type":{"type":"enum","name":"Labels","symbols":["setosa","versicolor","virginica"]}}]}
!<khCrÖ±Së¹§Þ©Èffffff@ @ffffffÙÙÉ¿
@ffffffÙÙ@ÚÙÙÉ¿ÎÍÍ@ÚÙÙ @ÎÍÍÙÙÉ¿ÎÍÍ@ 𿦦ffff@ÚÙÙÉ¿
!<khCrÖ±Së¹§Þ©
+<div class="highlight"><pre><code class="language-"
data-lang="">Objavro.schemaÎ
{"type":"record","name":"Iris","namespace":"org.apache.samoa.avro.iris","fields":[{"name":"sepallength","type":"double"},{"name":"sepalwidth","type":"double"},{"name":"petallength","type":"double"},{"name":"petalwidth","type":"double"},{"name":"class","type":{"type":"enum","name":"Labels","symbols":["setosa","versicolor","virginica"]}}]}
!<khCrÖ±Së¹§Þ©Èffffff@ @ffffffÙÙÉ¿
@ffffffÙÙ@ÚÙÙÉ¿ÎÍÍ@ÚÙÙ @ÎÍÍÙÙÉ¿ÎÍÍ@ 𿦦ffff@ÚÙÙÉ¿
!<khCrÖ±Së¹§Þ©
</code></pre></div>
<h4 id="forest-covertype-dataset">Forest CoverType Dataset</h4>
Modified:
incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Storm.html
URL:
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Storm.html?rev=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
--- incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Storm.html
(original)
+++ incubator/samoa/site/documentation/Executing-SAMOA-with-Apache-Storm.html
Sun Apr 3 07:35:10 2016
@@ -93,8 +93,8 @@ nimbus.host: "<enter your nimbus host
## List of custom serializations
kryo.register:
- - com.yahoo.labs.samoa.learners.classifiers.trees.AttributeContentEvent:
com.yahoo.labs.samoa.learners.classifiers.trees.AttributeContentEvent$AttributeCEFullPrecSerializer
- - com.yahoo.labs.samoa.learners.classifiers.trees.ComputeContentEvent:
com.yahoo.labs.samoa.learners.classifiers.trees.ComputeContentEvent$ComputeCEFullPrecSerializer
+ - org.apache.samoa.learners.classifiers.trees.AttributeContentEvent:
org.apache.samoa.learners.classifiers.trees.AttributeContentEvent$AttributeCEFullPrecSerializer
+ - org.apache.samoa.learners.classifiers.trees.ComputeContentEvent:
org.apache.samoa.learners.classifiers.trees.ComputeContentEvent$ComputeCEFullPrecSerializer
</code></pre></div>
<!--
Or, if you are using SAMOA with optimized VHT, you should use this following
configuration file:
@@ -104,8 +104,8 @@ nimbus.host: "<enter your nimbus host na
## List of custom serializations
kryo.register:
- -
com.yahoo.labs.samoa.learners.classifiers.trees.NaiveAttributeContentEvent:
com.yahoo.labs.samoa.classifiers.trees.NaiveAttributeContentEvent$NaiveAttributeCEFullPrecSerializer
- - com.yahoo.labs.samoa.learners.classifiers.trees.ComputeContentEvent:
com.yahoo.labs.samoa.classifiers.trees.ComputeContentEvent$ComputeCEFullPrecSerializer
+ - org.apache.samoa.learners.classifiers.trees.NaiveAttributeContentEvent:
org.apache.samoa.classifiers.trees.NaiveAttributeContentEvent$NaiveAttributeCEFullPrecSerializer
+ - org.apache.samoa.learners.classifiers.trees.ComputeContentEvent:
org.apache.samoa.classifiers.trees.ComputeContentEvent$ComputeCEFullPrecSerializer
```
-->
@@ -158,7 +158,7 @@ samoa.storm.numworker=7
<p><code>"<task>"</code> is the SAMOA task command line such
as <code>PrequentialEvaluation</code> or <code>ClusteringTask</code>. This
command line for SAMOA task follows the format of <a
href="http://moa.cms.waikato.ac.nz/details/classification/command-line/">Massive
Online Analysis (MOA)</a>.</p>
<p>The complete command to execute SAMOA is:</p>
-<div class="highlight"><pre><code class="language-" data-lang="">bin/samoa
storm target/SAMOA-Storm-0.0.1-SNAPSHOT.jar "PrequentialEvaluation -d
/tmp/dump.csv -i 1000000 -f 100000 -l
(com.yahoo.labs.samoa.learners.classifiers.trees.VerticalHoeffdingTree -p 4) -s
(com.yahoo.labs.samoa.moa.streams.generators.RandomTreeGenerator -c 2 -o 10 -u
10)"
+<div class="highlight"><pre><code class="language-" data-lang="">bin/samoa
storm target/SAMOA-Storm-0.0.1-SNAPSHOT.jar "PrequentialEvaluation -d
/tmp/dump.csv -i 1000000 -f 100000 -l
(org.apache.samoa.learners.classifiers.trees.VerticalHoeffdingTree -p 4) -s
(org.apache.samoa.moa.streams.generators.RandomTreeGenerator -c 2 -o 10 -u 10)"
</code></pre></div>
<p>The example above uses <a href="Prequential-Evaluation-Task">Prequential
Evaluation task</a> and <a href="Vertical-Hoeffding-Tree-Classifier">Vertical
Hoeffding Tree</a> classifier. </p>
Modified: incubator/samoa/site/documentation/Processor.html
URL:
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Processor.html?rev=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
--- incubator/samoa/site/documentation/Processor.html (original)
+++ incubator/samoa/site/documentation/Processor.html Sun Apr 3 07:35:10 2016
@@ -122,7 +122,7 @@ public interface Processor extends java.
<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-" data-lang="">package
com.yahoo.labs.samoa.core;
+<div class="highlight"><pre><code class="language-" data-lang="">package
org.apache.samoa.core;
public interface EntranceProcessor extends Processor {
public boolean isFinished();
Modified: 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=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
--- incubator/samoa/site/documentation/SAMOA-for-MOA-users.html (original)
+++ incubator/samoa/site/documentation/SAMOA-for-MOA-users.html Sun Apr 3
07:35:10 2016
@@ -80,8 +80,8 @@
<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>Simulation Environment. Use <code>org.apache.samoa.DoTask</code> instead
of <code>moa.DoTask</code><br></li>
+<li>Storm Local Mode. Use <code>org.apache.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>
Modified: incubator/samoa/site/documentation/Task.html
URL:
http://svn.apache.org/viewvc/incubator/samoa/site/documentation/Task.html?rev=1737549&r1=1737548&r2=1737549&view=diff
==============================================================================
--- incubator/samoa/site/documentation/Task.html (original)
+++ incubator/samoa/site/documentation/Task.html Sun Apr 3 07:35:10 2016
@@ -76,10 +76,10 @@
<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-" data-lang="">package
com.yahoo.labs.samoa.tasks;
+<div class="highlight"><pre><code class="language-" data-lang="">package
org.apache.samoa.tasks;
-import com.yahoo.labs.samoa.topology.ComponentFactory;
-import com.yahoo.labs.samoa.topology.Topology;
+import org.apache.samoa.topology.ComponentFactory;
+import org.apache.samoa.topology.Topology;
/**
* Task interface, the mother of all SAMOA tasks!