<!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>Comparing Performance of Formal Concept Analysis and Closed Frequent Itemset Mining Algorithms on Real Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lenka Piskov´a</string-name>
          <email>lenka.piskova@student.upjs.sk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tom´aˇs Horv´ath</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Pavol Jozef S</institution>
        </aff>
      </contrib-group>
      <fpage>299</fpage>
      <lpage>304</lpage>
      <abstract>
        <p>In this paper, an experimental comparison of publicly available algorithms for computing intents of all formal concepts and mining frequent closed itemsets is provided. Experiments are performed on real data sets from UCI Machine Learning Repository and FIMI Repository. Results of experiments are discussed at the end of the paper. Formal Concept Analysis (FCA) [9] is a method for analysing data in the form of a table with applications in many disciplines.A formal concept is a formalization of the concept of a “concept” which consists of two parts, a set of objects which forms its extension and a set of attributes which forms its intension [25]. Formal concepts can be ordered according to the subconcept-superconcept relation resulting in a concept lattice. Frequent itemset mining (FIM) introduced in [1] was proposed as a method for market basket analysis. The identification of sets of items (itemsets) which often occur together in a database (the frequency is not less than a user defined minimum support threshold) is one of the basic tasks in Data Mining. When the minimum support is set low, a huge number of itemsets is generated. To overcome this problem, closed and maximal frequent itemsets were proposed. FCA and FIM are two research fields that are closely related to each other [20]. Naturally, they address similar problems, e.g. selecting important concepts versus finding interesting patterns in data. Moreover, they inspire each other (Iceberg concept lattice which is the set of all frequent concepts connected with the subconcept-superconcept relation [23]). Finding the set of all intents (of formal concepts) is equivalent to finding the set of all closed frequent itemsets using a minimum support equal to zero [20]. Nonetheless, there is no experimental comparison between algorithms for computing formal concepts and algorithms for mining frequent closed itemsets. The aim of this paper is to provide such comparison on real-world data.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The problem of generating formal concepts and/or a concept lattice has been
well studied and many algorithms have been proposed [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ], [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ], [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ]. A
comparative performance study of algorithms for building concept lattices can
be found in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. In this paper we will focus only on those algorithms
which compute the set of all formal concepts (frequent closed itemsets) only.
Therefore, we do not compare our results with [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
      </p>
      <p>
        The fastest algorithms for computing formal concepts are FCbO [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and
InClose [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] which are based on the CbO algorithm [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. In the competition between
FCA algorithms at ICCS 20091 FCbO took the first place and the runner-up was
In-Close. The improvement of In-Close algorithm [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] was developed in response
to the competition to outperform FCbO, but our results show that FCbO still
performs better. A parallel variant of FCbO was also proposed [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], however, we
consider only the serial version in this paper.
      </p>
      <p>
        Implementations of algorithms for mining closed frequent itemsets were
experimentally compared2 and presented at FIMI’03 and FIMI’04 workshops [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
The best of the tested algorithms ([
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ], [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ]) was FP-Close
[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] although it gave a segmentation fault for 4 out of 14 data sets.
      </p>
      <p>
        In this paper, we provide an experimental comparison of 10 algorithms on
real-world data sets whose implementations are publicly available, two of them
compute formal concepts (FCbO and In-Close2) and the remaining 8 generate
closed frequent itemsets ([
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]).
3
      </p>
    </sec>
    <sec id="sec-2">
      <title>Experimental Evaluation</title>
      <p>
        We have carried out a number of experiments for several real-world data sets to
compare FCA and FIM algorithms that are publicly available. The
characteristics of selected data sets [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] are shown in the table 1.
      </p>
      <p>The experiments were conducted on the computing node with 16 cores equipped
with 24 GB RAM memory running GNU/Linux openSUSE 12.1.</p>
      <p>The measured times are CPU times. Each algorithm was run three times
for each data set and the given minimum support threshold value to get the
most accurate results. All reported times are the average times of the three
1 http://www.upriss.org.uk/fca/fcaalgorithms.html
2 http://fimi.ua.ac.be/experiments/
runs. The output was turned off, i.e. the results of algorithms (intents of formal
concepts/frequent closed itemsets) were neither written to a file nor to the screen.</p>
      <p>Some of the algorithms were originally developed to mine closed frequent
itemsets. For Apriori, Carpenter and Eclat we have set the flag -tc to mine
closed frequent itemsets. Similarly, we have used the flag -fci for Mafia.</p>
      <p>The input file of In-Close2 is in the cxt (formal context) format while the
input of other algorithms is in the standard FIMI format - each line represents a
list of attributes of an object/a list of items in a transaction. The disadvantage
of In-Close2 is that unlike other algorithms it also computes extents of formal
concepts (in addition to their intents).</p>
      <p>Some algorithms had problems on certain data sets. For mushroom, Apriori
gets killed, Carpenter outputs an incorrect number of closed frequent itemsets
(238827), DCI Closed does not calculate the result in a reasonable time (we have
stopped the computation after a few hours). In-Close2 gives an incorrect number
of formal concepts (59343) for tic-tac-toe.</p>
      <p>For kosarak, FPClose is either aborted due to the invalid pointer or gives
segmentation fault for the support 0.8% and supports less than or equal to 0.6%. For
retail with minsup = 0, Apriori gets killed, Carpenter gives an incorrect number
of closed frequent itemsets (2186693) and DCI Closed is aborted. In-Close2 gives
segmentation fault for the supports lower or equal to 60% on accidents and for
all supports except for 90% on connect.</p>
      <p>We have compared the performance of the algorithms for mining intents of
all formal concepts, i.e. closed frequent itemsets using minsup = 0 (typical task
in FCA) on small data sets. The results are depicted in the table 2. Arguably,
FCbO is the best algorithm for the given task, it is the fastest algorithm for car
and mushroom and the third fastest for tic-tac-toe. LCM and Eclat perform well
on these data sets, too. Considering also the results on retail with minsup = 0,
LCM is the fastest algorithm and the runner-up are Eclat and FPClose.</p>
      <p>Other tests were performed on big data sets and the performance of
algorithms was tested for various values of support. Figures 1 and 2 show the
timings for the algorithms on the accidents, connect, kosarak and retail data
sets. The performance of the FCbO algorithm is average on big data sets
except for kosarak. Eclat, DCI Closed and FPClose are good choice in the case of
dense data sets (accidents, connect). However, the runtime of most algorithms
increases dramatically with decreasing minimum support on these data sets. Afopt,
DCI Closed and LCM are suitable for sparse data sets (kosarak, retail) although
the Afopt algorithm is not able to handle the retail data set for minsup = 0.
The timings for In-Close2 on kosarak are not included, because the computation
took several hours just for high values of support .</p>
      <p>
        For kosarak, in our experimental testing FPClose failed while FPClose was
the fastest algorithm for low as well as high values of support in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. Our results
on other data sets correspond to some extent to the results in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
We have experimentally compared algorithms for computing intents of formal
concepts and algorithms for mining closed frequent itemsets on real-world data.
Our experimental testing has no clear winner for different data sets and minimum
support threshold setting. In our opinion, DCI Closed behaves well although it
had some problems on the mushroom data set and the retail data set with
minsup = 0. On small data sets, the fastest algorithm is FCbO.
Acknowledgements: This work was partially supported by the research grants
VEGA 1/0832/12 and the Center of knowledge and information systems in
Koˇsice (ITMS 26220220158).
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>R.</given-names>
            <surname>Agrawal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Imielinski</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          <article-title>Swami: Mining association rules between sets of items in large databases</article-title>
          .
          <source>SIGMOD</source>
          ,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. S. Andrews: In-Close,
          <article-title>a fast algorithm for computing formal concepts</article-title>
          .
          <source>ICCS</source>
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>S.</surname>
          </string-name>
          <article-title>Andrews: In-Close2, a High Performance Formal Concept Miner</article-title>
          .
          <source>ICCS</source>
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>K.</given-names>
            <surname>Bache</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lichman: UCI Machine Learning</surname>
          </string-name>
          <string-name>
            <surname>Repository</surname>
          </string-name>
          ,
          <year>2013</year>
          , http://archive.ics.uci.edu/ml, University of California, Irvine, School of Information and Computer Sciences.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Ch</surname>
          </string-name>
          . Borgelt:
          <article-title>Efficient Implementations of Apriori and Eclat</article-title>
          . IEEE ICDM Workshop on FIMI (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Ch. Borgelt</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Nogales-Cadenas</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Carmona-Saez</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Pascual-Montano</surname>
          </string-name>
          :
          <article-title>Finding Closed Frequent Item Sets by Intersecting Transactions</article-title>
          .
          <source>EDBT</source>
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>D.</given-names>
            <surname>Burdick</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Calimlim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Flannick</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gehrke</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.</surname>
          </string-name>
          <article-title>Yiu: MAFIA: A Performance Study of Mining Maximal Frequent Itemsets</article-title>
          .
          <source>IEEE ICDM Workshop on FIMI</source>
          (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>B.</given-names>
            <surname>Ganter</surname>
          </string-name>
          :
          <article-title>Two basic algorithms in concept analysis</article-title>
          .
          <source>(Technical Report FB4- Preprint No. 831)</source>
          .
          <source>TH Darmstadt</source>
          ,
          <year>1984</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>B.</given-names>
            <surname>Ganter</surname>
          </string-name>
          , R. Wille:
          <article-title>Formal concept analysis</article-title>
          :
          <source>Mathematical foundations</source>
          . Springer,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>R.</given-names>
            <surname>Godin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Missaoui</surname>
          </string-name>
          ,
          <string-name>
            <surname>H.</surname>
          </string-name>
          <article-title>Alaoui: Incremental concept formation algorithms based on Galois (concept) lattice</article-title>
          .
          <source>Computational Intelligence</source>
          , vol.
          <volume>1</volume>
          (
          <issue>2</issue>
          ),
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>11. FIMI Repository, http://fimi.ua.ac.be/data/.</mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>B.</given-names>
            <surname>Goethals</surname>
          </string-name>
          , M. J.
          <source>Zaki: Advances in Frequent Itemset Mining Implementations: Report on FIMI03. SIGKDD Explorations</source>
          , vol.
          <volume>6</volume>
          (
          <issue>1</issue>
          ),
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13. G. Grahne,
          <string-name>
            <surname>J.</surname>
          </string-name>
          <article-title>Zhu: Efficiently Using Prefix-trees in Mining Frequent Itemsets</article-title>
          .
          <source>IEEE ICDM Workshop on FIMI</source>
          (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>P.</given-names>
            <surname>Krajca</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Outrata</surname>
          </string-name>
          ,
          <string-name>
            <surname>V.</surname>
          </string-name>
          <article-title>Vychodil: Advances in algorithms based on CbO</article-title>
          .
          <source>CLA</source>
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>S. O.</given-names>
            <surname>Kuznetsov</surname>
          </string-name>
          :
          <article-title>A Fast Algorithm for Computing All Intersections of Objects in a Finite Semi-lattice</article-title>
          .
          <source>Automatic Documentation and Mathematical Linguistics</source>
          , vol.
          <volume>27</volume>
          (
          <issue>5</issue>
          ),
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <given-names>S. O.</given-names>
            <surname>Kuznetsov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Obiedkov</surname>
          </string-name>
          <article-title>: Comparing Performance of Algorithms for Generating Concept Lattices</article-title>
          .
          <source>Journal of Experimental and Theoretical Artificial Intelligence</source>
          , vol.
          <volume>14</volume>
          (
          <issue>2-3</issue>
          ),
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Ch</surname>
          </string-name>
          . Lindig:
          <article-title>Fast Concept Analysis</article-title>
          .
          <source>Working with Conceptual Structures - Contributions to ICCS</source>
          <year>2000</year>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18. G. Liu,
          <string-name>
            <given-names>H.</given-names>
            <surname>Lu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. X.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Wei</surname>
          </string-name>
          ,
          <string-name>
            <surname>X.</surname>
          </string-name>
          <article-title>Xiao: AFOPT: An Efficient Implementation of Pattern Growth Approach</article-title>
          . IEEE ICDM Workshop on FIMI (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>C. Lucchese</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Orlando</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <article-title>Perego: DCI Closed: A Fast and Memory Efficient Algorithm to Mine Frequent Closed Itemsets</article-title>
          .
          <source>IEEE ICDM Workshop on FIMI</source>
          (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <given-names>B.</given-names>
            <surname>Martin</surname>
          </string-name>
          ,
          <string-name>
            <surname>P.</surname>
          </string-name>
          <article-title>Euklund: From Concepts to Concept Lattice: A Border Algorithm for Making Covers Explicit</article-title>
          . ICFCA,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>E. M.</surname>
          </string-name>
          <article-title>Norris: An Algorithm for Computing the Maximal Rectangles in a Binary Relation</article-title>
          . Revue Roumaine de Math´ematiques Pures et Appliqu´ees, vol.
          <volume>23</volume>
          (
          <issue>2</issue>
          ),
          <year>1978</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22. L.
          <string-name>
            <surname>Nourine</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          <article-title>Raynaud: A fast algorithm for building lattices</article-title>
          .
          <source>Information Processing Letters</source>
          , vol.
          <volume>71</volume>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23. G. Stumme,
          <string-name>
            <given-names>R.</given-names>
            <surname>Taouil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bastide</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Pasquier</surname>
          </string-name>
          , L. Lakhal:
          <article-title>Computing Iceberg Concept Lattices with Titanic</article-title>
          .
          <source>Journal on Knowledge and Data Engineering</source>
          , vol.
          <volume>42</volume>
          (
          <issue>2</issue>
          ),
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24. T. Uno,
          <string-name>
            <given-names>T.</given-names>
            <surname>Asai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Uchida</surname>
          </string-name>
          ,
          <string-name>
            <surname>H.</surname>
          </string-name>
          <article-title>Arimura: LCM: An Efficient Algorithm for Enumerating Frequent Closed Item Sets</article-title>
          .
          <source>IEEE ICDM Workshop on FIMI</source>
          (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25. R. Wille:
          <article-title>Restructuring lattice theory: An approach based on hierarchies of concepts</article-title>
          .
          <source>Ordered Sets</source>
          , vol.
          <volume>83</volume>
          ,
          <year>1982</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>M. J. Zaki</surname>
          </string-name>
          :
          <article-title>Scalable algorithms for association mining</article-title>
          .
          <source>IEEE Transactions on Knowledge and Data Engeneering</source>
          , vol.
          <volume>12</volume>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>