<!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>Using Metalearning to Predict When Parameter Optimization Is Likely to Improve Classification Accuracy</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Parker Ridd</string-name>
          <email>parker.ridd@byu.net</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christophe Giraud-Carrier</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>Work on metalearning for algorithm selection has often been criticized because it mostly considers only the default parameter settings of the candidate base learning algorithms. Many have indeed argued that the choice of parameter values can have a significant impact on accuracy. Yet little empirical evidence exists to provide definitive support for that argument. Recent experiments do suggest that parameter optimization may indeed have an impact. However, the distribution of performance differences has a long tail, suggesting that in most cases parameter optimization has little effect on accuracy. In this paper, we revisit some of these results and use metalearning to characterize the situations when parameter optimization is likely to cause a significant increase in accuracy. In so doing, we show that 1) a relatively simple and efficient landmarker carries significant predictive power, and 2) metalearning for algorithm selection should be effected in two phases, the first in which one determines whether parameter optimization is likely to increase accuracy, and the second in which algorithm selection actually takes place.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The availability of a large number of classification learning
algorithms together with the No Free Lunch theorem for classification
present business users with a significant challenge, namely that of
deciding which algorithm is likely to induce the most accurate model
for their particular classification task. This selection process is
further compounded by the fact that many classification learning
algorithms include parameters, and the various possible settings of these
parameters may give rise to models whose accuracy on the target
classification task varies significantly. As a result, the algorithm
selection problem in machine learning consists not only in choosing
an algorithm, but rather in choosing an algorithm and an associated
parameter setting. Formally, let:</p>
      <p>L = fL1; L2; : : : ; Lng be a finite set of n classification
learning algorithms (e.g., C4.5, Na¨ıve Bayes-NB, Backpropagation-BP,
Support Vector Machine-SVM).</p>
      <p>: : : PLkii be the set of parameter settings
PLi = PL1i PL2i
associated with Li, where each PLki represents one of the
parameters of Li (e.g., PC1 4:5 =pruning indicator, PC2 4:5 =splitting
criterion, : : :, PB1 P =number of hidden layers, PB2 P =learning rate,
PB3 P =momentum term, : : :).</p>
      <p>T = X Y be a training set for a classification task where X is
a set of features and Y is a finite set of labels.
I(L; P; T ) be the model induced by algorithm L with parameter
setting P on some classification learning task T . Hence, I maps
objects in X to labels in Y.</p>
      <p>A(I) be the predictive accuracy of model I (typically measured
by cross-validation).</p>
      <p>The classification learning algorithm selection problem can be
formulated as follows.</p>
    </sec>
    <sec id="sec-2">
      <title>Classification Learning Algorithm Selection Given a training set</title>
      <p>T for some classification learning task, find the pair (L ; P ) where
L 2 L and P 2 PL , such that
8(L; P ) 2 L</p>
      <p>PL A(I(L; P; T ))</p>
      <p>A(I(L ; P ; T )).</p>
      <p>
        The above formulation is generic in that it says nothing about the
process used to search the combined spaces of classification learning
algorithms and parameter settings to find the optimal algorithm.
Metalearning for classification learning algorithm selection is the specific
instance of that general problem wherein the search is effected by a
learning algorithm [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In other words, the past performance of
classification learning algorithms on a variety of tasks is used to induce a
predictive model that takes as input a classification learning task and
produces as output a classification learning algorithm and its
associated parameter setting.
      </p>
      <p>
        In practice, one has access to a set T = fT1; T2; : : : ; Tmg of m
training sets (corresponding to m classification learning tasks). For
each Tj , the learning algorithms in L, together with their parameter
settings, are used one at a time to induce a model on Tj . The pair
of classification learning algorithm and parameter setting that
maximizes A(I(L; P; Tj )) is recorded. Each Tj with its corresponding
winning pair becomes a training example for a (meta)learning
algorithm. Since storing complete learning tasks is unfeasible and likely
undesirable, one uses instead some characterization of learning tasks
by meta-features. Meta-features may be drawn from basic statistics
and information-theoretic measures (e.g., ratio of nominal features,
skewness, class entropy) [
        <xref ref-type="bibr" rid="ref14 ref22 ref7">14, 7, 22</xref>
        ], landmarking measures (i.e.,
performances of simple learners that serve as signpost for more
complex ones) [
        <xref ref-type="bibr" rid="ref17 ref2 ref8">2, 17, 8</xref>
        ], and model-based measures (e.g., properties of
induced decision trees) [
        <xref ref-type="bibr" rid="ref1 ref16 ref3">1, 3, 16</xref>
        ]. Given a training set T for some
classification learning task, let C(T ) be the characterization of T by
some set of meta-features.
      </p>
      <p>
        One can now take a number of classification tasks, characterize
them via the function C, and record the corresponding meta-features
together with the accuracy of the best learning algorithm and
associated parameter setting. The classification learning algorithm
selection problem, as solved by metalearning, can then be reformulated as
follows.3
both a learning algorithm an associated parameter setting (e.g.,
see [
        <xref ref-type="bibr" rid="ref13 ref21 ref24">13, 24, 21</xref>
        ]).
      </p>
      <sec id="sec-2-1">
        <title>Metalearning for Classification Learning Algorithm Selection</title>
        <p>Given a set T m = f(C(T ); argmaxL2L;P 2PL A(I(L; P; T ))g of
past classification learning episodes, together with a classification
learning algorithm Lm, which may belong to L, and an associated
parameter setting PLm :
1. Construct M = I(Lm; PLm ; T m).
2. For any training set T 0, (L ; P ) = M(T 0).</p>
        <p>By convention, let PL0i denote the default parameter setting of Li,
as determined by the implementation of Li under consideration (e.g.,
Weka, IBM SPSS Modeler). Most of the work in metalearning so far
has addressed the above problem with the further assumption that for
all learning algorithms the parameter setting is fixed to its default.
This, of course, creates a much restricted, yet also greatly simplified,
version of the selection problem, since the large, possibly infinite,
space of parameter settings need not be considered at all. However,
that restriction has also been the source of much criticism, and
sometimes dismissal, by a part of the machine learning community, who
has maintained that:
Parameter Optimization Claim Parameter setting has a significant
impact (for the better) on the predictive accuracy of classification
learning algorithms.</p>
        <p>It would seem that most metalearning researchers, and indeed
most machine learning researchers, have taken this claim to be well
founded, and considered ways to address it. There have been two
main approaches.</p>
        <p>Two-stage Metalearning. Some metalearning researchers have
adopted a two-stage approach to metalearning, wherein they
continue to use the restricted form of the Metalearning for
Classification Learning Algorithm Selection problem to choose
a learning algorithm, but then follow up with an optimization
phase to find the best set of parameter values for the selected
algorithm.4 The problem in this case, however, is that one may
reach a suboptimal solution. Indeed, let L1 and L2 be two
classification learning algorithms, such that, for some classification
task T 0, M(T 0) = (L1; PL01 ). Then, L1 would be selected
and its parameter setting optimized to PL1 . Yet, despite the
fact that A(I(L1; PL01 ; T 0)) &gt; A(I(L2; PL02 ; T 0)) (assuming
the metalearner is accurate), it is entirely possible that there
exists some parameter setting PLk2 of algorithm L2 such that
A(I(L1; PL1 ; T 0)) &lt; A(I(L2; PLk2 ; T 0)). In other words, the
early greedy commitment to L1 makes it impossible to explore
other parts of the combined spaces of learning algorithms and
parameter settings.</p>
        <p>
          Unrestricted Metalearning. Other metalearning researchers have
lifted the traditional restriction, and recently begun to design
solutions from the unrestricted Metalearning for Classification
Learning Algorithm Selection problem. Their systems seek to select
3 We recognize that it is possible to use metalearning to predict rankings of
learning algorithms (e.g., see [
          <xref ref-type="bibr" rid="ref23 ref5">5, 23</xref>
          ]), or even the actual performance of
learning algorithms via regression (e.g., see [
          <xref ref-type="bibr" rid="ref10 ref20 ref4">4, 10, 20</xref>
          ]). We restrict our
attention here to the prediction of a single best algorithm although much of
the discussion extends naturally to these settings.
4 Some have also simply picked a classification learning algorithm manually,
and used metalearning to choose the best parameter setting (e.g., see [
          <xref ref-type="bibr" rid="ref19 ref9">9,
19</xref>
          ]).
        </p>
        <p>Interestingly, and somewhat surprisingly, very few researchers
have bothered to check the validity of the Parameter Optimization
Claim. Yet, to the best of our knowledge —and as presented by most,
it is just that: a claim. We have been hard-pressed to find any
systematic study in the literature that addresses the impact of parameter
settings over a wide variety of classification learning algorithms. What
if the Parameter Optimization Claim does not hold in general? What
if it only holds in some specific cases? Would it not be useful to
know what these cases are? And what about using metalearning to
characterize when the claim holds? We address these questions here.
2</p>
        <sec id="sec-2-1-1">
          <title>Impact of Parameter Optimization on</title>
        </sec>
        <sec id="sec-2-1-2">
          <title>Classification Learning Algorithm Performance</title>
          <p>
            There is one exception to our statement that the literature contains no
systematic study of the impact of parameter optimization on the
performance of classification learning algorithms, found in [
            <xref ref-type="bibr" rid="ref23">23</xref>
            ]. In that
paper, the authors considered 466 datasets and for each, computed
the difference in accuracy between their default parameter setting
and the best possible parameter setting after optimization. The
optimization procedure is based on particle swarm optimization (PSO),
wherein the authors specify which parameters should be optimized
(e.g., kernel function and complexity constant for SVM) and the
range of values that PSO should consider. We obtained the data from
the authors and reproduced their results, with two small exceptions:
1) we found that one of the datasets in the list was redundant, so we
removed it; and 2) our dataset characterization tool (see below) did
not terminate on two of the datasets after several days so we stopped
it, and omitted the corresponding datasets from our study. Hence, the
results here are for 463 datasets. For each dataset, Figure 1 shows the
percentage of improvement of the best AUC score among 20
classification learning algorithms after parameter optimization over the
best AUC score among the same classification learning algorithms
with their default parameter setting. The data is ordered by
increasing value of improvement.
t
n
e
m
e
rvpom 10
I
%
0
2
5
1
5
0
0
100
200
300
400
Figure 1 makes it clear that the impact of parameter optimization
is highly variable across datasets, and seems to be rather small for
a large number of them. We are a little surprised that with such a
skewed distribution, the authors of [
            <xref ref-type="bibr" rid="ref23">23</xref>
            ] concluded that “the result
demonstrates the benefit of using the performances of optimised
algorithms for generating algorithm rankings”, and thus carried on
with a blanket application of their combined classification learning
algorithm / parameter setting selection approach.
          </p>
          <p>To make the relationship even clearer, consider Figure 2 that shows
the cumulative distribution of the same datasets, where each
successive bar represents the proportion of datasets for which the
improvement in AUC due to parameter optimization is less than or equal to
the value indicated on the x-axis in increments of 1%.</p>
          <p>0
0
1
0
8
0
6</p>
          <p>According to Figure 2, for 19% of the datasets considered
parameter optimization offers no gain in performance. The ascent is actually
very steep, as shown by the shaded portion of the distribution,
reaching 80% of the datasets for an improvement in performance of no
more than 5%. From 0% to 5%, the relationship is virtually linear
(r=0.999) with a slope of 12. These results seem robust as an
independent analysis of 129 datasets and 9 classification learning
algorithms reveals that there is no gain in performance with optimization
for about 15% of the datasets and 96% of the datasets exhibit less
than 5% improvement.5</p>
          <p>
            We note that the above analysis was not performed on a
peralgorithm basis. As stated, the differences in performance are
computed from among the best in 20 algorithms, which means that the
best optimized version could be obtained with algorithm A, while
the best default version for the same dataset would be obtained with
algorithm B. It is possible, however, that some classification
learning algorithms are more sensitive to parameter settings and may thus
be more likely to exhibit significant differences with parameter
optimization. It may be worthwhile in a future study to consider such
algorithm-level variation. In spite of this limitation, several
conclusions seem inescapable from the foregoing analysis:
1. Parameter optimization does not improve performance uniformly
across datasets.
5 There may be some overlap in the datasets used in this study and those used
in [
            <xref ref-type="bibr" rid="ref23">23</xref>
            ], although the datasets were not transformed into binary classification
tasks in the former as they were in the latter.
2. For many datasets, parameter optimization yields very little
improvement and may be viewed as computational overkill.
3. For a few datasets, parameter optimization makes a significant
difference and should thus be performed.
          </p>
          <p>From a practitioner’s standpoint, the last two conclusions are
particularly relevant. If no improvement is to be expected from
parameter optimization, then one would gladly save the extra computational
time required to effect it. Conversely, if a significant improvement
can be expected and one is focused on maximizing predictive
accuracy, then one would be willing to bear the extra cost. The question
then, for such practitioners, is: Will the predictive accuracy on the
classification learning task I am considering be improved by
parameter optimization?</p>
          <p>It should be obvious to machine learning researchers that if one
labels the datasets falling under conclusion 2 above as no advantage
and the datasets falling under conclusion 3 as advantage, one obtains
a training dataset for a classification learning task. We propose to
do exactly that and essentially take our own medicine, by applying
machine learning to the problem of distinguishing between datasets
that may benefit from parameter optimization and datasets that would
not. Because our data consists of information about the performance
of learning algorithms, this is an instance of metalearning.
3</p>
        </sec>
        <sec id="sec-2-1-3">
          <title>Metalearning the Impact of Parameter</title>
        </sec>
        <sec id="sec-2-1-4">
          <title>Optimization</title>
          <p>As per standard metalearning practice, we build our training
metadata by characterizing each of our 463 datasets by a set of
metafeatures. However, because smaller datasets may produce unreliable
meta-features, we remove from the analysis all of the datasets
containing less than 100 instances. This leaves us with 326 datasets.</p>
          <p>
            We use an existing R script that, for each dataset, creates a
metafeature vector by extracting over 68 meta-features, including
statistical and information-theoretic meta-features, landmarkers,
modelbased meta-features, and timing information [
            <xref ref-type="bibr" rid="ref18">18</xref>
            ]. Prior to our
experiments, we manually remove a number of meta-features that carry
little information in this context (e.g., timing data, model-based
meta-features, redundant meta-features). In each experiment, we also
use correlation-based feature subset selection (CFS) [
            <xref ref-type="bibr" rid="ref11">11</xref>
            ], as
implemented by the function CfsSubsetEval in Weka [
            <xref ref-type="bibr" rid="ref12">12</xref>
            ], to further
reduce the number of meta-features.
          </p>
          <p>The metalearning task consists in distinguishing datasets where
parameter optimization is deemed to offer no advantage (class 0)
from datasets where parameter optimization is likely to yield a
performance advantage (class 1). Each meta-feature vector is labeled
appropriately based on the observed difference in performance over
its corresponding dataset. We use various threshold values to separate
class 1 from class 0, as shown below.</p>
          <p>There are two types of error our (meta)models can make. A false
positive (FP) error is made when the model considers a class 0 dataset
but labels it as class 1. When this happens, there is wasted effort in
performing parameter optimization when no significant gain will be
achieved by such optimization. Conversely, a false negative (FN)
error is made when the model considers a class 1 dataset but labels
it as class 0. When this happens, valuable parameter optimization is
omitted and there is a resulting loss in predictive accuracy in the
classification task under consideration. Assuming that a practitioner’s
ultimate goal is to get the best accuracy possible on their specific
classification task, one can argue that FN errors are more costly than FP
errors, and thus should be minimized. This is, of course, is
equivaT P
lent to maximizing recall, R = T P +F N (where TP is the number of
true positive classifications). Yet, one must be careful as it is trivial
to maximize R by simply assigning all classification tasks to class 1.
Clearly, this would defeat the purpose of the model and is
unacceptable due to the unnecessary computational burden it places on the
system. Hence, we focus on obtaining models with high recall, but
also good precision, P = T PT+PF P .</p>
          <p>
            We are faced at the metalevel with the same challenge of
selecting a (meta)learning algorithm adequate for the task at hand. We are
guided here by a desire for comprehensibility of the induced model
and the results of preliminary experiments. Hence, we use for our
metalearner, a decision tree learning algorithm, specifically Weka’s
J48, and implement the training and testing processes in
RapidMiner [
            <xref ref-type="bibr" rid="ref15">15</xref>
            ]. Interestingly, J48 also resulted in higher accuracy than
other algorithms such as SVM and Random Forest.
3.1
          </p>
          <p>Threshold = 1.5
We begin by setting the threshold relatively low, assuming that there
is an advantage to parameter optimization if the performance
improvement exceeds 1.5%.</p>
          <p>The default accuracy in this case is 61.96%, obtained by
predicting class 1 uniformly. This, of course, produces maximum recall,
R=100%, but very poor precision, P =61.96%.</p>
          <p>Applying CFS selects the following mixed set of meta-features:
attributes, kurtosis, joint entropy, NB, LDA and NN1.
Further experimentation shows that performance can be improved
still by using only joint entropy, NB and NN1. The confusion
matrix is as follows.</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>Actual</title>
        <p>This yields an accuracy of 79.17%, significantly above default,
with both high recall R=86.14% and high precision P =81.31%. The
decision tree is shown below.
nn_1 &lt;= 0.902439
| joint_entropy &lt;= 0.606044: 0 (14.0/2.0)
| joint_entropy &gt; 0.606044
| | naive_bayes &lt;= 0.952: 1 (208.0/30.0)
| | naive_bayes &gt; 0.952
| | | nn_1 &lt;= 0.71134
| | | | joint_entropy &lt;= 2.08461: 0 (2.0)
| | | | joint_entropy &gt; 2.08461: 1 (5.0)
| | | nn_1 &gt; 0.71134: 0 (12.0/2.0)
nn_1 &gt; 0.902439: 0 (85.0/15.0)</p>
        <p>
          To further test the metamodel, we collected 42 independent
datasets with more than 100 instances each. It is possible that some
of these correspond to some of the tasks used in the training data.
However, all 463 training tasks have been binarized [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ], while these
were left untouched. Hence, we are training on 2-class datasets and
testing on n-class datasets, which may be somewhat unfair, but still
interesting.
        </p>
        <p>We extracted the meta-features of the 42 datasets, and ran the
corresponding meta-feature vectors against the metamodel.6 The
accuracy on the test datasets is 54.76%, which is rather poor given a
default accuracy of 73.81%. However, the default is obtained by
predicting class 0 uniformly. While the test accuracy is not very good,
6 As the results for the test datasets were obtained with a different set of
classification learning algorithms and a different parameter optimization
procedure, we are not entirely sure the comparison is fair. Yet, we feel there
is value in including these results.
recall is very high at R=90.91% (compared to R=0 for the default),
with 10 of the 11 datasets of class 1 being predicted in class 1. This
suggests that the model has picked up useful information to identify
learning tasks where parameter optimization would be advantageous
(i.e., expected improvement greater than 1.5%).</p>
        <p>In addition to its own performance at the metalevel, we consider
how the metamodel affects performance at the base level. To do so,
we compare maxImp, the total amount of possible improvement
due to parameter optimization to predImp, the amount of
improvement one would obtain by using the metamodel. For each dataset d,
let ld be d’s label, pd be d’s predicted class, and Id be the
improvement one would experience if parameter optimization were used with
d. Then,
maxImp = X Id
d
i.e., maxImp is the sum of the individual improvement values across
all of our 326 datasets. Here, maxImp = 949:26. Similarly,
predImp = X
d</p>
        <p>Id if (pd = ld) ^ (ld = 1)
0 otherwise
i.e., predImp is the sum of the improvement values for all datasets
where the metamodel makes the correct class 1 prediction. We do
not include correct class 0 predictions as these would artificially
inflate the results. Here, predImp = 789:92. Hence, the metamodel
would allow us to claim 83.21% of the total performance
improvement available at the base level.
3.2</p>
        <p>Threshold=2.5
We next raise the threshold, assuming that there is an advantage
to parameter optimization if the performance improvement exceeds
2.5%.</p>
        <p>The default accuracy in this case is 50.31%, obtained by predicting
class 1 uniformly. This, again, produces maximum recall, R=100%,
but very poor precision, P =50.31%.</p>
        <p>Applying CFS selects the following mixed set of meta-features:
kurtosis prep, normalized attribute entropy,
joint entropy, NB, LDA, stump min gain and NN1.
Further experimentation shows that performance can be improved still
by using only kurtosis prep, normalized attribute
entropy, joint entropy, NB and NN1. The confusion matrix
is as follows.</p>
      </sec>
      <sec id="sec-2-3">
        <title>Actual</title>
        <p>This yields an accuracy of 74.52%, significantly above default,
with both high recall R=84.15% and high precision P =70.77%. The
decision tree is shown below.
nn_1 &lt;= 0.857143
| joint_entropy &lt;= 0.606044
| | joint_entropy &lt;= 0.508598
| | | kurtosis_prep &lt;= 26.479217: 1 (2.0)
| | | kurtosis_prep &gt; 26.479217: 0 (2.0)
| | joint_entropy &gt; 0.508598: 0 (8.0)
| joint_entropy &gt; 0.606044
| | naive_bayes &lt;= 0.969466: 1 (194.0/49.0)
| | naive_bayes &gt; 0.969466
| | | normalized_attribute_entropy &lt;= 0.84991
| | | | kurtosis_prep &lt;= 45.518635: 0 (2.0)
| | | | kurtosis_prep &gt; 45.518635: 1 (2.0)
| | | normalized_attribute_entropy &gt; 0.84991: 0 (7.0)
nn_1 &gt; 0.857143: 0 (109.0/15.0)</p>
        <p>As with the threshold value of 1.5, using the metamodel against
the test datasets produces poor accuracy (35.71% for a default of
88.10%), but recall is significantly better with R=60% (3 of the 5
datasets in class 1 are predicted correctly) against a default of R=0.</p>
        <p>Considering performance at the base level, we have here
predImp = 698:61, so that the metamodel would allow us to still
claim 73.60% of the total performance improvement available.
3.3</p>
        <sec id="sec-2-3-1">
          <title>Larger Threshold Values</title>
          <p>Based on the distribution of performance improvements, raising the
threshold will cause the majority class to shift to 0 and result in far
fewer class 1 datasets. On the other hand, while fewer, correctly
identifying these datasets offers the highest benefit to the practitioner as
the expected improvement in accuracy with parameter optimization
is rather significant. However, the metalearning task is also more
difficult as the class distribution of the training data is rather skewed.</p>
          <p>Setting the threshold to 5.0% results in a default accuracy of
83.44% with a model that predicts class 0 uniformly. While it was
not possible in this case to improve on the default accuracy with
the available set of meta-features, recall rose to R=25.94% (10 of
the 54 datasets in class 1 are predicted correctly). Interestingly, CFS
selected LDA and NN1, and while the tree induced without feature
selection is a little larger than the previous ones, it also splits on NN1
at the root node. Using the metamodel against the test datasets
produces reasonable accuracy (76.19%) but only because the test data is
skewed in favor of class 0. Only two datasets belong to class 1 and
neither is predicted correctly.</p>
          <p>Setting the threshold to 10.0% results in a default accuracy of
96.93% again with a model that predicts class 0 uniformly. Only 10
datasets belong to class 1, making for a very imbalanced class
distribution. Using all the meta-features, the induced decision tree has a
slightly improved accuracy (97.85%), with recall R=30%. The root
of the tree is mutual information. There are no datasets in our
test set for which the improvement with parameter optimization
exceeds 10%.
4</p>
        </sec>
        <sec id="sec-2-3-2">
          <title>Discussion</title>
          <p>
            As mentioned previously, one of the biggest issues with parameter
optimization is the amount of time it takes to optimize the
parameters. In [
            <xref ref-type="bibr" rid="ref24">24</xref>
            ], it took 6,000 single core CPU hours to optimize the
parameters of all their datasets, which means that it took on average
about 13 hours per dataset. For obvious reasons, a practitioner would
probably not wish to wait for that amount of time when it may result
in little or no improvement from the models baseline performance.
          </p>
          <p>What this short study demonstrates is that it is possible to predict,
with good recall value, whether parameter optimization will
significantly increase a classification learning models accuracy by using the
metafeatures of any particular dataset, which are less
computationally intensive than the parameter optimization procedure. Of course,
as the threshold increases, or as the expected performance
improvement gets larger, the prediction becomes less accurate. Nevertheless,
it is better than default.</p>
          <p>
            One of the unexpected findings of our study, valid across almost
all metamodels, is that the root node of the decision tree is NN1. In
other words, a dataset’s performance on NN1 is indicative of whether
parameter optimization will significantly improve the performance
of learning algorithms trained against it. There are at least two
interesting things about this finding. First, it confirms prior work on
metalearning that suggest that landmarking meta-features are
generally better than other meta-features, especially NN1 and NB [
            <xref ref-type="bibr" rid="ref20">20</xref>
            ].
Second, and significantly more valuable, is that NN1 is a very
efficient algorithm, suggesting that it would be very fast to determine
whether parameter optimization is likely to improve accuracy for any
dataset.
          </p>
          <p>To further test the predictive power of NN1, we ran Weka’s linear
regression on our dataset, without CFS, and with the target set to the
actual percentage of accuracy improvement (Imp) observed for each
dataset. The resulting model is shown below.</p>
          <p>Imp =
1-------1-10680054370836..............40320578351434403303830963720599025881296351188122186793 ************** cskccmnasssssnlkualuottttttna_ernatituuuuuswtcsusrmmmmm1snoosaeippppp_esr_l_b_____+psi_e_summmsmrss1niitiaedio__tngenxanbpprfn_n__rrooamg++ameeprle+iippym_annarn++ta+++it+oino ++
-2.003 +</p>
          <p>+</p>
          <p>The correlation coefficient of the model is 0.40, and the relatively
large multiplicative factor associated with NN1 in the model suggests
its influence on the value of Imp. Furthermore, if we regress Imp on
NN1 alone, we obtain the following very simple model.
Imp =</p>
          <p>The correlation coefficient of this simpler model is 0.44. There is
still error in this model, and it will be interesting to see whether using
only the NN1 metafeature could in general reasonably predict the
datasets improvement if classification learning algorithm parameters
are optimized.
5</p>
        </sec>
        <sec id="sec-2-3-3">
          <title>Conclusion</title>
          <p>We have showed that the observed improvement in performance
due to parameter optimization in classification learning has a rather
skewed distribution, with most datasets seeing none or very little
improvement. However, there remains a portion of datasets for which
parameter optimization has a significant impact. We have used
metalearning to build a model capable of predicting whether parameter
optimization can be expected to improve classification accuracy. As
a result, it would seem that both current approaches to
metalearning, the one that ignores parameter optimization and considers only
default settings, and the other that applies parameter optimization in
all cases, are misinformed. Instead, a two-phase approach where one
first determines whether parameter optimization is likely to produce
an improvement, and then if so applies it, is more appropriate.</p>
          <p>Furthermore, one unexpected and very interesting side effect of
our metalearning study is that our results show that good recall can be
achieved at the metalevel, and that, with a very small set of efficient
meta-features. In particular, it would appear that NN1 may serve as a
great landmarker in this context.</p>
          <p>For future work, it may be valuable to revisit error costs. In
particular, we have argued here that FN errors were more costly than
FP errors on the basis that practitioners are likely to wish to obtain
the highest possible accuracy on their classification tasks. This is
certainly also true when the computational cost of parameter
optimization is prohibitive. Were computational cost not to matter, the best
decision would be to always perform parameter optimization, and
there would consequently be no need for a metamodel. In practice,
however, it is well-known that parameter optimization is
computationally intensive. As a result, FP errors may actually be rather costly,
and possibly even more so than FN errors. In any case, there would
seem to exist a range of operating conditions between these extremes,
or different cost-benefits between FN and FP associated with
parameter optimization. It may be interesting to perform a cost-sensitive
analysis at the metalevel, for example, relating expected gain in
performance (or threshold) and incurred cost. We cannot do this with
the data available since we only have final performance improvement
(after some fixed search time). We would need to re-run experiments
to gather information about improvement over time allowed for
optimization.</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Bensusan</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          (
          <year>1998</year>
          ).
          <article-title>Odd Bites into Bananas Don't Make You Blind: Learning about Simplicity and Attribute Addition</article-title>
          .
          <source>In Proceedings of the ECML'98 Workshop on Upgrading Learning to the Meta-level: Model Selection and Data Transformation</source>
          ,
          <fpage>30</fpage>
          -
          <lpage>42</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Bensusan</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Giraud-Carrier</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2000</year>
          ).
          <article-title>Discovering Task Neighbourhoods through Landmark Learning Performances</article-title>
          .
          <source>In Proceedings of the Fourth European Conference on Principles and Practice of Knowledge Discovery in Databases, LNAI</source>
          <year>1910</year>
          ,
          <volume>325</volume>
          -
          <fpage>330</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Bensusan</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giraud-Carrier</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Kennedy</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2000</year>
          ).
          <article-title>A Higherorder Approach to Meta-learning</article-title>
          .
          <source>In Proceedings of the ECML-2000 Workshop on Meta-learning: Building Automatic Advice Strategies for Model Selection and Method Combination</source>
          ,
          <fpage>109</fpage>
          -
          <lpage>118</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Bensusan</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          <article-title>and</article-title>
          <string-name>
            <surname>Kalousis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          (
          <year>2001</year>
          ).
          <article-title>Estimating the Predictive Accuracy of a Classifier</article-title>
          .
          <source>In Proceedings of the Twelfth European Conference on Machine Learning (LNCS 2167)</source>
          ,
          <fpage>25</fpage>
          -
          <lpage>36</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Brazdil</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soares</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Pinto da Costa</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          (
          <year>2003</year>
          ).
          <article-title>Ranking Learning Algorithms: Using IBL and Meta-Learning on Accuracy and Time Results</article-title>
          .
          <source>Machine Learning</source>
          ,
          <volume>50</volume>
          (
          <issue>3</issue>
          ):
          <fpage>251</fpage>
          -
          <lpage>277</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Brazdil</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giraud-Carrier</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soares</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Vilalta</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          (
          <year>2009</year>
          ). Metalearning: Applications to Data Mining, Springer.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Engels</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Theusinger</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>1998</year>
          ).
          <article-title>Using a Data Metric for Offering Preprocessing Advice in Data-mining Applications</article-title>
          .
          <source>In Proceedings of the Thirteenth European Conference on Artificial Intelligence</source>
          ,
          <fpage>430</fpage>
          -
          <lpage>434</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Fuernkranz</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Petrak</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          (
          <year>2001</year>
          ).
          <article-title>An Evaluation of Landmarking Variants</article-title>
          .
          <source>In Proceedings of the ECML/PKDD-01 Workshop on Integrating Aspects of Data Mining</source>
          ,
          <article-title>Decision Support and Meta-learning</article-title>
          ,
          <fpage>57</fpage>
          -
          <lpage>68</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Gomes</surname>
            ,
            <given-names>T.A.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prudeˆncio</surname>
            ,
            <given-names>R.B.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soares</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rossi</surname>
            ,
            <given-names>A.L.D.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Carvalho</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          (
          <year>2012</year>
          ).
          <article-title>Combining Meta-learning and Search Techniques to Select Parameters for Support Vector Machines</article-title>
          . Neurocomputing,
          <volume>75</volume>
          :
          <fpage>3</fpage>
          -
          <lpage>13</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Guerra</surname>
            ,
            <given-names>S.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prudeˆncio</surname>
            ,
            <given-names>R.B.C.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Ludermir</surname>
            ,
            <given-names>T.B.</given-names>
          </string-name>
          (
          <year>2008</year>
          ).
          <article-title>Predicting the Performance of Learning Algorithms Using Support Vector Machines as Meta-regressors</article-title>
          .
          <source>In Proceedings of the Eighteenth International Conference on Artificial Neural Networks (LNCS 5163)</source>
          ,
          <fpage>523</fpage>
          -
          <lpage>532</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Hall</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          (
          <year>1999</year>
          ).
          <article-title>Correlation-based Feature Subset Selection for Machine Learning</article-title>
          .
          <source>PhD Thesis</source>
          , Department of Computer Science, The University of Waikato, Hamilton, New Zealand.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Hall</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Frank</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Holmes</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pfahringer</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reutemann</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Witten</surname>
            ,
            <given-names>I.H.</given-names>
          </string-name>
          (
          <year>2009</year>
          ).
          <source>The WEKA Data Mining Software: An Update. SIGKDD Explorations</source>
          ,
          <volume>11</volume>
          (
          <issue>1</issue>
          ):
          <fpage>10</fpage>
          -
          <lpage>18</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Leite</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brazdil</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Vanschoren</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          (
          <year>2012</year>
          ).
          <article-title>Selecting Classification Algorithms with Active Testing</article-title>
          .
          <source>In Proceedings of the Eighth International Conference on Machine Learning and Data Mining in Pattern Recognition (LNCS 7376)</source>
          ,
          <fpage>117</fpage>
          -
          <lpage>131</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Michie</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Spiegelhalter</surname>
            ,
            <given-names>D.J.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Taylor</surname>
          </string-name>
          , C.C. (
          <year>1994</year>
          ).
          <source>Machine Learning, Neural and Statistical Classification</source>
          , Ellis Horwood.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>North</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2012</year>
          ).
          <article-title>Data Mining for the Masses</article-title>
          ,
          <source>Global Textbook Project.</source>
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Peng</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flach</surname>
            ,
            <given-names>P.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brazdil</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Soares</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2002</year>
          ).
          <article-title>Improved Data Set Characterisation for Meta-learning</article-title>
          .
          <source>In Proceedings of the Fifth International Conference on Discovery Science</source>
          ,
          <volume>141</volume>
          -
          <fpage>152</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Pfahringer</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bensusan</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Giraud-Carrier</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2000</year>
          ).
          <article-title>Metalearning by Landmarking Various Learning Algorithms</article-title>
          .
          <source>In Proceedings of the Seventeenth International Conference on Machine Learning</source>
          ,
          <fpage>743</fpage>
          -
          <lpage>750</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>Reif</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2012</year>
          ).
          <article-title>A Comprehensive Dataset for Evaluating Approaches of various Meta-Learning Tasks</article-title>
          .
          <source>In Proceedings of the First International Conference on Pattern Recognition Applications and Methods</source>
          ,
          <volume>273</volume>
          -
          <fpage>276</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Reif</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shafait</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Dengel</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          (
          <year>2012</year>
          ).
          <article-title>Meta-learning for Evolutionary Parameter Optimization of Classifiers</article-title>
          .
          <source>Machine Learning</source>
          ,
          <volume>87</volume>
          (
          <issue>3</issue>
          ):
          <fpage>357</fpage>
          -
          <lpage>380</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>Reif</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shafait</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goldstein</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Breuel</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Dengel</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          (
          <year>2014</year>
          ).
          <article-title>Automatic Classifier Selection for Non-experts</article-title>
          .
          <source>Pattern Analysis &amp; Applications</source>
          ,
          <volume>17</volume>
          (
          <issue>1</issue>
          ):
          <fpage>83</fpage>
          -
          <lpage>96</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <surname>Smith</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          R., Mitchell,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Giraud-Carrier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            and
            <surname>Martinez</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.</surname>
          </string-name>
          (
          <year>2014</year>
          ).
          <article-title>Recommending Learning Algorithms and Their Associated Hyperparameters</article-title>
          . Submitted.
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <surname>Sohn</surname>
            ,
            <given-names>S.Y.</given-names>
          </string-name>
          (
          <year>1999</year>
          ).
          <article-title>Meta Analysis of Classification Algorithms for Pattern Recognition</article-title>
          .
          <source>IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          ,
          <volume>21</volume>
          (
          <issue>11</issue>
          ):
          <fpage>1137</fpage>
          -
          <lpage>1144</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Pfahringer</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          (
          <year>2013</year>
          ).
          <article-title>Pairwise Meta-rules for Better Metalearning-based Algorithm Ranking</article-title>
          .
          <source>Machine Learning</source>
          ,
          <volume>93</volume>
          (
          <issue>1</issue>
          ):
          <fpage>141</fpage>
          -
          <lpage>161</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <surname>Thornton</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hutter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hoos</surname>
            ,
            <given-names>H.H.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Leyton-Brown</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          (
          <year>2013</year>
          ).
          <article-title>Auto-WEKA: Combined Selection and Hyperparameter Optimization of Classification Algorithms</article-title>
          .
          <source>In Proceedings of the Nineteenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</source>
          ,
          <fpage>847</fpage>
          -
          <lpage>855</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>