<!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>Automatic Threshold Calculation for the Categorical Distance Measure ConDist</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Markus Ring</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dieter Landes</string-name>
          <email>dieter.landesg@hs-coburg.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andreas Hotho</string-name>
          <email>fhothog@informatik.uni-wuerzburg.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Data Mining and Information Retrieval Group, University of Wurzburg</institution>
          ,
          <addr-line>97074 Wurzburg</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Faculty of Electrical Engineering and Informatics, Coburg University of Applied Sciences and Arts</institution>
          ,
          <addr-line>96450 Coburg</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>52</fpage>
      <lpage>63</lpage>
      <abstract>
        <p>The measurement of distances between objects described by categorical attributes is a key challenge in data mining. The unsupervised distance measure ConDist approaches this challenge based on the idea that categorical values within an attribute are similar if they occur with similar value distributions on correlated context attributes. An impact function controls the in uence of the correlated context attributes in ConDist's distance calculation process. ConDist requires a user-de ned threshold to purge context attributes whose correlations are caused by noisy, non-representative or small data sets. In this work, we propose an automatic threshold calculation method for each pair of attributes based on their value distributions and the number of objects in the data set. Further, these thresholds are also considered when applying ConDist's impact function. Experiments show that this approach is competitive with respect to well selected user-de ned thresholds and superior to poorly selected user-de ned thresholds.</p>
      </abstract>
      <kwd-group>
        <kwd>categorical data</kwd>
        <kwd>distance measure</kwd>
        <kwd>unsupervised learning</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Distance calculation between objects is a key requirement for many data
mining tasks like clustering, classi cation or outlier detection [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. Objects are
described by a set of attributes which can be divided into continuous and
categorical attributes. For continuous attributes, distance calculation is well understood
and mostly uses the Minkowski distance [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. For categorical attributes, de ning
meaningful distance measures is more challenging since the values within such
attributes have no inherent order [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. However, several methods exist to address
this issue. A comprehensive overview of categorical distance measures is given
in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Yet, more sophisticated categorical distance measures incorporate
statistical information like correlations about the data [
        <xref ref-type="bibr" rid="ref11 ref14 ref8 ref9">8,9,11,14</xref>
        ]. ConDist (Context
based Categorical Distance Measure) [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] is such an unsupervised categorical
distance measure. For distance calculation, ConDist extracts available information
from correlations between the target attribute (the attribute for which distances
shall be calculated) and the correlated context attributes. ConDist uses a
correlation measure based on the information gain. Each context attribute whose
correlation exceeds a user-de ned threshold is used for distance calculation.
This threshold must be large enough to ensure that context attributes are
purged whose correlations are caused by noisy, non-representative or too small
data sets. Simultaneously, the threshold must be small enough to retain context
attributes with signi cant correlations.
      </p>
      <p>
        In this paper, we propose a data-driven method for calculating ConDist's
threshold. In [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], the user has to de ne a single threshold for all attributes. In
contrast to this approach, the proposed method calculates an individual
threshold XjY for each combination of target attribute X and context attribute Y .
These thresholds XjY can be better adapted to the speci c correlation
requirements of two concrete attributes than a single threshold . We consider the
number of objects in the data set and the value distributions of target attribute
X and context attribute Y when calculating the individual thresholds XjY . The
calculated thresholds XjY are also taken into account when applying ConDist's
impact function. The impact function controls the in uence of the correlated
context attributes in ConDist's distance calculation process and considers the
varying amount of information that can be extracted from a correlated context
attribute. The proposed method for the automatic threshold calculation makes
ConDist parameterless and simpli es the application of the distance measure.
      </p>
      <p>The rest of the paper is organized as follows: Related work on
categorical distances measures and their approaches for identifying correlated context
attributes are discussed in Section 2. Section 3 gives a short description of the
categorical distance measure ConDist. Section 4 introduces the proposed method
for the automatic threshold calculation. Section 5 gives an experimental
evaluation of the proposed automatic threshold calculation method and the results are
discussed in Section 6. The last section summarizes the paper.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>Unsupervised categorical distance measures may be divided into distance
calculation (I) without considering context attributes and (II) considering context
attributes.</p>
      <p>
        Boriah et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] give a comprehensive overview of distances measures from
category (I). These distance measures ignore information that could be extracted
from context attributes. For example, the distance measure Eskin only uses the
cardinality of the target attribute domain to calculate distances.
      </p>
      <p>
        Distance measures from category (II) consider context attributes in the
distance calculation process [
        <xref ref-type="bibr" rid="ref1 ref10 ref11 ref14 ref8 ref9">1,8,9,10,11,14</xref>
        ]. For example, the distance measures
proposed in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] use all context attributes for distance calculation
without distinguishing between correlated and uncorrelated. Conversely, the
proposed distance measures in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] use only a subset of context attributes
for distance calculation. Jia and Cheung [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] use a normalized version of the
mutual information (NMI) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], whereas DILCA [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] relies on Symmetric Uncertainty
(SU) [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] to determine the correlation between two attributes. For both, NMI
and SU, the user has to de ne a threshold for the selection of correlated
context attributes. The distance measure CBDL [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] uses the Pearson's chi-squared
test 2 [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] for identifying correlated context attributes. Yet, the user needs to
provide a signi cance level alpha for the Pearson's chi-squared test 2.
      </p>
      <p>
        Like [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], ConDist [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] only uses correlated context attributes for distance
calculation. It measures the correlation between attributes based on the
information theoretical concept of entropy. In [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], the user has to de ne a threshold
for the selection of correlated context attributes. In this work, we propose an
automatic threshold calculation method for ConDist, which is based on the value
distribution of the attributes and the number of objects in the data set.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>The Distance Measure ConDist</title>
      <p>
        In this section, we give a short description of the categorical distance measure
ConDist [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. The core idea is presented in Section 3.1. Since ConDist uses
correlated context attributes in the distance calculation process, we explain in
Section 3.2 how the set of correlated context attributes is derived. Section 3.3
describes the impact function of ConDist which accounts for the varying amount
of information that can be extracted from a correlated context attribute.
3.1
      </p>
      <sec id="sec-3-1">
        <title>ConDist</title>
        <p>The distance between two objects A and B is calculated as the sum of distances
in each attribute and de ned as follows:</p>
        <p>ConDist(A; B) =</p>
        <p>
          X wX
X
dX (A; B)
dX;max
;
(1)
where wX denotes a weighting factor assigned to attribute X. Since wX is not
relevant for threshold calculation, the reader is referred to [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] for further details
on wX . The function dX (A; B) denotes the distance of the values AX and BX
of the objects A and B in attribute X. The maximum distance between any two
values x; u 2 dom(X) of attribute X is given by dX;max and is used to normalize
all attribute distances to the interval [0; 1].
        </p>
        <p>The distance dX (A; B) between two values AX and BX within an attribute X
is calculated according to the following formula:
dX (A; B) =</p>
        <p>X
Y 2contextX
v
u
impactX (Y )u
t</p>
        <p>X
ConDist uses an asymmetric function cor(XjY ) to measure the correlation
between a target attribute X and a context attribute Y . The function cor(XjY )
is de ned as follows:
cor(XjY ) =</p>
        <p>IG(XjY )</p>
        <p>H(X)
;
where H(X) is the entropy of the target attribute X and IG(XjY ) is the
information gain of target attribute X given context attribute Y . The information
gain IG(XjY ) is the di erence between the entropy H(X) of attribute X and
the conditional entropy H(XjY ) of attribute X given attribute Y :
IG(XjY ) = H(X)</p>
        <p>
          H(XjY )
Consequently, the function cor(XjY ) is normalized to the interval [0; 1]. The
higher the value of the correlation function cor(XjY ), the higher the correlation
between the two attributes. In [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ], all context attributes whose correlations
exceed a user-de ned threshold are added to the set of correlated context
attributes contextX for target attribute X:
where dom(Y ) is the domain of attribute Y , and p(yjAX ) = p(yjX = AX )
denotes the probability that value y of context attribute Y is observed under
the condition that value AX of attribute X is observed in data set D. The
set of correlated context attributes for a speci c target attribute X is given by
contextX (see Section 3.2). The function impactX (Y ) controls the in uence of
context attribute Y on target attribute X and is described in Section 3.3.
3.2
        </p>
        <p>Selection of Context Attributes
(3)
(4)
(6)
contextX = fY j cor(XjY )
g
(5)
Note that the target attribute X itself is always in the set of correlated context
attributes contextX since cor(XjX) = 1.
3.3</p>
      </sec>
      <sec id="sec-3-2">
        <title>The Impact of Context Attributes</title>
        <p>ConDist uses an impact function impactX (Y ) to control the in uence of a
correlated context attribute Y on target attribute X in the distance calculation
process. This function accounts for the fact that the varying amount of extractable
information depends on the degree of correlation between the attributes X and
Y . In general, the quality of the extracted information grows with the strength
of the correlation. However, for highly correlated attributes, the amount of
extractable information decreases. In the extreme case of a perfectly correlated
context attribute Y , no further information about distinct values in target
attribute X can be extracted since Y predicts the values of X. To be precise,
ConDist uses the impact function as de ned as:</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Automatic Threshold Calculation Method</title>
      <p>
        In this section, we propose a data-driven approach to replace the user-de ned
threshold of Section 3.2. In principle, ConDist's impact function should control
automatically the in uence of the context attributes without additional
thresholds. However, the experiments in [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] showed that an additional threshold is
necessary, especially for non-correlated data sets.
      </p>
      <p>In Section 4.1, we use an example to explain the reason why an additional
threshold is necessary. Based on that example, we propose a way how this
threshold could be calculated from the data set in Section 4.2. The proposed automatic
threshold calculation method involves an additional adjustment of ConDist's
impact function which is described in Section 4.3.
4.1</p>
      <sec id="sec-4-1">
        <title>Problem Description by Example</title>
        <p>The impact function impactX (Y ) (Section 3.3) controls the in uence of context
attributes in the distance calculation process and depends on the value of the
correlation function cor(XjY ) (Section 3.2). We give an example when these two
functions fail to control the in uence of context attributes without additional
threshold .</p>
        <p>Consider the example data set in Table 1. Let us assume, we want to calculate
distances for the attribute height. In this case, sex and haircolor are the context
attributes. Further, we may assume that in the considered population attributes
haircolor and height are independent of each other, while attributes height and
sex are correlated. When applying ConDist's correlation function cor(XjY ) and
impact function impactX (Y ), we achieve the following results:
cor(heightjsex) =</p>
        <p>IG(heightjsex)</p>
        <p>H(height)
0:108
As expected, the context attribute sex has higher impact on the target
attribute height than context attribute haircolor. However, the context attribute
haircolor has also a small impact on the target attribute height. Since we have
also a highly correlated context attribute sex, the small impact of context
attribute haircolor is almost negligible.</p>
        <p>However, if we would have only the context attribute haircolor, the small
impact factor would lead to small di erences for distinct values in target attribute
height. These small di erences originate from the fact that the estimated
probability density functions used in cor(XjY ) are not representative due to the small
training data set. Consequently, the di erences are conceptually not intended
since, given the particular population of our example, the context attribute
haircolor is independent from height. In this case, it would be preferable to
use only the target attribute itself for distance calculation. Therefore, a
threshold is necessary to purge such context attributes.
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Data-Driven Threshold Calculation</title>
        <p>The example in Section 4.1 shows that too small data sets are problematic for
the correlation function cor(XjY ). This follows from the fact that cor(XjY )
requires the information gain IG(XjY ), which in turn requires the entropy of
attribute X and the conditional entropy of attribute X given attribute Y . The
entropy H(X) and the conditional entropy H(XjY ) are de ned as follows:
(9)
(10)
(11)
(12)
(13)
where p(x) is the probability of value x and p(xjy) is the conditional probability
of value x given value y in data set D. Consequently, the probability density
functions p(X) and p(Y ) of the attributes X and Y are necessary for calculating
H(X) and H(XjY ). These two functions can be estimated more accurately if
the data set is large. Consequently, the smaller the data set, the higher the
possibility of errors in the results delivered by the correlation function.</p>
        <p>Further, two attributes X and Y are non-correlated in ConDist's correlation
function cor(XjY ), if and only if the following equation holds:</p>
        <p>H(X) = H(XjY )
Equation (13) requires that the conditional probability density functions of
attribute X given a value y 2 dom(Y ) are all identical and equal to the
probability density function of attribute X. The larger the cardinality of dom(X) and
dom(Y ), the more objects are necessary to ful ll this requirement in the case
H(X) =</p>
        <p>X
x2dom(X)</p>
        <p>p(x) log2 p(x) and
H(XjY ) =</p>
        <p>X
of non-correlated attributes since the value distributions and conditional value
distributions must be estimated from the data set. Consequently, the cardinality
and the distribution of dom(X) and dom(Y ) should be considered in the
threshold calculation process as well. Both factors are re ected in the entropy of an
attribute.</p>
        <p>Therefore, we calculate the threshold</p>
        <p>XjY based on these two aspects:
XjY =</p>
        <p>H(X) H(Y )
n
;
(14)
where n is the number of objects in the data set. This threshold decreases with an
increasing number of objects and increases with increasing attribute entropies
H(X) and H(Y ). The threshold XjY may be viewed as an estimate of the
portion of correlation that is due to estimating the probability density functions
p(X) and p(Y ) from the data set. The calculation of XjY is easy and no
userde ned parameter is necessary.</p>
        <p>If we apply the automatic calculation of the threshold XjY to the example
in the Section 4.1, we can observe the following results:
heightjsex =</p>
        <p>H(height) H(sex)
n
The correlation value of attribute sex (see Equation (7)) exceeds the calculated
threshold heightjsex, whereas the correlation value of attribute haircolor (see
Equation (8)) does not exceed the threshold heightjhaircolor. Applying the
proposed context-sensitive threshold XjY would imply that only the attribute sex
would be added to the set of correlated context attributes contextheight for target
attribute height.
In Section 4.2, we interpreted the threshold XjY as the amount of correlation
which is caused by estimating probability density functions from the data set.
Consequently, this amount of correlation should also be considered in the
impact function impactX (Y ). To that end, we adjust ConDist's impact function
impactX (Y ) as follows:
impactX (Y ) =
8
&lt;0
:cor (XjY ) 1
12 cor (XjY )
2
if cor(XjY )
if cor(XjY ) &gt;</p>
        <p>XjY
XjY
where cor (XjY ) is the adjusted correlation value rescaled to the interval [0; 1]:
cor (XjY ) =
cor(XjY )
1</p>
        <p>XjY</p>
        <p>XjY :
; (17)</p>
        <p>
          (18)
If we apply the new impact function to the example in the Section 4.1, we can
observe the following results:
cor (heightjsex)
Using the proposed approach, only the context attribute sex has an impact on
target attribute height.
This section presents an experimental evaluation of the automatic calculation of
the threshold XjY (Section 4). We compare our new approach with the
userde ned threshold method presented in [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] and with the categorical distance
measure DILCA [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], which is the most serious competitor in [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]. For DILCA,
we used the non-parametric approach DILCARR as described in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
We evaluate the di erent threshold calculation methods for ConDist in the
context of classi cation. A k-Nearest-Neighbor classi er is used to compare the
di erent categorical distance measures (DILCA and ConDist ) and the di erent
methods for threshold calculation in ConDist. For simpli cation, we do not try
to optimize the selection of the parameter k of the k-Nearest-Neighbor classi er.
Instead we x the number of neighbors k = 7 in all tests in order to create
an equal base for the di erent con gurations. We evaluate by 10-fold-cross
validation and use the classi cation accuracy as evaluation measure. To reduce
confounding e ects of the generated subsets, 10-fold cross-validation is repeated
100 times with di erent subsets for each data set.
        </p>
        <p>
          For evaluation, the multivariate categorical data sets for classi cation from
the UCI machine learning repository [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] are chosen. We exclude data sets with
less than 25 objects (e.g., Balloons ) or mainly binary attributes (e.g., Chess).
Furthermore, we include some multivariate mixed data sets for classi cation
from [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] which mainly consist of categorical attributes and some integer
attributes with a small set of distinct values (e.g. an integer attribute that contains
the number of students in a course): Teaching Assistant Evaluation, Breast
Cancer Wisconsin, Dermatology and Post-Operative Patient. All integer attributes
are treated as categorical. The nal set of data sets is given in Table 2. The
column Correlation contains the average correlation between each distinct pair
of attributes, calculated by the function cor(XjY ), see Equation (3). The value
ranges from 0 if no correlation exists to 1 if all attributes are perfectly
correlated. The data sets are separated in two groups: correlated (Correlation &gt; 0)
and non-correlated (Correlation = 0).
This experiment compares the automatic calculated threshold XjY with various
user-de ned thresholds in ConDist and with the categorical distance measure
DILCA. The threshold expresses the minimum value of the function cor(XjY )
that a context attribute Y has to achieve in order to be selected as correlated
context attribute for the target attribute X. The higher the threshold , the
fewer context attributes are used. In the extreme case of = 0, all context
attributes are used for distance calculation. The automatic calculated
threshold XjY follows the approach of Section 4. The results of this experiment are
summarized in Table 3, where each column contains the average classi cation
accuracies for a particular threshold.
        </p>
        <p>
          Table 3 shows that the automatic calculation of the threshold XjY achieves
the best average classi cation accuracy. The user-de ned thresholds = 0:01 and
= 0:02 achieve similar good results. Without any threshold = 0, a decreasing
classi cation accuracy can be observed for non-correlated data sets. For too
high user-de ned thresholds , the average classi cation accuracies decrease.
Compared with DILCA, the proposed approach XjY is comparable for highly
correlated data sets and superior for weakly- and non-correlated data sets.
Statistical Signi cance Test. This test aims at examining if the di erences in
Table 3 are statistically signi cant. Demsar [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] deals with the statistical
comparison of classi ers over multiple data sets. They recommend the Wilcoxon
SignedRanks Test [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] for the comparison of two classi ers and the Friedman-Test [
          <xref ref-type="bibr" rid="ref6 ref7">6,7</xref>
          ]
for the comparison of multiple classi ers. Following this line, we use the
FriedmanTest to compare all di erent con gurations and the Wilcoxon Signed-Ranks Test
for post-hoc tests. The Friedman-Test is signi cant for p &lt; 0:05; thus we can
reject the null hypothesis that all threshold calculation methods in ConDist and
DILCA are equivalent. Subsequently, we applied the Wilcoxon Signed-Ranks
Test with = 0:05 on the classi cation accuracies of Table 3.
        </p>
        <p>Table 4 shows signi cant di erences between XjY and DILCA and between
XjY and the user-de ned thresholds = 0:1, = 0:2 and = 1:0. For the
remaining user-de ned thresholds , the Wilcoxon Signed-Ranks Test shows no
statistically signi cant di erences.
6</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Discussion</title>
      <p>For correlated data sets, high user-de ned thresholds lead to decreasing results,
e.g. = 0:1, = 0:2 or = 1:0 for the data sets Teaching Assistant Evaluation
and Lymphography. For these thresholds, many useful correlated context
attributes are discarded. The same observation can be made for weakly-correlated
data sets at lower thresholds. Consider the decreasing classi cation accuracy for
the data set TicTacToe at threshold = 0:05. For non-correlated data sets,
nearly all threshold methods achieve the same results. Only the absence of any
threshold ( = 0) leads to inferior results. In this case, non-correlated context
attributes are added to the set of context attributes contextX , which may
contribute noise to the distance calculation process.</p>
      <p>The proposed automatic calculation of the threshold XjY achieves good
results for correlated and non-correlated data sets. As a consequence, the proposed
method achieves the best average classi cation accuracy. The average classi
cation accuracies for user-de ned thresholds = 0:01, = 0:02 and = 0:05 are
marginally worse. The Wilcoxon-Signed Ranks Test con rms that there are no
statistical signi cant di erences between them. In contrast to this, statistically
signi cant di erences can be observed for too high user-de ned thresholds.</p>
      <p>
        These observations indicate that the proposed automatic calculation of the
threshold XjY is superior to poorly selected user-de ned thresholds and
competitive to well selected user-de ned thresholds. Consequently, XjY is preferable to
the user-de ned approach in [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], since the user-de ned parameter is omitted
and the quality of results does not deteriorate.
      </p>
      <p>For highly correlated data sets, the results of the proposed approach XjY
and DILCA are comparable. For weakly- and non-correlated data sets, DILCA
achieves inferior results in comparison to ConDist. This is because DILCA uses
only context attributes for distance calculation which results in random distances
if all context attributes are non-correlated.
7</p>
    </sec>
    <sec id="sec-6">
      <title>Summary</title>
      <p>
        Categorical distance calculation is a key requirement for many data mining tasks.
In this paper, we propose an extension for the unsupervised categorical distance
measure ConDist [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. ConDist uses the correlation between attributes to extract
available information for distance calculation. In [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], the user has to de ne a
threshold for the selection of correlated context attributes. This threshold
has to purge context attributes whose correlations are caused by noisy,
nonrepresentative or too small data sets.
      </p>
      <p>In this work, we proposed an automatic threshold calculation method for
the distance measure ConDist. This approach calculates for each pair of target
attribute X and context attribute Y an individual threshold instead of using a
single user-de ned threshold . The calculated thresholds XjY depend on the
number of objects in the data set and the entropies of the attributes.
Consequently, these individual thresholds can be better adapted to the speci c
correlation requirements of each pair of attributes. Further, additional adjustments
were made to ConDist's impact function impactX (Y ).</p>
      <p>The proposed extension makes ConDist parameterless and simpli es the
application of the distance measure. Our experiments show that the automatic
threshold calculation method is competitive to well selected user-de ned
threshAcknowledgements This work is funded by the Bavarian Ministry for
Economic A airs through the WISENT project (grant no. IUK 452/002) and by the
DFG through the PoSTs II project (grant no. HO 2586/2-2).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Ahmad</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dey</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>A method to compute distance between two categorical values of same attribute in unsupervised learning for categorical data set</article-title>
          .
          <source>Pattern Recognition Letters</source>
          <volume>28</volume>
          (
          <issue>1</issue>
          ),
          <volume>110</volume>
          {
          <fpage>118</fpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Alamuri</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Surampudi</surname>
            ,
            <given-names>B.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Negi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>A survey of distance/similarity measures for categorical data</article-title>
          .
          <source>In: Proc. of IJCNN</source>
          . pp.
          <year>1907</year>
          {
          <year>1914</year>
          . IEEE (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Au</surname>
            ,
            <given-names>W.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chan</surname>
            ,
            <given-names>K.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wong</surname>
            ,
            <given-names>A.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Attribute clustering for grouping, selection, and classi cation of gene expression data</article-title>
          .
          <source>IEEE/ACM Transactions on Computational Biology and Bioinformatics (TCBB) 2</source>
          (
          <issue>2</issue>
          ),
          <volume>83</volume>
          {
          <fpage>101</fpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Boriah</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chandola</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kumar</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Similarity measures for categorical data: A comparative evaluation</article-title>
          .
          <source>In: Proc. SIAM Int. Conference on Data Mining</source>
          . pp.
          <volume>243</volume>
          {
          <issue>254</issue>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Demsar</surname>
          </string-name>
          , J.:
          <article-title>Statistical comparisons of classi ers over multiple data sets</article-title>
          .
          <source>The Journal of Machine Learning Research 7</source>
          ,
          <issue>1</issue>
          {
          <fpage>30</fpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Friedman</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The use of ranks to avoid the assumption of normality implicit in the analysis of variance</article-title>
          .
          <source>Journal of the American Statistical Association</source>
          <volume>32</volume>
          (
          <issue>200</issue>
          ),
          <volume>675</volume>
          {
          <fpage>701</fpage>
          (
          <year>1937</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Friedman</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A comparison of alternative tests of signi cance for the problem of m rankings</article-title>
          .
          <source>The Annals of Mathematical Statistics</source>
          <volume>11</volume>
          (
          <issue>1</issue>
          ),
          <volume>86</volume>
          {
          <fpage>92</fpage>
          (
          <year>1940</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Ienco</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pensa</surname>
            ,
            <given-names>R.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Meo</surname>
          </string-name>
          , R.:
          <article-title>Context-based distance learning for categorical data clustering</article-title>
          .
          <source>In: Advances in Intelligent Data Analysis VIII</source>
          , pp.
          <volume>83</volume>
          {
          <fpage>94</fpage>
          . Springer (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Jia</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cheung</surname>
            ,
            <given-names>Y.M.:</given-names>
          </string-name>
          <article-title>A new distance metric for unsupervised learning of categorical data</article-title>
          .
          <source>In: Proc. of IJCNN</source>
          . pp.
          <year>1893</year>
          {
          <year>1899</year>
          . IEEE (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Khorshidpour</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hashemi</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hamzeh</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Cbdl: Context-based distance learning for categorical attributes</article-title>
          .
          <source>Int. J. Intell. Syst</source>
          .
          <volume>26</volume>
          (
          <issue>11</issue>
          ),
          <volume>1076</volume>
          {
          <fpage>1100</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Le</surname>
            ,
            <given-names>S.Q.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ho</surname>
            ,
            <given-names>T.B.</given-names>
          </string-name>
          :
          <article-title>An association-based dissimilarity measure for categorical data</article-title>
          .
          <source>Pattern Recognition Letters</source>
          <volume>26</volume>
          (
          <issue>16</issue>
          ),
          <volume>2549</volume>
          {
          <fpage>2557</fpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Lehmann</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Romano</surname>
          </string-name>
          , J.:
          <source>Testing Statistical Hypotheses</source>
          . Springer Texts in Statistics, Springer (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13. M.
          <article-title>Lichman: Uci machine learning repository (</article-title>
          <year>2013</year>
          ), http://archive.ics.uci. edu/ml
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Ring</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Otto</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Becker</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Niebler</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Landes</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hotho</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Condist: A context-driven categorical distance measure</article-title>
          .
          <source>In: Machine Learning and Knowledge Discovery in Databases</source>
          . pp.
          <volume>251</volume>
          {
          <fpage>266</fpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Tan</surname>
            ,
            <given-names>P.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Steinbach</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kumar</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Introduction to data mining</article-title>
          .
          <source>Pearson Addison Wesley Boston</source>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Wilcoxon</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Individual comparisons by ranking methods</article-title>
          .
          <source>Biometrics bulletin 1(6)</source>
          ,
          <volume>80</volume>
          {
          <fpage>83</fpage>
          (
          <year>1945</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Yu</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
          </string-name>
          , H.:
          <article-title>Feature selection for high-dimensional data: A fast correlationbased lter solution</article-title>
          .
          <source>In: ICML</source>
          . vol.
          <volume>3</volume>
          , pp.
          <volume>856</volume>
          {
          <issue>863</issue>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>