<!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>The impact of network sampling on relational classification</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lilian Berton</string-name>
          <email>lilian.2as@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Didier A. Vega-Oliveros</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jorge Valverde-Rebaza</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andre Tavares da Silva</string-name>
          <email>andre.silva@udesc.br</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alneu de Andrade Lopes</string-name>
          <email>alneu@icmc.usp.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science ICMC, University of Sa ̃o Paulo CEP 13560-970</institution>
          ,
          <addr-line>Sa ̃o Carlos - SP -</addr-line>
          <country country="BR">Brazil</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Technological Sciences Center University of Santa Catarina State CEP 89219-710</institution>
          ,
          <addr-line>Joinville - SC -</addr-line>
          <country country="BR">Brazil</country>
        </aff>
      </contrib-group>
      <fpage>62</fpage>
      <lpage>72</lpage>
      <abstract>
        <p>Many real-world networks, such as the Internet, social networks, biological networks are massive in size, which difficult different processing and analysis tasks. For this reason, it is necessary to apply a sampling process to reduce the network size without losing relevant network information. In this paper, we propose a new and intuitive sampling method based on exploiting the following centrality measures: degree, k-core, clustering, eccentricity and structural holes. For our experiments, we delete 30% and 50% of the vertices from the original network and evaluate our proposal on six real-world networks on relational classification task using six different classifiers. Classification results achieved on sampled graphs generated from our proposal are similar to those obtained on the entire graphs. In most cases, our proposal reduced the original graphs by up to 50% of its original number of edges. Moreover, the execution time for learning step of the classifier is shorter on the sampled graph.</p>
      </abstract>
      <kwd-group>
        <kwd>network sampling</kwd>
        <kwd>relational classification</kwd>
        <kwd>centrality measures</kwd>
        <kwd>complex networks</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        1 Introduction
Networks are relational structures with a high level
of order and organization, despite they display big
inhomogeneities
        <xref ref-type="bibr" rid="ref11">(Fortunato, 2010)</xref>
        . Furthermore,
networks are extremely useful as a representation
of a wide variety of complex systems in a lot of
real-world contexts, such as social, information,
biological and technological domains
        <xref ref-type="bibr" rid="ref20">(Newman,
2010)</xref>
        . Formally, a network is denoted by a graph
      </p>
      <p>
        G = (V, E), where V is the set of vertices
representing objects in a specific context, and E is the
set of edges representing the interactions among
these objects. For instance, in a social network,
vertices are individuals and edges are the
friendships existing among them
        <xref ref-type="bibr" rid="ref20">(Newman, 2010)</xref>
        .
      </p>
      <p>
        Since analyzing and modeling data in
relational representation is relevant for different
domains, several applications have been studied to
obtain more benefits from the network
structure, such as community detection
        <xref ref-type="bibr" rid="ref23">(Valejo et
al., 2014)</xref>
        , link prediction
        <xref ref-type="bibr" rid="ref23 ref24 ref25 ref26 ref27">(Valverde-Rebaza and
Lopes, 2013; Valverde-Rebaza and Lopes, 2014;
Valverde-Rebaza et al., 2015)</xref>
        , topic extraction
        <xref ref-type="bibr" rid="ref10 ref28">(Faleiros and Lopes, 2015)</xref>
        , information diffusion
        <xref ref-type="bibr" rid="ref10 ref28 ref28 ref29 ref29">(Vega-Oliveros and Berton, 2015; Vega-Oliveros
et al., 2015)</xref>
        , and others. Recently, there has
been a lot of interest in relational learning,
especially related to relational classification techniques
        <xref ref-type="bibr" rid="ref15 ref16 ref16 ref17 ref17 ref18 ref4 ref4 ref5 ref5">(Lu and Getoor, 2003; Macskassy and Provost,
2003; Macskassy and Provost, 2007; Lopes et al.,
2009)</xref>
        . Relational classifiers have shown best
performance than conventional classifiers
(ValverdeRebaza et al., 2014).
      </p>
      <p>
        However, most of these networks are massive in
size, being difficult to be studied in their entirety.
In some cases, the network is not totally available,
or it is hard to be collected, or even if we have the
complete graph, it can be very expensive to run the
algorithms on it. Hence, it is necessary to perform
and study on network sampling, i.e., selecting a
subset of vertices and edges from the full graph,
in such way we obtain G0 = (V 0, E0) 2 G =
(V, E)
        <xref ref-type="bibr" rid="ref13 ref14 ref2 ref3">(Leskovec and Faloutsos, 2006; Ahmed et
al., 2012; Ahmed et al., 2013)</xref>
        .
      </p>
      <p>
        Considering the assumption that network data
fits in memory is not realistic for many real-world
domains (e.g., online social networks), different
strategies for sampling have been proposed
aiming to reduce the number of vertices or edges
of a network. The state-of-the-art technique is
called as random subsampling method, which
select nodes uniformly at random. However, while
this technique is intuitive and relatively
straightforward, it does not accurately capture properties
of networks with power-law degree distributions
        <xref ref-type="bibr" rid="ref22">(Stumpf et al., 2005)</xref>
        . To cope with this problem,
researchers have also considered other sampling
methods based on breadth-first search or random
walks. Snowball sampling method, for instance,
adds nodes and edges using breadth-first search
from a randomly selected seed node for accurately
maintaining the network connectivity within the
snowball
        <xref ref-type="bibr" rid="ref13">(Lee et al., 2006)</xref>
        . On the other hand,
the Forest Fire Sampling (FFS) method uses
partial breadth-first search where only a fraction of
neighbors are followed for each node
        <xref ref-type="bibr" rid="ref13 ref14">(Leskovec
and Faloutsos, 2006)</xref>
        , and the degree-based
sampling method selects nodes considering their
probabilities to be visited, which is proportional to the
node degree
        <xref ref-type="bibr" rid="ref1">(Adamic et al., 2001)</xref>
        .
      </p>
      <p>
        Other techniques have been proposed in the
literature, which consider the different sources (e.g.,
disk-resident/static or streaming) and scale (e.g.,
small or large). Although there is previous work
focusing on evaluating the performance of
sampling methods by comparing network statistics,
i.e. measure the representativeness of the sampled
subgraph structure comparing it with the full input
network structure
        <xref ref-type="bibr" rid="ref2 ref3">(Ahmed et al., 2012; Ahmed et
al., 2013)</xref>
        , to the best of our knowledge there is
no extensive research focused on study the impact
of using sampled networks in a specific machine
learning task, such as, classification, exploiting a
lot of classifiers and datasets. Thus, in this paper,
we propose an intuitive sampling method and use
different configurations of it to perform an
empirical evaluation in six real-world networks and six
classifiers. We evaluate the quality of our proposal
analyzing: i) how much the full network structure
is preserved in the sampled graphs generated, ii)
the accuracy obtained by six relational classifiers
on entire and sampled graphs; and iii) the
execution time in the learning step of the classifiers.
      </p>
      <p>The main contributions of this paper are: i)
we propose a new and intuitive method for
sampling based on centrality properties of networks,
such as, node degree, k-core, and others. These
measures can be calculated in only part of the
graph and have low computational cost; ii) we
perform an empirical evaluation that shows the
relational classification accuracy obtained by
different sampled graphs generated from our proposal is
as good as the classification accuracy obtained on
entire graphs and taking less time in the learning
phase; iii) we also analyze the network topology to
exploit which cases the sampled graphs are similar
to full graphs.</p>
      <p>The remaining of this paper is organized as
follows. Section 2 presents some concepts used in the
paper encompassing centrality measures and
relational classification. Section 3 presents the
proposed approach for network sampling. Section 4
presents the experimental evaluation which
analyzes the impact of sampling on relational
classification and on the network topology. Finally,
Section 5 presents the conclusions and future works.
2</p>
      <p>Background
In this section, we describe the main centrality
measures used as conventional parameters in
different sampling methods existent in the literature.
Also, we introduce briefly the main concepts on
relational classification and six of the most
popular relational classifiers.
2.1</p>
      <p>
        Centrality measures
In complex network, some researchers have
proposed different measures to analyze the
importance of central vertices
        <xref ref-type="bibr" rid="ref20 ref9">(Newman, 2010;
Dorogovtsev and Mendes, 2002)</xref>
        . The centrality
measures indicate how much a vertex is important
in some scope. Considering that, n = |V | and
m = |E|, the centrality measures applied in this
work are described as follow.
      </p>
      <p>• Degree (DG): The degree or connectivity of
vertex i, referred to ki, is related with the
number of edges or connections that go (kiout)
or arrive (kiin) to vertex i. The average degree
hki for directed networks is the average of the
input or output edges. When the network is
undirected, the average degree is the factor
hki = 2 ⇤ m/n, i.e., the sum of all the edges
per vertex of the network over the number of
vertices. The ki values can be calculated as
follow:
ki =</p>
      <p>X aij .</p>
      <p>
        (1)
i2 N
Vertices with very high ki values are called
hubs, which represent instances strongly
connected that impact on the dynamics of
the network
        <xref ref-type="bibr" rid="ref10 ref16 ref17 ref28 ref29 ref4 ref5">(Barabasi and Bonabeau, 2003;
Vega-Oliveros and Berton, 2015)</xref>
        . For
instance, in social networks, hubs are the
most popular individuals, like famous actors,
politicians, etc. The time complexity for
calculating to all the vertices is O(n ⇤ h ki).
• K-core (KC): The network can be
decomposed in terms of sub-networks or cores
        <xref ref-type="bibr" rid="ref21">(Seidman, 1983)</xref>
        , where each core of order (Hk)
represents the set of vertices that has ki k.
Therefore, a vertex i belongs to Kc(x) = k
if Hk is the largest core it can be part
        <xref ref-type="bibr" rid="ref21">(Seidman, 1983)</xref>
        . The principal core is the set
of vertices with the largest k-core value, and
they are the most central
        <xref ref-type="bibr" rid="ref12">(Kitsak et al., 2010)</xref>
        .
In general, vertices with lower KC values are
located at the periphery of the network. The
KC centrality is obtained by an iterative and
incremental process
        <xref ref-type="bibr" rid="ref16 ref17 ref4 ref5">(Batagelj and Zaversnik,
2003)</xref>
        that begins with k = 1: (i) All the
vertices with degree lower or equal than k are
removed. Then, (ii) the remaining vertices are
evaluated several times, in order to remove
those with ki lower or equal than k. After
that, (iii) the removed vertices are part of the
set Kc(i) = k, k is incremented, and the
process continues with step (i). The final set
of vertices is the main core of the network,
which has the largest KC centrality. Notice
that not necessarily the hubs have the
highest k-core values. For instance, hubs located
in the periphery have small k-core
centrality
        <xref ref-type="bibr" rid="ref12">(Kitsak et al., 2010)</xref>
        . The algorithm has
low computational complexity O(n + m) for
calculating the centrality to all vertices.
• Clustering coefficient (CT): In topology
terms, it is the presence of triangles (cycles
of order three) in the network. The
clustering coefficient
        <xref ref-type="bibr" rid="ref30">(Watts and Strogatz, 1998)</xref>
        of
a vertex i is defined as the number of
triangles centered on i over its maximum number
of possible connections, i.e.,
      </p>
      <p>CTi =</p>
      <p>2ei
ki(ki
1)
.</p>
      <p>
        (2)
In the case of ki 2 { 0, 1}, it is assumed a
centrality value of zero, and CTi = 1 only
if all the neighbors of i are interconnected.
The running time complexity of the measure
is O(n ⇤ h ki2).
• Eccentricity (EC): The shortest path
between two vertices is the shortest sequence
of edges that connect them, and the distance
is the number of edges contained in the path.
This problem can be resolved by employing
different algorithms, like Dijkstra,
BellmanFord, Floyd-Warshall, or breadth-first search
methods
        <xref ref-type="bibr" rid="ref7">(Cormen et al., 2009)</xref>
        . In the case
that i and j belong to different components,
it is assumed that `ij = n. In this way, the
eccentricity value of a vertex i is the largest
distance over all the shortest path to the other
vertices, as follow:
      </p>
      <p>
        ECi = max{|`ij |} ,
i6=j
(3)
where |`ij | is the distance of the shortest path
between vertices i and j. This measure
evaluates how close is a vertex to its most distant
vertex. Lower values of EC indicates that the
vertex is more central and closer to the
others. Therefore, vertices located at the
network center have the lowest eccentricity
values. For unweighted graphs, the running time
complexity of this measure is O(n ⇤ m).
• Structural Holes (HO): Some vertices in the
network work such as the bridge of clusters
or other vertices, and if they are removed
a structural hole will occur. The structural
hole vertices act as spanners among
communities or groups of vertices without direct
connections. These individuals are important
to the connectivity of local regions. We
calculate Burt’s constraint scores
        <xref ref-type="bibr" rid="ref6">(Burt, 1992)</xref>
        as
the structural holes centrality. The algorithm
considers all vertices as ego networks, where
connections no related to it have not a direct
effect. For each vertex, the score is the
fraction of isolated holes will exists associated
with it and according to its ego network. The
higher the fraction of structural holes
associated with the vertex, the more central it is.
Therefore, vertices with higher degree
centrality tend to have low HO values, given that
its ego networks are larger and more densely
interconnected, and this diminishes the
fraction of isolated holes. The time complexity
for calculating the measure to all the vertices
is O(n + n ⇤ h ki2).
Conventional classification algorithms learn from
a training set formed by independent and
identically distributed (i.i.d) data
        <xref ref-type="bibr" rid="ref19">(Mitchell, 1997)</xref>
        .
Nevertheless, as previously mentioned, a lot of
realworld data are relational in nature and can be
represented by graphs. Conventional classifiers do
not work properly on graphs because they ignore
pairwise dependency relations between vertices,
i.e. relational information. To cope with that,
different relational classifiers have been proposed
        <xref ref-type="bibr" rid="ref15 ref16 ref16 ref17 ref17 ref18 ref4 ref4 ref5 ref5">(Lu and Getoor, 2003; Macskassy and Provost,
2003; Macskassy and Provost, 2007; Lopes et al.,
2009)</xref>
        . Relational classifiers require a fully
described graph (vertices and edges) with known
labels for some of the vertices to predict the labels
of the remaining vertices.
      </p>
      <p>For the domain of relational classification, we
redefine the network as the graph G = (V, E, W ),
where V = {v1, v2, ... vn} is the set of n vertices
that describes an object, E = {e1, e2, ... em} is
the set of m edges representing some similarity
between a pair of vertices and W is a matrix of
weights, which associates to each edge a weight
wij that determines the strength of the connection.
For this work, we consider three relational
classifiers: weighted vote relational neighbor (wvrn),
network-only Bayes (no-Bayes) and network-only
link-based (no-lb).</p>
      <p>
        The wvrn classifier estimates class membership
probabilities by assuming that linked nodes tend
to belong to the same class and considering the
weighted mean of the class-membership
probabilities for the neighborhood of each node
analyzed
        <xref ref-type="bibr" rid="ref18">(Macskassy and Provost, 2007)</xref>
        according to
Equation 4.
      </p>
      <p>P (vi = c|Ni) =</p>
      <p>vj2 Ni
N1 X w(vi, vj )P (vj = c|Nj )
(4)</p>
      <p>
        The no-Bayes classifier employs multinomial
na¨ıve Bayes classifier based on the classes of
the neighborhood of each vertex
        <xref ref-type="bibr" rid="ref18">(Macskassy and
Provost, 2007)</xref>
        . The no-Bayes is defined as
Equation 5,
      </p>
      <p>P (vi = c|Ni) =</p>
      <p>P (Ni|c)P (c)</p>
      <p>P (Ni)
(5)
where P (Ni|c) = N1 Qvj2 Ni P (vj = cj|vi = c)w(vi,vj).</p>
      <p>
        Furthermore, these two relational classifiers
use the relaxation label as a collective inference
method. The no-lb classifier creates a feature
vector for a vertex by aggregating the labels of its
neighborhood and then uses logistic regression to
build a discriminative model based on those
feature vectors
        <xref ref-type="bibr" rid="ref16 ref17 ref4 ref5">(Lu and Getoor, 2003)</xref>
        . This learned
model is then applied to estimate P (vi = c|Ni).
For no-lb classifier, three aggregation methods
have been considered: binary-link (no-lb-binary),
mode-link (no-lb-mode), and count-link
(no-lbcount). Another aggregation method considered is
class-distribution link (no-lb-distrib)
        <xref ref-type="bibr" rid="ref18">(Macskassy
and Provost, 2007)</xref>
        . All the no-lb aggregations use
the iterative classification as a collective inference
method.
3
      </p>
      <p>Proposal
As previously mentioned, our proposal consists in
an intuitive approach based on exploring the
centrality measures of a network to remove some
vertices and edges trying to conserve the equivalence
between the sampled and the entire network. We
aim to obtain a sample from G in such way it does
not affect the performance of any learning task.
Thus, our proposal generates a sample G0 from G,
i.e. G0 = (G), where is the function
representing our proposal. It is important to note that G0 is
a sub-graph from G, so V 0 ⇢ V and E0 ⇢ E. The
size of the sample is relative to the graph size.</p>
      <p>The proposed approach is illustrated in Figure
1 and follows these steps: 1) calculate a specific
centrality measure for all vertices of the network,
in this paper we use DG, KC, CT, EC, HO
measures; 2) select some percentage of vertices with
the highest (H) or lowest (L) centrality values, in
this paper we experiment selecting 30% and 50%
of vertices; 3) remove all selected vertices and
all their corresponding edges from G, obtaining
G0. The sampled graph generated, G0, should be
equivalent to the entire graph, so learning
algorithms should have a similar performance in both
the sampled and the entire graph.</p>
      <p>All measures used for sampling the graph can
be calculated considering only a fraction of the
graph, in a direct way or by employing statistical
methods. The measures DG, HO and CT, for
example, can be calculated for each vertex directly.
In the case of EC and KC, there are very precise
approaches that consider only the vertex
community (part of the network). These measures have
low computational cost to be calculated and can
be applied on very large networks, moreover, by
(a)
the experimental results achieved good accuracy.
4</p>
      <p>Experimental results
In this section, we present extensive empirical
experiments focused on evaluating the quality of
sampled graphs generated by different
configurations of our proposal, when compared with the
original graph. We use six real-world networks
and apply six relational classifiers (see Section
2.2) on full and sampled graphs. We perform two
types of evaluations, Section 4.2 shows the
classification accuracy results, and Section 4.3 shows
the topological analysis of sampled and original
graphs.
4.1</p>
      <p>Data sets and experimental setup
We consider six benchmark data sets1, which
represent real networks and are described in Table 1.
We consider that all networks are undirected.</p>
      <p>We sample a subgraph G0 from a graph G using
the centrality measures presented and considering
30% and 50% of vertices with smallest and
highest centralities values. For each sample size, we
perform 10-fold cross validation and applied the
following relational classifiers: weighted vote
relational neighbor (wvrn), network-only Bayes
(noBayes), and network-only link-based (no-lb)
classifiers, in their Netkit-SRL implementations with
standard configuration. For the network-only
linkbased classifier we employed models modelink
(no-lb-mode), count-link (no-lb-count),
binarylink (nolb-binary) and class-distribution-link
(nolb-distrib). The area under the ROC curve (AUC)
1http://netkit-srl.sourceforge.net/
data.html
was used as evaluation measure to compare the
accuracy of graph G and sampled graph G0.
4.2 Impact of sampling on classification
accuracy
The classification results for the entire graph, 30%
and 50% of the sampled networks are shown in
Figures 2 and 3 respectively, with the accuracy
for the six datasets (Figures (a), (b), (c), (d), (e)
and (f)), the six classifiers (bars) and the ten
sampling proposed strategies moreover the
classification with the entire graph (FULL). For all the
sampling strategies the datasets Cora and Imdb
achieved the highest accuracy. And the better
classifiers, in general, was nolb-lb-count and
nolb-lbdistrib.</p>
      <p>The Nemenyi post-hoc test (Demsˇar, 2006) was
executed to verify the possibility of detecting
statistical differences among the sampling strategies.
The results for 30% and 50% of sampled networks
are shown in Figures 4 and 5 respectively. On the
top of the diagrams is the critical difference (CD)
and in the axis are plotted the average ranks of
the evaluated techniques, where the lowest (best)
ranks are on the left side. When the methods
analyzed have no significant difference, they are
connected by a black line in the diagram.</p>
      <p>According to the Nemenyi statistics, the
critical value for comparing the average-ranking of
two different algorithms considering the sampling
strategy that removes 30% of vertices (Figure 4)
or 50% of vertices (Figure 5) at 95 percentile in
all classifiers (no-Bayes, nolb-binary, no-lb-count,
no-lb-distrib, no-lb-mode, wvrn) is 6.16.</p>
      <p>In all the classifiers there are some sampling
strategies that have no statistical difference with
the entire graph. It is the case of CT-30H, CT-30L,
EC-30H and HO-30H for 30% of vertices
sampled, and CT-50L, EC-50H, HO-50H, KC-50L,
and DG-50L for 50% of vertices sampled. In
particular, the CT-50H only had significance
difference with the no-lb-distrib classifier. In terms of
accuracy, this result indicates that the CT
centrality, for all the analyzed parameters, was more
robust and suitable as a sampling strategy.</p>
      <p>Table 2 shows the time comparison for the
learning step for all classifiers and all datasets.
We notice that all sampling strategies proposed,
considering 30% of sampling, achieve small time
compared with the original graph, especially the
strategy DG and KC. The lowest times are in bold.
4.3</p>
      <p>Impact of sampling on network topology
We have analyzed the impact of the sampling
methods in the structure of the original network.
In Table 3, we have the fraction of remaining
edges after applying the sampling methods,
according to the target vertices (with highest (H) or
lowest (L) centrality value) and removal
percentage (30 or 50%). The bold values highlight the
techniques and parameters that achieve similar
accuracy results to the full network, i.e., with no
significance difference for all the classifiers. We
have observed that the EC and HO measures are
inversely proportional to the final fraction of
remaining edges. This occurs since for the EC, the
most central or closest vertices have the lowest
values and for the HO measure, hubs tend to have
larger ego-networks; ergo, the centrality values are
lower.</p>
      <p>We notice that there exists diverse values of
removed edges from the original network, without
strongly affecting the accuracy of the classifiers
(in bold). This variation of removed edges, some
larger than 50%, suggest that depending on the
expected requirements, it can be privileged in the
sampling process:
1. The maximal removal of edges by removing
a low proportion of vertices.
2. Equivalent removal proportion of edges and
vertices.
3. The minimal removal of edges by removing
a high proportion of vertices.
In the first case, by removing 30% of vertices we
have the sampling method CT-30H. For the third
case, we have the methods DG-50L, KC-50L, and
HO-50H. The left bold sampling strategies are in
the second case.</p>
      <p>Notwithstanding reducing the number of
vertices and edges from the original network do not
statistically impact the classification results, the
topological properties are sensibly affected by the
removal. For instance, removing 30% of vertices
with the highest degree centrality (ki) it produces
a more homogeneous distributed network (tending
to a Poisson or regular graph) and the average
degree decays. On the other hand with the same
proportion, removing the least connected vertices
produce networks with more heterogeneous degree
distribution than the original graph.
In this paper, we proposed a strategy for network
sampling by exploring five centrality measures:
DG, KC, CT, EC, HO and eliminating vertices
with 30% or 50% of lowest or highest centrality
values. All centrality measures considered have a
low order of complexity and are computationally
applicable in real networks scenarios. Moreover,
they can be calculated in part of the graph.</p>
      <p>The proposed approach reduces the original
graph in 50% or even more and the accuracy
results remain statistically similar to the obtained
with the entire network, i.e. the impact on
classification results obtained by entire networks is
minimal when compared with those obtained by
sampled networks. We have applied the proposed
strategy in six real networks considering six
different relational classifiers. The CT measure was the
most robust in accuracy for all classifiers and on all
networks, without statistical significance.
Moreover, the execution time for the learning step of the
classifiers are smaller in the sampling strategies
proposed when compared with the entire graph.
Acknowledgments
This work was partially supported by the Sa˜o
Paulo Research Foundation (FAPESP) grants:
2013/12191 5 and 2015/14228 9,
National Council for Scientific and Technological
Development (CNPq) grants: 302645/2015
2 and 140688/2013 7, and Coordination for
the Improvement of Higher Education Personnel
(CAPES).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <given-names>L.A.</given-names>
            <surname>Adamic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.M.</given-names>
            <surname>Lukose</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.R.</given-names>
            <surname>Puniyani</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.A.</given-names>
            <surname>Huberman</surname>
          </string-name>
          .
          <year>2001</year>
          .
          <article-title>Search in power-law networks</article-title>
          .
          <source>Physical Review E</source>
          ,
          <volume>64</volume>
          (
          <issue>046135</issue>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Nesreen K. Ahmed</surname>
            , Jennifer Neville, and
            <given-names>Ramana</given-names>
          </string-name>
          <string-name>
            <surname>Kompella</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Network sampling designs for relational classification</article-title>
          .
          <source>In In Proceedings of the 6th International AAAI Conference on Weblogs and Social.</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <given-names>N.K.</given-names>
            <surname>Ahmed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Neville</surname>
          </string-name>
          , and
          <string-name>
            <given-names>T.</given-names>
            <surname>Kompella</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Network sampling: From static to streaming graphs</article-title>
          .
          <source>ACM Trans. Knowl. Discov. Data</source>
          ,
          <volume>8</volume>
          (
          <issue>2</issue>
          ):
          <fpage>1</fpage>
          -
          <lpage>56</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Barabasi</surname>
          </string-name>
          and
          <string-name>
            <given-names>E.</given-names>
            <surname>Bonabeau</surname>
          </string-name>
          .
          <year>2003</year>
          .
          <article-title>Scale-free networks</article-title>
          .
          <source>Scientific American</source>
          , pages
          <fpage>50</fpage>
          -
          <lpage>59</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <given-names>V.</given-names>
            <surname>Batagelj</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Zaversnik</surname>
          </string-name>
          .
          <year>2003</year>
          .
          <article-title>An O(m) algorithm for cores decomposition of networks</article-title>
          .
          <source>Arxiv preprint cs/0310049.</source>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <given-names>R.S.</given-names>
            <surname>Burt</surname>
          </string-name>
          .
          <year>1992</year>
          .
          <article-title>Structural holes: The social structure of competition</article-title>
          . Harvard University Press, Cambridge, MA.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <given-names>T.H.</given-names>
            <surname>Cormen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.E.</given-names>
            <surname>Leiserson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.L.</given-names>
            <surname>Rivest</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Stein</surname>
          </string-name>
          .
          <year>2009</year>
          .
          <article-title>Introduction to Algorithms</article-title>
          . The MIT Press,
          <volume>3</volume>
          <fpage>edition</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <given-names>J.</given-names>
            <surname>Demsˇar</surname>
          </string-name>
          .
          <year>2006</year>
          .
          <article-title>Statistical comparisons of classifiers over multiple data sets</article-title>
          .
          <source>JMLR</source>
          ,
          <volume>7</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>30</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <given-names>S. N.</given-names>
            <surname>Dorogovtsev</surname>
          </string-name>
          and
          <string-name>
            <given-names>J. F. F.</given-names>
            <surname>Mendes</surname>
          </string-name>
          .
          <year>2002</year>
          .
          <article-title>Evolution of networks</article-title>
          .
          <source>In Adv. Phys</source>
          , pages
          <fpage>1079</fpage>
          -
          <lpage>1187</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <given-names>T.</given-names>
            <surname>Faleiros</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Lopes</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Bipartite graph for topic extraction</article-title>
          .
          <source>In IJCAI 2015</source>
          , pages
          <fpage>4363</fpage>
          -
          <lpage>4364</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <given-names>S.</given-names>
            <surname>Fortunato</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Community detection in graphs</article-title>
          . CoRR, abs/0906.0612v2.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <given-names>M.</given-names>
            <surname>Kitsak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.K.</given-names>
            <surname>Gallos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Havlin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Liljeros</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Muchnik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.E.</given-names>
            <surname>Stanley</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Makse</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Identification of influential spreaders in complex networks</article-title>
          .
          <source>Nature Physics</source>
          ,
          <volume>6</volume>
          (
          <issue>11</issue>
          ):
          <fpage>888</fpage>
          -
          <lpage>893</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <given-names>S.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Kim</surname>
          </string-name>
          , and
          <string-name>
            <given-names>H.</given-names>
            <surname>Jeong</surname>
          </string-name>
          .
          <year>2006</year>
          .
          <article-title>Statistical properties of sampled networks</article-title>
          .
          <source>Physical Review E</source>
          ,
          <volume>73</volume>
          (
          <issue>016102</issue>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <given-names>J.</given-names>
            <surname>Leskovec</surname>
          </string-name>
          and
          <string-name>
            <given-names>C.</given-names>
            <surname>Faloutsos</surname>
          </string-name>
          .
          <year>2006</year>
          .
          <article-title>Sampling from large graphs</article-title>
          .
          <source>SIGKDD</source>
          <year>2006</year>
          , pages
          <fpage>631</fpage>
          -
          <lpage>636</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Lopes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.R.</given-names>
            <surname>Bertini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Motta</surname>
          </string-name>
          , and
          <string-name>
            <given-names>L.</given-names>
            <surname>Zhao</surname>
          </string-name>
          .
          <year>2009</year>
          .
          <article-title>Classification based on the optimal k-associated network</article-title>
          .
          <source>In Complex Sciences, volume 4 of Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunivations Engineering</source>
          , pages
          <fpage>1167</fpage>
          -
          <lpage>1177</lpage>
          . Springer Berlin Heidelberg.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <given-names>Q.</given-names>
            <surname>Lu</surname>
          </string-name>
          and
          <string-name>
            <given-names>L.</given-names>
            <surname>Getoor</surname>
          </string-name>
          .
          <year>2003</year>
          .
          <article-title>Link-based classification</article-title>
          .
          <source>In ICML</source>
          , pages
          <fpage>496</fpage>
          -
          <lpage>503</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <string-name>
            <given-names>S.A.</given-names>
            <surname>Macskassy</surname>
          </string-name>
          and
          <string-name>
            <given-names>F.J.</given-names>
            <surname>Provost</surname>
          </string-name>
          .
          <year>2003</year>
          .
          <article-title>A simple relational classifier</article-title>
          .
          <source>In 2nd Workshop on MultiRelational Data Mining.</source>
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <given-names>S.A.</given-names>
            <surname>Macskassy</surname>
          </string-name>
          and
          <string-name>
            <given-names>F.J.</given-names>
            <surname>Provost</surname>
          </string-name>
          .
          <year>2007</year>
          .
          <article-title>Classification in networked data: A toolkit and a univariate case study</article-title>
          .
          <source>JMLR</source>
          ,
          <volume>8</volume>
          :
          <fpage>935</fpage>
          -
          <lpage>983</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          <string-name>
            <given-names>T.M.</given-names>
            <surname>Mitchell</surname>
          </string-name>
          .
          <year>1997</year>
          .
          <article-title>Machine Learning</article-title>
          .
          <source>McGrawHill</source>
          , New York.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          <string-name>
            <given-names>M. E. J.</given-names>
            <surname>Newman</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Networks: an introduction</article-title>
          . Oxford University Press.
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          <string-name>
            <given-names>S.</given-names>
            <surname>Seidman</surname>
          </string-name>
          .
          <year>1983</year>
          .
          <article-title>Network structure and minimum degree</article-title>
          .
          <source>Social networks</source>
          ,
          <volume>5</volume>
          (
          <issue>3</issue>
          ):
          <fpage>269</fpage>
          -
          <lpage>287</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          <string-name>
            <given-names>M.</given-names>
            <surname>Stumpf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Wiuf</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>May</surname>
          </string-name>
          .
          <year>2005</year>
          .
          <article-title>Subnets of scale-free networks are not scale-free: Sampling properties of networks</article-title>
          .
          <source>Proceedings of the National Academy of Sciences</source>
          ,
          <volume>102</volume>
          :
          <fpage>4221</fpage>
          -
          <lpage>4224</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Valejo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Valverde-Rebaza</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Lopes</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>A multilevel approach for overlapping community detection</article-title>
          .
          <source>BRACIS</source>
          <year>2014</year>
          , pages
          <fpage>390</fpage>
          -
          <lpage>395</lpage>
          . IEEE.
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          <string-name>
            <given-names>J.</given-names>
            <surname>Valverde-Rebaza</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Lopes</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Exploiting behaviors of communities of Twitter users for link prediction</article-title>
          .
          <source>Social Network Analysis and Mining</source>
          , pages
          <fpage>1</fpage>
          -
          <lpage>12</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          <string-name>
            <given-names>J.</given-names>
            <surname>Valverde-Rebaza</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Lopes</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Link prediction in online social networks using group information</article-title>
          .
          <source>In ICCSA</source>
          <year>2014</year>
          , volume
          <volume>8584</volume>
          , pages
          <fpage>31</fpage>
          -
          <lpage>45</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          <string-name>
            <given-names>J.</given-names>
            <surname>Valverde-Rebaza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Soriano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Berton</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.C.F. de Oliveira</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Lopes</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Music genre classification using traditional and relational approaches</article-title>
          .
          <source>BRACIS</source>
          <year>2014</year>
          , pages
          <fpage>259</fpage>
          -
          <lpage>264</lpage>
          . IEEE.
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <string-name>
            <given-names>J.</given-names>
            <surname>Valverde-Rebaza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Valejo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Berton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Faleiros</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Lopes</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>A na¨ıve bayes model based on overlapping groups for link prediction in online social networks</article-title>
          .
          <source>In ACM SAC' 15</source>
          , pages
          <fpage>1136</fpage>
          -
          <lpage>1141</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          <string-name>
            <given-names>D.</given-names>
            <surname>Vega-Oliveros</surname>
          </string-name>
          and
          <string-name>
            <given-names>L.</given-names>
            <surname>Berton</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Spreader selection by community to maximize information diffusion in social networks</article-title>
          .
          <source>In SIMBig 2015</source>
          , pages
          <fpage>73</fpage>
          -
          <lpage>82</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          <string-name>
            <given-names>D.</given-names>
            <surname>Vega-Oliveros</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Berton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lopes</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Rodrigues</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Influence maximization based on the least influential spreaders</article-title>
          .
          <source>In SocInf 2015, colocated with IJCAI</source>
          <year>2015</year>
          , volume
          <volume>1398</volume>
          , pages
          <fpage>3</fpage>
          -
          <lpage>8</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          <string-name>
            <given-names>D.J.</given-names>
            <surname>Watts</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.</given-names>
            <surname>Strogatz</surname>
          </string-name>
          .
          <year>1998</year>
          .
          <article-title>Collective dynamics of 'small-world' networks</article-title>
          .
          <source>Nature</source>
          ,
          <volume>393</volume>
          (
          <issue>6684</issue>
          ):
          <fpage>440</fpage>
          -
          <lpage>442</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>