<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to UsingKeplerWeka</title><link>https://sourceforge.net/p/keplerweka/wiki/UsingKeplerWeka/</link><description>Recent changes to UsingKeplerWeka</description><atom:link href="https://sourceforge.net/p/keplerweka/wiki/UsingKeplerWeka/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 20 May 2014 20:58:16 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/keplerweka/wiki/UsingKeplerWeka/feed" rel="self" type="application/rss+xml"/><item><title>UsingKeplerWeka modified by Peter Reutemann</title><link>https://sourceforge.net/p/keplerweka/wiki/UsingKeplerWeka/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#using-keplerweka"&gt;Using KeplerWeka&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#screenshots"&gt;Screenshots&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#example-workflows"&gt;Example workflows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#i-want-to"&gt;I want to…&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#load-a-dataset"&gt;...load a dataset&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#filter-data"&gt;...filter data&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#build-an-associator"&gt;...build an associator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#perform-attribute-seletion"&gt;...perform attribute seletion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#train-a-classifier-and-output-its-model"&gt;...train a classifier and output its model&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#train-a-classifier-and-save-the-generated-model"&gt;...train a classifier and save the generated model&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#output-the-classifier-predictions"&gt;...output the classifier predictions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#use-a-serialized-model"&gt;...use a serialized model&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#cross-validate-a-classifier"&gt;...cross-validate a classifier&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#display-a-classifiers-roc"&gt;...display a classifier's ROC&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#build-a-clusterer-and-save-the-generated-model"&gt;...build a clusterer and save the generated model&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#output-the-cluster-assignments"&gt;...output the cluster assignments&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#run-the-experimenter"&gt;..run the Experimenter&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#see-also"&gt;See also&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id="using-keplerweka"&gt;Using KeplerWeka&lt;/h1&gt;
&lt;h2 id="screenshots"&gt;Screenshots&lt;/h2&gt;
&lt;p&gt;The &lt;a class="" href="http://apps.sourceforge.net/gallery/keplerweka/"&gt;gallery&lt;/a&gt; hosts screenshots of example workflows: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;based on the &lt;a class="" href="http://apps.sourceforge.net/gallery/keplerweka/index.php?g2_itemId=15"&gt;20080827&lt;/a&gt; release &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="example-workflows"&gt;Example workflows&lt;/h2&gt;
&lt;p&gt;Each release of of the KeplerWeka actors (binary or source code) contain a sub-directory called &lt;em&gt;&lt;code&gt;workflows&lt;/code&gt;&lt;/em&gt;, containing example workflows (incl. the necessary) that explain most of the actors available. &lt;/p&gt;
&lt;p&gt;But you can download the workflows separately as well. Just go to the &lt;a class="" href="https://sourceforge.net/project/showfiles.php?group_id=256842&amp;amp;package_id=314995"&gt;download section&lt;/a&gt; of the workflows and select the appropriate one for download. &lt;/p&gt;
&lt;p&gt;After unpacking the workflows (Windows users will need an archive program that can handle gzip'ed tar files, e.g., &lt;a class="" href="http://7-zip.org/" rel="nofollow"&gt;7-zip&lt;/a&gt;), you can just open them in Kepler and run them. Some of the workflows might require you to adjust the file/directory paths of datasets/models/etc. &lt;/p&gt;
&lt;h2 id="i-want-to"&gt;I want to…&lt;/h2&gt;
&lt;p&gt;...perform a task with the KeplerWeka actors, but don't know how to connect them. The following sections cover some basic usage of these actors, each with a short description, followed by the example workflows that perform this task. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NB:&lt;/strong&gt; The following information is always based on the latest release. &lt;/p&gt;
&lt;h3 id="load-a-dataset"&gt;...load a dataset&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Use the &lt;em&gt;&lt;code&gt;FileReader&lt;/code&gt;&lt;/em&gt; actor, it automatically determines the converter for the data, based on the extension of the filename. But you can also specify an explicit converter and configure it to your needs. &lt;/li&gt;
&lt;li&gt;Set the &lt;em&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/em&gt; of the dataset that you want to load. &lt;/li&gt;
&lt;li&gt;The &lt;em&gt;&lt;code&gt;dataset&lt;/code&gt;&lt;/em&gt; output port outputs the whole dataset at once (batch-mode), the &lt;em&gt;&lt;code&gt;instance&lt;/code&gt;&lt;/em&gt; output port row-by-row (used for incremental classifiers). &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;batch mode &lt;/li&gt;
&lt;li&gt;associator-01-build_output &lt;/li&gt;
&lt;li&gt;attribute_selection-01-display_output &lt;/li&gt;
&lt;li&gt;attribute_selection-02-plot_merit &lt;/li&gt;
&lt;li&gt;classifier-02-crossvalidate-output_models_summary_roc &lt;/li&gt;
&lt;li&gt;classifier-03-random_split &lt;/li&gt;
&lt;li&gt;classifier-04-testset_evaluation &lt;/li&gt;
&lt;li&gt;classifier-06-crossvalidate_multiple_files &lt;/li&gt;
&lt;li&gt;classifier-07-crossvalidate_multiple_times-save_roc &lt;/li&gt;
&lt;li&gt;classifier-08-crossvalidate_multiple_files-on_multiple_classifiers &lt;/li&gt;
&lt;li&gt;clusterer-01-build-output_summary_graph &lt;/li&gt;
&lt;li&gt;clusterer-02-crossvalidate-output_summary &lt;/li&gt;
&lt;li&gt;clusterer-03-build_and_predict &lt;/li&gt;
&lt;li&gt;clusterer-04-crossvalidate-output_summary-on_multiple_setups &lt;/li&gt;
&lt;li&gt;misc-01-filter_train_and_test (train) &lt;/li&gt;
&lt;li&gt;misc-02-train_test_generation_with random_split &lt;/li&gt;
&lt;li&gt;misc-03-matrix_conversions &lt;/li&gt;
&lt;li&gt;incremental mode &lt;/li&gt;
&lt;li&gt;classifier-05-incremental_train_and_predict &lt;/li&gt;
&lt;li&gt;misc-01-filter_train_and_test (test) &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="filter-data"&gt;...filter data&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;em&gt;&lt;code&gt;Filter&lt;/code&gt;&lt;/em&gt; actor allows you to apply any Weka filter to the data. &lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;em&gt;&lt;code&gt;inputOne&lt;/code&gt;&lt;/em&gt;/&lt;em&gt;&lt;code&gt;outputOne&lt;/code&gt;&lt;/em&gt; ports are for the first batch of data (a &lt;code&gt;weka.core.Instances&lt;/code&gt; object), used for initializing the filter. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="p"&gt;...&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;somePort&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;inputOne&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;Filter&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;outputOne&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;somePort&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;em&gt;&lt;code&gt;inputTwo&lt;/code&gt;&lt;/em&gt;/&lt;em&gt;&lt;code&gt;outputTwo&lt;/code&gt;&lt;/em&gt; ports to pass through a second batch of data (another &lt;code&gt;weka.core.Instances&lt;/code&gt; object), using the already initialized filter. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="p"&gt;...&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;somePort&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;inputOne&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;+---------+&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;outputOne&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;somePort&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;
                                    &lt;span class="o"&gt;|&lt;/span&gt;  &lt;span class="n"&gt;Filter&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="p"&gt;...&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;somePort&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;inputTwo&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;+---------+&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;outputTwo&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;somePort&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;em&gt;&lt;code&gt;inputSingle&lt;/code&gt;&lt;/em&gt;/&lt;em&gt;&lt;code&gt;outputSingle&lt;/code&gt;&lt;/em&gt; ports can be used to pass single &lt;code&gt;weka.core.Instance&lt;/code&gt; objects through the filter.&lt;br /&gt;
&lt;strong&gt;Caution:&lt;/strong&gt; batch filters will be trained with the first &lt;code&gt;weka.core.Instance&lt;/code&gt; object being passed through the filter. This, of course, won't make any sense for filters like &lt;em&gt;&lt;code&gt;ReplaceMissingValues&lt;/code&gt;&lt;/em&gt; as not useful mean/mode can be derived from a single instance. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="p"&gt;...&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;somePort&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;inputSingle&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;Filter&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;outputSingle&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;somePort&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;example workflow(s): &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;misc-01-filter_train_and_test &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="build-an-associator"&gt;...build an associator&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;TODO &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;associator-01-build_output &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="perform-attribute-seletion"&gt;...perform attribute seletion&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;TODO &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;attribute_selection-01-display_output &lt;/li&gt;
&lt;li&gt;attribute_selection-02-plot_merit &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="train-a-classifier-and-output-its-model"&gt;...train a classifier and output its model&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;TODO &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;classifier-01-train_on_dataset-output_tree &lt;/li&gt;
&lt;li&gt;classifier-02-crossvalidate-output_models_summary_roc &lt;/li&gt;
&lt;li&gt;classifier-03-random_split &lt;/li&gt;
&lt;li&gt;classifier-04-testset_evaluation &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="train-a-classifier-and-save-the-generated-model"&gt;...train a classifier and save the generated model&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;You will need a &lt;em&gt;&lt;code&gt;Classifier&lt;/code&gt;&lt;/em&gt; and a &lt;em&gt;&lt;code&gt;ModelWriter&lt;/code&gt;&lt;/em&gt; actor. &lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Connect the &lt;em&gt;&lt;code&gt;built&lt;/code&gt;&lt;/em&gt; output port of the &lt;em&gt;&lt;code&gt;Classifier&lt;/code&gt;&lt;/em&gt; actor with the &lt;em&gt;&lt;code&gt;model&lt;/code&gt;&lt;/em&gt; input port of the &lt;em&gt;&lt;code&gt;ModelWriter&lt;/code&gt;&lt;/em&gt;. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="p"&gt;...&lt;/span&gt; &lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;Classifier&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;built&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;ModelWriter&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the correct filename of the model file in the &lt;em&gt;&lt;code&gt;ModelWriter&lt;/code&gt;&lt;/em&gt; actor. &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;The &lt;em&gt;&lt;code&gt;modelType&lt;/code&gt;&lt;/em&gt; property must be set to &lt;em&gt;&lt;code&gt;Classifier&lt;/code&gt;&lt;/em&gt;. &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;classifier-01-train_on_dataset-output_tree &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="output-the-classifier-predictions"&gt;...output the classifier predictions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;TODO &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;classifier-05-incremental_train_and_predict &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="use-a-serialized-model"&gt;...use a serialized model&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;TODO &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="cross-validate-a-classifier"&gt;...cross-validate a classifier&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;TODO &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;classifier-02-crossvalidate-output_models_summary_roc &lt;/li&gt;
&lt;li&gt;classifier-06-crossvalidate_multiple_files &lt;/li&gt;
&lt;li&gt;classifier-07-crossvalidate_multiple_times-save_roc &lt;/li&gt;
&lt;li&gt;classifier-08-crossvalidate_multiple_files-on_multiple_classifiers &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="display-a-classifiers-roc"&gt;...display a classifier's ROC&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;TODO &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;classifier-02-crossvalidate-output_models_summary_roc &lt;/li&gt;
&lt;li&gt;classifier-07-crossvalidate_multiple_times-save_roc &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="build-a-clusterer-and-save-the-generated-model"&gt;...build a clusterer and save the generated model&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;You will need a &lt;em&gt;&lt;code&gt;Clusterer&lt;/code&gt;&lt;/em&gt; and a &lt;em&gt;&lt;code&gt;ModelWriter&lt;/code&gt;&lt;/em&gt; actor. &lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Connect the &lt;em&gt;&lt;code&gt;built&lt;/code&gt;&lt;/em&gt; output port of the &lt;em&gt;&lt;code&gt;Clusterer&lt;/code&gt;&lt;/em&gt; actor with the &lt;em&gt;&lt;code&gt;model&lt;/code&gt;&lt;/em&gt; input port of the &lt;em&gt;&lt;code&gt;ModelWriter&lt;/code&gt;&lt;/em&gt;. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="p"&gt;...&lt;/span&gt; &lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;Clusterer&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;built&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;ModelWriter&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the correct filename of the model file in the &lt;em&gt;&lt;code&gt;ModelWriter&lt;/code&gt;&lt;/em&gt; actor. &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;The &lt;em&gt;&lt;code&gt;modelType&lt;/code&gt;&lt;/em&gt; property must be set to &lt;em&gt;&lt;code&gt;Clusterer&lt;/code&gt;&lt;/em&gt;. &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;clusterer-01-build-output_summary_graph &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="output-the-cluster-assignments"&gt;...output the cluster assignments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;TODO &lt;/li&gt;
&lt;li&gt;example workflow(s): &lt;ul&gt;
&lt;li&gt;clusterer-03-build_and_predict &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="run-the-experimenter"&gt;..run the Experimenter&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;em&gt;&lt;code&gt;Experiment&lt;/code&gt;&lt;/em&gt; actor allows you to perform the same experiments and evaluations as the &lt;em&gt;Basic setup&lt;/em&gt; in the Weka Experimenter. But in addition to that, you can also feed &lt;code&gt;weka.core.Instances&lt;/code&gt;, &lt;em&gt;&lt;code&gt;File&lt;/code&gt;&lt;/em&gt; and &lt;em&gt;&lt;code&gt;String&lt;/code&gt;&lt;/em&gt; objects (and arrays of these objects) into this actor, enabling experiments with dynamic generated data. The latter two point to datasets. &lt;/li&gt;
&lt;li&gt;For the evaluation of the experiment, you need the &lt;em&gt;&lt;code&gt;ExperimentEvaluation&lt;/code&gt;&lt;/em&gt; actor. This actor allows you to set the same parameters for performing the test as the Weka Experimenter. &lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For displaying the generated result, just use &lt;em&gt;&lt;code&gt;Display&lt;/code&gt;&lt;/em&gt; or &lt;em&gt;&lt;code&gt;TextDisplay&lt;/code&gt;&lt;/em&gt; actor. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="p"&gt;...&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;somePort&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;Experiment&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;setup&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;ExperimentEvaluation&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;--&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;Display&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;example workflow(s): &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;experiment-01-multiple_files &lt;/li&gt;
&lt;li&gt;experiment-02-multiple_files-parameter_sweep &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="" href="http://7-zip.org/" rel="nofollow"&gt;7-zip homepage&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Reutemann</dc:creator><pubDate>Tue, 20 May 2014 20:58:16 -0000</pubDate><guid>https://sourceforge.netf1316c10cd16b4a9fbef7cd4ce8f11c8d26735bc</guid></item></channel></rss>