<!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>FCA Tools Bundle</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Diana Cristea</string-name>
          <email>diana.halita@ubbcluj.ro</email>
          <email>dianat@cs.ubbcluj.ro</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christian Sacarea</string-name>
          <email>csacarea@cs.ubbcluj.ro</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Diana-Florina Sotropa</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Babes-Bolyai University Cluj-Napoca</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Formal Concept Analysis is well known for the intuitive and graphical representations of lattices. While there are a lot of algorithms mining for formal concepts in the dyadic case, there are not many tools o ering this feature for multidimensional datasets. The purpose of this paper is to present FCA Tools Bundle and its various features, ranging from importing the data in several formats to o ering full support to explore your data using di erent navigation and exploration methods.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        As an applied discipline, dealing with collections of knowledge, so-called
concepts, and aiming to detect, extract, process and represent patterns in various
data sets, FCA needs powerful software tools for handling not only the "classical"
dyadic case - formal contexts and lattice representation, but also many-valued
contexts, conceptual scale building, triadic FCA, pattern structures, etc. While
the theory developed quickly, many software tools have been developed, but they
are rather specialized on one topic than to provide a collection of tools. In this
paper we present FCA Tools Bundle, a collection of tools covering not only the
dyadic case, but also handling many-valued contexts, supporting scale building
and conceptual browsing.
While FCA focuses on data visualization and exploration, there are multiple
algorithms and software tools supporting it. An overview of this developing e ort
is maintained by Uta Priss on her page 1. Among them we brie y recall ToscanaJ
Suite [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], which is a Java implementation of the former tool Toscana and was
for many years the only tool to handle many-valued contexts. It includes tools to
create a formal context, perform conceptual scaling on a context, compute the
formal concepts and the corresponding concept lattice. Since all these features
are vital to FCA, they were also included in FCA Tools Bundle. Other
important algorithms and tools include: Trias [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], which is one of the few algorithms
Copyright c 2019 for this paper by its authors. Copying permitted for private and
academic purposes.
1 http://www.upriss.org.uk/fca/fcasoftware.html
that deals with triadic data or Lattice miner2 [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], a tool that implements
generation and visualization of concept lattices. While most FCA tools focus on
basic features such as lattice visualization, and concept generation, some tools
try to integrate multiple features. For instance, LatViz [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] integrates
functionalities such as visualization of Pattern Structures and implications, AOC posets,
concept annotations.
3
      </p>
    </sec>
    <sec id="sec-2">
      <title>FCA Tools Bundle - Motivation and Features</title>
      <p>While many of the FCA features are available in at least one software, the
problem lies in the fact that there does not exist a tool integrating all the features.
Also many of the tools, while being useful to FCA experts, are hard to use for non
experts. Therefore, making FCA more popular outside of its natural community
is another goal which motivates the development of FCA Tools Bundle3.</p>
      <p>
        A rst version of the tool which was focused on navigation through the
concepts was presented earlier in more details [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. However, since then new features
were added to the tool, such as: scale building and computing weak analogical
proportions. The FCA Tools Bundle currently implements features for dyadic
and triadic FCA, bridging the gap between the dyadic and the many-valued
case. Besides basic features, the tool includes some new approaches regarding
data exploration, such as constraint based navigation in n-adic datasets and the
visualization of weak analogical proportions in concept sets. Because the lack of
space we will enumerate the tools features, but we will only get into details for
some of the features that stand out. The list of features integrated in FCA Tools
Bundle includes the following:
1. Create dyadic or triadic contexts;
2. Import polyadic contexts and generate the correspondent concept set;
3. Build and view concept lattices;
4. Find a concept in a polyadic context without generating all its concepts;
5. Local navigation in triadic concept sets;
6. Import many-valued contexts and build conceptual scales;
7. Find Weak Analogical Proportions in concept sets;
      </p>
      <p>To start exploring your own data the tool o ers several methods of creating
the context: manually or by importing di erent formats. Conceptual scaling was
integrated in FCA Tools Bundle in a user friendly way as seen in Figure 1.
Currently the tool supports the nominal, ordinal, interordinal, grid or custom
scales. Moreover, the concept lattices generation was improved using a detection
collision algorithm, in order to avoid manually arranging the concept lattice for
concept visibility.</p>
      <p>
        As mentioned previously, FCA Tools Bundle concentrates not only on dyadic,
but also on n-adic contexts. Therefore, the tool has integrated Trias [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] in order
2 https://sourceforge.net/projects/lattice-miner
3 https://fca-tools-bundle.com/
to generate a list of concepts in a triadic context. Based on the generated
triconcepts the tool o ers a navigation through a triadic context based on dyadic
projections. This navigation paradigm was described in more details and
analyzed formally in previous papers [
        <xref ref-type="bibr" rid="ref10 ref4">10, 4</xref>
        ].
      </p>
      <p>
        On the other hand, when dealing with n-adic datasets there are not many
algorithms computing formal concepts. Another important aspect that we took
into consideration is exploring a large dataset from the perspective of a user
that is looking for a cluster of elements having some particular properties. This
led us to the idea of a constraint based concept exploration in n-adic datasets
[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], which, to the best of our knowledge, is a feature that is not included in any
other tool. This was implemented using answer set programming (ASP), a logic
programming approach, and is an intuitive way to explore your data even for
non-technical users as it can be seen in Figure 2.
      </p>
      <p>
        Another new feature of FCA Tools Bundle is displaying formal concepts in
weak analogical proportions. Analogical proportion ([5{7]) is a key pattern which
is associated with the idea of analogical reasoning and represents a statement
between two pairs (A; B) and (C; D) of the form A is to B as C is to D where
all elements A; B; C; D are in the same category. Analogical proportions can be
formulated for numbers, sets, in the boolean case, strings, as well as in various
algebraic structures, like semigroups or lattices. As explained in a previous paper
[
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], if we denote by Ox and Ax the extent, respectively the intent of concept x,
then, by the main theorem of FCA, we have that four elements (x; y; z; t) of a
lattice are in a Weak Analogical Proportion (WAP) i
      </p>
      <p>Ax \ At = Ay \ Az and Ox \ Ot = Oy \ Oz.</p>
      <p>
        When selecting a WAP from a list in FCA Tools Bundle the formal concepts
which are part of the WAP are highlighted as in Figure 3. This feature can be
very useful since it is interesting to nd relations between concepts that are not
directly linked in a concept lattice. The computation is done by using an ASP
algorithm proposed by Miclet et. al [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>Conclusions and Future Work</title>
      <p>In this paper we have presented the features integrated in FCA Tools Bundle, a
platform which aims to o er a comprehensive range of FCA features accessible
not only to FCA experts, but also to users outside the FCA community. We
believe that FCA Tools Bundle is an important progress towards a self contained
FCA platform, by implementing functionalities such as visualization and
navigation in dyadic and n-adic datasets including some features which, to the best
of our knowledge, are not present in any other tool.</p>
      <p>For the future we plan to integrate in the FCA Tools Bundle more features of
FCA that would allow an enhanced data analysis, such as computing implications
and pattern structures.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Alam</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Le</surname>
            ,
            <given-names>T.N.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Napoli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Latviz: A new practical tool for performing interactive exploration over concept lattices</article-title>
          .
          <source>In: Proc. of CLA</source>
          <year>2016</year>
          , Moscow, Russia. pp.
          <volume>9</volume>
          {
          <issue>20</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Becker</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Correia</surname>
            ,
            <given-names>J.H.</given-names>
          </string-name>
          :
          <article-title>The ToscanaJ Suite for Implementing Conceptual Information Systems</article-title>
          .
          <source>In: Formal Concept Analysis, Foundations and Applications</source>
          . pp.
          <volume>324</volume>
          {
          <issue>348</issue>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. Jaschke, R.,
          <string-name>
            <surname>Hotho</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmitz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ganter</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stumme</surname>
          </string-name>
          , G.:
          <article-title>TRIAS - An Algorithm for Mining Iceberg Tri-Lattices</article-title>
          .
          <source>In: Proc. of ICDM</source>
          <year>2006</year>
          ,
          <string-name>
            <given-names>Hong</given-names>
            <surname>Kong</surname>
          </string-name>
          , China. pp.
          <volume>907</volume>
          {
          <issue>911</issue>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Kis</surname>
            ,
            <given-names>L.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sacarea</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Troanca</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>FCA tools bundle - A tool that enables dyadic and triadic conceptual navigation</article-title>
          .
          <source>In: Proc. of FCA4AI</source>
          <year>2016</year>
          ,
          <article-title>co-located with ECAI</article-title>
          . pp.
          <volume>42</volume>
          {
          <issue>50</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Miclet</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barbot</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prade</surname>
          </string-name>
          , H.:
          <article-title>From analogical proportions in lattices to proportional analogies in formal concepts</article-title>
          .
          <source>In: Proc. of ECAI</source>
          <year>2014</year>
          , Prague, Czech Republic - Including
          <source>(PAIS</source>
          <year>2014</year>
          ). pp.
          <volume>627</volume>
          {
          <issue>632</issue>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Miclet</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nicolas</surname>
          </string-name>
          , J.:
          <article-title>From formal concepts to analogical complexes</article-title>
          .
          <source>In: Proc. of CLA</source>
          <year>2015</year>
          ,
          <article-title>Clermont-</article-title>
          <string-name>
            <surname>Ferrand</surname>
          </string-name>
          , France. pp.
          <volume>159</volume>
          {
          <issue>170</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Miclet</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prade</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guennec</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Looking for analogical proportions in a formal concept analysis setting</article-title>
          .
          <source>In: Proc. of CLA</source>
          <year>2011</year>
          , Nancy, France. pp.
          <volume>295</volume>
          {
          <issue>307</issue>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Missaoui</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Emamirad</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Lattice miner 2.0: A formal concept analysis tool</article-title>
          .
          <source>In: Suppl. Proc. of ICFCA</source>
          <year>2017</year>
          , Rennes, France. pp.
          <volume>91</volume>
          {
          <issue>94</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sacarea</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Troanca</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Membership constraints in formal concept analysis</article-title>
          .
          <source>In: Proc. of IJCAI</source>
          <year>2015</year>
          ,
          <string-name>
            <given-names>Buenos</given-names>
            <surname>Aires</surname>
          </string-name>
          , Argentina. pp.
          <volume>3186</volume>
          {
          <issue>3192</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sacarea</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Troanca</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Towards a Navigation Paradigm for Triadic Concepts</article-title>
          . In: Baixeries,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Sacarea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Ojeda-Aciego</surname>
          </string-name>
          , M. (eds.)
          <source>Proc. of ICFCA</source>
          <year>2015</year>
          , Nerja, Spain. LNCS, vol.
          <volume>9113</volume>
          , pp.
          <volume>232</volume>
          {
          <fpage>248</fpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Sacarea</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sotropa</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Troanca</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Using analogical complexes to improve human reasoning and decision making in electronic health record systems</article-title>
          .
          <source>In: Proc. of ICCS</source>
          <year>2018</year>
          ,
          <article-title>Edinburgh</article-title>
          , UK. pp.
          <volume>9</volume>
          {
          <issue>23</issue>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>