<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Supporting Process Mining Work ows with RapidProM</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>R.S. Mans</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>W.M.P. van der Aalst</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>H.M.W. Verbeek</string-name>
          <email>h.m.w.verbeekg@tue.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Mathematics and Computer Science, Eindhoven University of Technology</institution>
          ,
          <addr-line>P.O. Box 513, NL-5600 MB, Eindhoven</addr-line>
          ,
          <country country="NL">The Netherlands</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Process mining is gaining more and more attention both in industry and practice. As such, the number of process mining products is steadily increasing. However, none of these products allow for composing and executing analysis work ows consisting of multiple process mining algorithms. As a result, the analyst needs to perform repetitive process mining tasks manually and scienti c process experiments are extremely labor intensive. To this end, we have RapidMiner 5, which allows for the de nition and execution of analysis work ows, connected with the process mining framework ProM 6. As such any discovery, conformance, or extension algorithm of ProM can be used within a RapidMiner analysis process thus supporting process mining work ows.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        During last decade, process mining has become a mature technique for analyzing
all kinds of business processes based on a so-called event log [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Not
surprisingly, the number of process mining products has increased. However, for all
products, the analysis steps need to be done in an ad-hoc fashion thereby losing
the overview of all the steps that are done and their order. In other words, within
the process mining domain there is currently no support for the construction and
execution of a work ow which describes all analysis steps and their order.
      </p>
      <p>Within the scienti c work ow domain, special kinds of work ow
management systems exist which are designed to compose and execute a series of
computational or data manipulation steps (e.g. RapidMiner, KNIME, and Taverna).
When applying scienti c work ow concepts in the process mining eld, several
advantages can be realized. For example, comparable process mining analyses
can be repeated by just one-click of a button and scienti c experiments can be
executed in an automated fashion. Furthermore, within several scienti c work ow
management systems many data and machine learning techniques are readily
available. As such, di erent techniques can be easily combined for an end-to-end
analysis.</p>
      <p>
        To this end, we have integrated the process mining framework ProM 6 [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]
within the scienti c work ow management system RapidMiner 5. That is,
process mining functionality is added as an extension to RapidMiner. In this paper,
this extension, called RapidProM, is discussed in detail.
      </p>
      <p>Copyright c 2014 for this paper by its authors. Copying permitted for private and academic
purposes.</p>
    </sec>
    <sec id="sec-2">
      <title>De ning and Executing Process Mining Work ows</title>
      <p>We rst provide a general introduction to RapidMiner. Then we present the
extension which supports process mining analysis work ows.</p>
      <p>
        RapidMiner is a software product allowing for advanced analytics, i.e.
sophisticated quantitative methods (for example, statistics, descriptive and predictive
data mining, simulation and optimization) to produce insights that traditional
approaches to Business Intelligence (BI) are unlikely to discover [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Where BI
focusses on querying and reporting combined with simple visualization techniques
showing dashboards and scorecards, advanced analytics aims at automatically
nding hidden patterns too complex for humans to nd. Moreover, BI looks back
at the past whereas advanced analytics also aims to provide predictions about
the future. In addition, RapidMiner provides a GUI to design and execute an
analytical pipeline. After execution the results can be inspected.
      </p>
      <p>ProM
operators</p>
      <p>Looking at advanced analytics in general, one drawback is that processes are
not made explicit. As a result, it is useful to extend RapidMiner with process
mining capabilities. In the sequel, we will focus on the process mining capabilities
that are available within the extension. In Figure 1 a screenshot of RapidMiner
is provided thereby showing a process mining analysis within RapidMiner.</p>
      <p>First, within the \Operators" panel at the left side all the operators that
are available can be selected. There is a special \ProM6" folder in which all the
process mining operators can be found. A description can be found in Table 1.
Most of the operators correspond to existing ProM plug-ins.</p>
      <p>In the \Process" panel in Figure 1 some of the available operators can be seen
together with a visualization of the obtained results. First an event log is read
(Read Log operator). Afterwards, a Petri net is discovered using the ILP miner
(ILP Miner operator) and a dotted chart is created showing events in a graphical
way such that a \helicopter overview" of the process is obtained (Analyse using
Dotted chart operator). Finally, timing information is projected on the Petri
net so that bottlenecks can be identi ed within the process (Replay a Log on
Petri Net for Performance / Conformance Analysis operator).</p>
      <p>A wide variety of work ows can be made. Some examples are:
{ By using the Loop Parameters operator it is possible to iterate over a
selection of operators for a set of parameter combinations. For example, the
ILP Miner is repeated for each di erent option of its \Variant" parameter.
{ For each item in a collection of objects, the same work ow can be executed.</p>
      <p>For example, the Guide Tree Miner operator provides a collection of logs.</p>
      <p>Subsequently, for each log the corresponding Petri net can be discovered.
{ Within RapidMiner many data mining algorithms are available which can
be used after converting the log into a feature set. For example, using the
Case Data Extractor operator the log is converted into a feature set and
subsequently a decision tree is obtained using the Decision Tree operator.
{ Within RapidMiner also many statistical techniques are available. These can
be used for evaluation of process mining experiments. For example, by using
the Loop Attributes operator and the Replay a Log on Petri Net for
Performance / Conformance Analysis operator, for a varying number of
maximal states, the tness between a log and a Petri net can be calculated.
Afterwards, using the Linear Regression operator, the strength of the
relationship between the tness and the number of states can be determined.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Architecture and Implementation</title>
      <p>In this section, we elaborate on the architecture of ProM 6 and RapidMiner and
how both are connected. Furthermore, we focus on some implementation details.</p>
      <p>To this end, in Figure 2 an architectural overview of RapidMiner and ProM
6 is given and how they are connected. First, the most important part of ProM 6
is the framework which roughly spoken contains all the necessary functionalities
in order that process mining algorithms can be executed. The algorithms itself
are provided by means of packages. A package may contain one or more plug-ins
and a collection of provided objects that are needed or produced by the
plugin. Furthermore, a plug-in needs a context to run in. Depending on the type
of context, the plug-in communicates in a di erent way with a user. Here, it is
important that there is a clear separation between the actual process mining
algorithm and the visualization of its results. Also, there is a clear separation
between the plug-in and the parameter settings it needs. At the moment, two
types of contexts are available: a GUI-aware context, called UITopia, and a
headless context. So, a plug-in that is running in the UITopia context may
communicate with the user through dialogs and/or wizards, whereas for a
plugin running in a headless context this is not obliged. So, the latter plug-ins can be
ran using a client. In case such a plug-in requires parameter settings, these can
be provided via its own input parameter object. Moreover, for the object that
has been obtained, a visualization can be obtained by running the associated
visualization plug-in.</p>
      <p>Extensions
RapidMiner</p>
      <p>ProM 6
extension</p>
      <p>Context
Client
User</p>
      <p>Extensions</p>
      <p>ProM
Framework</p>
      <p>Files
Packages
Fig. 2: Architectural overview of ProM and RapidMiner and how they are connected.</p>
      <p>
        The headless context of ProM 6 is used in order that ProM plug-ins can be
executed within RapidMiner. As can be seen in Figure 2, RapidMiner consists of
a core in order that operators can be executed. New operators can be added by
means of an extension together with the objects that are needed by the operators
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In order to do so, for each operator the algorithm needs to be de ned and
which objects it uses and produces. Furthermore, for each object it needs to be
de ned how it is visualized. In order to run ProM 6 plug-ins a special operator
is created for each plug-in. For a provided object that needs to be visualized,
simply the associated ProM visualizer is called. For example, regarding Figure 1,
for the ILP Miner operator the ILP Miner plug-in of ProM is called and for the
provided Petri net the associated Visualize Petri Net visualizer is called.
      </p>
      <p>Currently, over 40 operators are available covering a selection of the plug-ins
that are available within ProM 6. In case a plug-in runs in a headless context it
can easily be added to the ProM extension. In order to speed up this process,
we have developed a speci c ProM plugin, called RapidMiner Code Generator
Plug-in, that generates code for adding the plug-in.</p>
      <p>The ProM extension has been tested for many scenarios. Furthermore,
students following the \Advanced Process Mining" course at TU/e are using the
software in order to do the assignments. In the end, we want to achieve that the
extension becomes robust and mature in order that it can be successfully used
by many people both from industry and science. Currently, the extension has
been downloaded over 850 times at the RapidMiner marketplace1.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Links</title>
      <p>For the ProM extension of RapidMiner, a dedicated website is available: http:
//www.rapidprom.org. Amongst others, this website contains instructions for
installing the extension, instructions for using it, it describes several use cases,
and several screencasts.</p>
      <p>Acknowledgements
This research is supported by the Dutch Technology Foundation STW, applied
science division of NWO and the Technology Program of the Ministry of
Economic A airs.
1 http://marketplace.rapid-i.com/</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <article-title>How to Extend RapidMiner 5</article-title>
          .
          <string-name>
            <surname>Rapid-</surname>
            <given-names>I</given-names>
          </string-name>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Gartner</surname>
          </string-name>
          .
          <source>Magic Quadrant for Advanced Analytics Platforms</source>
          .
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>W.M.P. van der Aalst</surname>
          </string-name>
          .
          <source>Process Mining: Discovery, Conformance and Enhancement of Business Processes</source>
          . Springer-Verlag, Berlin,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>4. H. M. W. Verbeek</surname>
            ,
            <given-names>J. C. A. M.</given-names>
          </string-name>
          <string-name>
            <surname>Buijs</surname>
            ,
            <given-names>B. F. van Dongen</given-names>
          </string-name>
          , and
          <string-name>
            <surname>W. M. P. van der Aalst.</surname>
          </string-name>
          <article-title>ProM 6: The Process Mining Toolkit</article-title>
          .
          <source>In Proc. of BPM Demonstration Track</source>
          <year>2010</year>
          , volume
          <volume>615</volume>
          , pages
          <fpage>34</fpage>
          {
          <fpage>39</fpage>
          . CEUR-WS.org,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>