Trabalho Final de Curso

Home Giovani

Introdução:
A idéia principal deste trabalho proposto será modificar a clássica OPF buscando preservar a essencia conceitual do classificador, modificando e acrescentando características que possivelmente irão ter melhores resultados com relação a própria classificação como também seu custo de processamento na fase de predição!
Estudo das características dos algoritmos OPF clássico e o evolutivo:
Baseado nas concepções apresentadas anteriormente,

Growing OPF algorithm:

1- A inicialização se dá inserindo um vértice para o primeiro dado da amostra aleatória!!!!

2- Caso necessário, os dados de entrada, pelo vetor de atributos, serão normalizados!!!

3- Calcula a distancia das arestas entre os vértices do grafo

4- Determina a MST

5- Encontra os limites do grafo (protótipos) e realiza o corte do grafo, formando os clusters

6 - Calcula o custo de cada vertice destes clusters partindo dos limites(protótipos)

7- FASE DE TREINAMENTO:

1- Apresenta uma amostra rotulada ao grafo, encontrando seu menor custo

2- A amostra associada ao vértice com menor custo é verificado seus rótulos:

a- Caso rotulo diferentes:

  • Insere um novo vertice ao grafo com o vetor de atributos da amostra observada

b- Caso rotulo igual:

  • Acumula o erro associado e ajusta o peso do vértice corrente e seus vizinhos, caso pertençam ao mesmo cluster. O peso será ajustado conforme uma distribuição gaussiana.
  • Para o erro acumulado no vértice ao longo do treinamento, quando este saturar um limite será criado um novo vértice verificando a menor distância entre os vizinhos e inserindo um novo vértice nesta conecção, tendo o peso do novo vértice caracterizado pela interpolação linear da conecção

001. import collections as col
002. #import gio_lib
003. 
004. #==================================================================================
005. 
006. def getSaturnData():
007.     f = open(find_attachment_file('saturn.txt'))
008.     text = f.readlines()
009.     n = len(text)
010. 
011.     data=[]
012.     feats = zeros((n,2))
013.     labels = zeros((n), dtype=int)
014. 
015.     for i in range(n):
016.         data.append(text[i].strip('\n ').split(' '))
017.         feats[i,0]=float(data[i][0])
018.         feats[i,1]=float(data[i][1])
019.         labels[i]=int(float(data[i][2]))
020. 
021.     f.close()
022. 
023.     return feats, labels
024. #==================================================================================
025. 
026. def distanciaEuclidiana(vectorAtrib, atrib):
027.     dist = vectorAtrib - atrib
028.     return sqrt(diagonal(dot(dist, dist.T)))
029. 
030. #==================================================================================
031. 
032. def giDjkMax(source,graph):
033. 
034.     vertices = arange(graph.shape[0])
035.     path_max = ones(graph.shape[0]) * inf
036. 
037.     #print "path_max: ",path_max
038.     path_max[source] = 0
039.     #print "path_max: ",path_max
040. 
041.     while(any(vertices>0)):
042.         id = (vertices>-1).nonzero()
043.         vert_id = where(path_max[id] == path_max[id].min(),id,-1)
044.         q = vert_id[vert_id>-1][0]
045. 
046.         #print "q: ",q
047.         vertices[q] = -1
048.         #print "vertices: ",vertices
049.         path = maximum(ones(graph.shape[0]) * path_max[q], graph[q,:])
050.         #print "path: ",path
051.         path_max = minimum(path_max,path)
052.         #print "path_max: ",path_max
053. 
054.     return path_max
055. 
056. #==================================================================================
057. 
058. def dados_aleatorios(atrib,rotulo,value):
059.     random.seed()
060.     rnd = random.permutation(range(rotulo.shape[0]))
061.     atrib = atrib[rnd]
062.     rotulo= rotulo[rnd]
063. 
064.     atrib_trei  = atrib [:atrib.shape[0]*value,:]
065.     rotulo_trei = rotulo[:atrib.shape[0]*value]
066.     atrib_val   = atrib [atrib.shape[0]*(value)::,:]
067.     rotulo_val  = rotulo[atrib.shape[0]*(value)::]
068. 
069.     return atrib_trei, rotulo_trei, atrib_val, rotulo_val
070. 
071. #==================================================================================
072. 
073. def h(bmu,neigh,sigma):
074. 
075.     dist = sqrt(sum((bmu - neigh)**2))
076.     print "dist: ", dist
077. 
078.     coef = exp(-((dist**2)/(2*sigma**2)))
079.     print "coef: ", coef
080.     return coef
081. 
082. #==================================================================================
083. 
084. def ajusta_grafo(graph,vertices,id_similar,error,alpha,sigma):
085. 
086.     V = arange(graph.shape[0])
087.     pilha = col.deque()
088. 
089.     #print "GRAFO: \n", graph
090.     pilha.append(id_similar)    # Adiciona na pilha o vertice BMU
091.     V[id_similar] = -1          # Sinaliza que já foi visitado
092. 
093.     while(len(pilha) != 0):
094.         q = pilha.pop()               # Retira vertice da pilha
095.         viz = where(graph[:,q]==1)[0]   # Encontra seus vizinhos
096.         print "viz: ", viz
097.         for i in viz:
098.             if( V[i]>=0 ):             # Verifica se o vizinho ja foi visitado
099.                 pilha.append(V[i])    # Caso não foi visitado, adiciona na pilha
100.                 V[i] = -1             # Sinaliza que o vertice já foi visitado
101.                 print "pilha: ", V[i]
102. 
103.         # Ajusta os atributos dos vertices afetados
104.         coef_h = h(vertices[id_similar,3:],vertices[q,3:],sigma)
105.         atrib_ajust = vertices[q,3:] + (alpha * coef_h * error)
106.         print "Vertice: ",q
107.         print "atrib antes: ",vertices[q,3:]
108.         print "atrib depois: ",atrib_ajust
109.         vertices[q,3:] = atrib_ajust
110. 
111. 
112.     return vertices
113. 
114. #==================================================================================
115. 
116. def amplia_grafo(graph, vertices,id_similar, alpha):
117. 
118.     id_similar = 1
119. 
120.     viz = where(graph[:,id_similar]==1)[0]   # Encontra seus vizinhos
121. 
122.     # assumindo o mais proximo
123.     #dist_viz = distanciaEuclidiana(vertices[viz,3:], vertices[id_similar,3:])
124.     #best_viz = viz[dist_viz.argmin()]
125.     #atributo = (vertices[id_similar,3:] + vertices[best_viz,3:])/2
126. 
127.     # assumindo a media dos vizinhos
128. 
129.     #viz.shape[0]
130.     print "viz: ", vertices[viz,3:]
131.     print "sum viz: ", sum(vertices[viz,3:],0)
132. 
133.     atributo = alpha * ((sum(vertices[viz,3:],0)+vertices[id_similar,3:])/(viz.shape[0]+1))
134. 
135.     print "atributo: ", atributo
136. 
137.     new_vertex = array([vertices[id_similar,0],0.,0.])
138. 
139.     new_vertex = hstack((new_vertex,atributo))
140.     print "new vertex: ", new_vertex
141. 
142.     return vstack((vertices,new_vertex))
143. 
144. #==================================================================================
145. 
146. def inicializa_vertices(atrib,label):
147. 
148.     # Identificação do numero de Clusters
149.     clusters = list(set(label))
150. 
151.     # O vertice é constituido de [rotulo, Custo, Sum_Error, Atributos...]
152.     vertices = array([label[0], 0.,0.])
153.     vertices = hstack((vertices,atrib[0,:]))
154.     clusters.remove(label[0])
155. 
156.     while(len(clusters)!=0):
157.         id = where(label == clusters.pop())[0][0]
158.         new_vertex = array([label[id], 0.,0.])
159.         new_vertex = hstack((new_vertex,atrib[id,:]))
160.         vertices = vstack((vertices,new_vertex))
161. 
162.     return vertices
163. 
164. #==================================================================================
165. 
166. def distancia_grafo_completo(vertices):
167. 
168.     dist = ones((vertices.shape[0],vertices.shape[0]))* inf
169.     for i in range(vertices.shape[0]):
170.         dist[i,:] = distanciaEuclidiana(vertices[:,3:], vertices[i,3:])
171. 
172.     return dist
173. 
174. #==================================================================================
01. from matplotlib import pyplot as pl
02. import and_lib
03. 
04. atributos,rotulo = getSaturnData()
05. 
06. fig = pl.figure(figsize=(6,3.5))
07. 
08. x = atributos.take([0], axis=1)
09. y = atributos.take([1], axis=1)
10. pl.plot(x[:100],y[:100], 'bo', x[100:201],y[100:201], 'ro')
11. img = and_lib.figureToArray(fig)
12. adshow(img, 'Disposição dos dados')

Disposição dos dados

. code :: python
show_code:yes

import gio_lib as gio

atrib_trei,rotulo_trei,atrib_val,rotulo_val = dados_aleatorios(atributos,rotulo,0.7)

custo = 0. sum_error = 0. thres_error = 10.0

print rotulo_trei[120] vertices = array([[rotulo_trei[0],custo,sum_error,atrib_trei[0,0],atrib_trei[0,1]],

System Message: ERROR/3 (<string>, line 275)

Unexpected indentation.
[rotulo_trei[1],custo,sum_error,atrib_trei[1,0],atrib_trei[1,1]], [rotulo_trei[2],custo,sum_error,atrib_trei[2,0],atrib_trei[2,1]], [rotulo_trei[120],custo,sum_error,atrib_trei[120,0],atrib_trei[120,1]]])

#array_vertices = array(vertices) print "vertices: n",vertices

distancia = ones((vertices.shape[0],vertices.shape[0]))* inf for i in range(vertices.shape[0]):

System Message: ERROR/3 (<string>, line 286)

Unexpected indentation.
distancia[i,:] = distanciaEuclidiana(vertices[:,3:], vertices[i,3:])

print "Distancia: n",distancia

mst = gio.giMST(distancia)

mst[mst==inf] = 0 print "MST: n",mst

lab = vertices[:,0] #print "test: " ,lab.shape[0

limites = (where(mst==1,resize(lab,(lab.shape[0],lab.shape[0])) <> resize(lab,(lab.shape[0],lab.shape[0])).T,0)) print "limites: n",limites

cluster = mst.astype(byte) ^ limites.astype(byte) print"cluster n", cluster

id_limites = limites.max(0) print "id_limites: n",id_limites

source = id_limites.nonzero()[0] if (len(source)==0):

System Message: ERROR/3 (<string>, line 309)

Unexpected indentation.
source = 0

peso_cluster = where(cluster==1,distancia,inf) print"peso_cluster n", peso_cluster

print "source:",source

custoAll = giDjkMax(source,peso_cluster)

print 'Matriz de Custo: n',custoAll

vertices[:,1] = custoAll.T print 'Vertices com custo: n',vertices

i = 15 #122

sigma = 5 alpha = 0.5/sqrt(1) # 0.5/sqrt(iteration)

cust = maximum(distanciaEuclidiana(vertices[:,3:], atrib_trei[i,:]),vertices[:,1]) print "cust: ", cust id_similar = cust.argmin() print "id_similar: ", id_similar

if(vertices[id_similar,0] != rotulo_trei[i]):
new_vertex = array([rotulo_trei[i],0.,0.,atrib_trei[i,0],atrib_trei[i,1]]) vertices = vstack((vertices,new_vertex))

System Message: WARNING/2 (<string>, line 337)

Definition list ends without a blank line; unexpected unindent.

else:

error = abs(sum(vertices[id_similar,3:] - atrib_trei[i,:]))

vertices[id_similar,2] += error + 10

vertices = ajusta_grafo(cluster,vertices,id_similar,error,alpha,sigma)

if(vertices[id_similar,2] > thres_error):
vertices[id_similar,2] = 0 vertices = amplia_grafo(cluster, vertices,id_similar, alpha)

print "vertices: n ", vertices

001. import gio_lib as gio
002. 
003. 
004. 
005. 
006. 
007. # Dividindo o conjunto de amostras em projeto e Teste...
008. atrib_proj,rotulo_proj,atrib_test,rotulo_test = dados_aleatorios(atributos,rotulo,0.7)
009. 
010. #print "size projeto: ", rotulo_proj.shape[0]
011. #print "size teste: ", rotulo_test.shape[0]
012. #print "rotulo: ", rotulo_proj
013. 
014. # Variaveis de controle de treinamento:
015. thres_error = 10.0        # Threshod do erro acumulativo
016. sigma = 5                 # Raio de vizinhança para o BMU
017. alpha = 0.5/sqrt(1) # 0.5/sqrt(iteration)  # Taxa de aprendizado do vertice
018. 
019. 
020. # Dividindo o conjunto de projeto em treinamento e validação...
021. atrib_trei,rotulo_trei,atrib_val,rotulo_val = dados_aleatorios(atrib_proj,rotulo_proj,0.6)
022. 
023. print "size treino: ", rotulo_trei.shape[0]
024. print "size val: ", rotulo_val.shape[0]
025. print "rotulo: ", rotulo_trei
026. 
027. 
028. # 1) Inicializa um vertice para cada cluster:
029. vertices = inicializa_vertices(atrib_trei,rotulo_trei);
030. print vertices
031. 
032. # 2) Normalização dos atributos...
033. # normaliza_atributos()
034. 
035. for amostra in range(rotulo_trei.shape[0]):
036.     print "\n\n AMOSTRA: ", amostra
037. 
038.     # 3) Calculo da distancia euclidiana para o grafo completo
039.     distancia = distancia_grafo_completo(vertices)
040. 
041.     # 4) Extrai a MST do grafo
042.     mst = gio.giMST(distancia)
043.     mst[mst==inf] = 0
044.     #print "MST: \n", mst
045. 
046.     # 5) Encontra os vertices raizes(limites)
047.     lab = vertices[:,0]
048.     limites = (where(mst==1,resize(lab,(lab.shape[0],lab.shape[0])) <> resize(lab,(lab.shape[0],lab.shape[0])).T,0))
049. 
050.     # Determinando os clusters...
051.     cluster = mst.astype(byte) ^ limites.astype(byte)
052.     #print "cluster: \n", cluster
053. 
054. 
055.     # Gerando as seeds para calcular o custo...
056.     id_limites = limites.max(0)
057.     source = id_limites.nonzero()[0]
058.     print "\n source: ", source
059. 
060.     if (len(source)==0):
061.         source = 0
062. 
063.     # Gerando a matriz de peso das arestas
064.     peso_cluster = where(cluster==1,distancia,inf)
065. 
066.     # Calculando o custo aplicando o Dijkstra MAX para multiplas sementes
067.     custoAll = giDjkMax(source,peso_cluster)
068.     print " \n custoAll: ", custoAll
069. 
070.     # Adicionando o custo nos vertices...
071.     vertices[:,1] = custoAll.T
072. 
073.     # Apresentando a amostra ao classificador...
074.     cust = maximum(distanciaEuclidiana(vertices[:,3:], atrib_trei[amostra,:]),vertices[:,1])
075.     print "cust: ", cust
076.     # Determinando o vertice mais similar
077.     id_similar = cust.argmin()
078.     print "id_similar: ", id_similar
079. 
080.     # Verifica o rotulo entre BMU e a amostra (Best Matching Unit)
081.     if(vertices[id_similar,0] != rotulo_trei[amostra]):
082.         print "\n Rotulo diferente:\n"
083.         # Adiciona a amostra no grafo:
084.         new_vertex = array([rotulo_trei[amostra],0.,0.])
085.         new_vertex = hstack((new_vertex,atrib_trei[amostra,:]))
086.         vertices = vstack((vertices,new_vertex))
087. 
088.     else:
089.         print "\n Rotulo igual:\n"
090.         # Determina o erro associado do BMU à amostra...
091.         error = abs(sum(vertices[id_similar,3:] - atrib_trei[amostra,:]))
092. 
093.         #Acumula o erro para o vertice
094.         vertices[id_similar,2] += error
095. 
096.         # Ajusta o vertice e seus vizinhos no componente conexo (cluster)...
097.         vertices = ajusta_grafo(cluster,vertices,id_similar,error,alpha,sigma)
098. 
099.         # Verifica se o erro do vertice ultrapassou o limiar
100.         if(vertices[id_similar,2] > thres_error):
101. 
102.             print "\n Erro maior que thresold:\n"
103.             # Reseta o erro...
104.             vertices[id_similar,2] = 0
105. 
106.             # adiciona um vertice no grafo pela media dos vizinhos...
107.             vertices = amplia_grafo(cluster, vertices,id_similar, alpha)
108. 
109. 
110.     #print "vertices: \n ", vertices
111. 
112. 
113. print "size vertice: ", vertices.shape
114. print "vertices: \n ", vertices
size treino:  84
size val:  56
rotulo:  [2 1 1 1 1 1 1 2 1 2 2 2 2 1 1 1 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 2 2 2 1 2
 2 1 1 2 2 1 1 1 2 2 1 1 1 1 2 1 1 1 1 2 1 2 1 1 1 1 1 2 2 2 2 2 2 2 2 1 2
 2 1 1 1 2 2 1 1 1 1]
[[ 2.         0.         0.        -2.7917727 -0.9648179]
 [ 1.         0.         0.        -2.1558394 -1.6605125]]


 AMOSTRA:  0

 source:  [0 1]
 
 custoAll:  [ 0.  0.]
cust:  [ 0.          0.94255087]
id_similar:  0

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  0
atrib antes:  [-2.7917727 -0.9648179]
atrib depois:  [-2.7917727 -0.9648179]


 AMOSTRA:  1

 source:  [0 1]
 
 custoAll:  [ 0.  0.]
cust:  [ 0.94255087  0.        ]
id_similar:  1

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  1
atrib antes:  [-2.1558394 -1.6605125]
atrib depois:  [-2.1558394 -1.6605125]


 AMOSTRA:  2

 source:  [0 1]
 
 custoAll:  [ 0.  0.]
cust:  [ 0.78074512  0.2088273 ]
id_similar:  1

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  1
atrib antes:  [-2.1558394 -1.6605125]
atrib depois:  [-2.0766404 -1.5813135]


 AMOSTRA:  3

 source:  [0 1]
 
 custoAll:  [ 0.  0.]
cust:  [ 1.65971135  2.48741455]
id_similar:  0

 Rotulo diferente:



 AMOSTRA:  4

 source:  [0 1 2]
 
 custoAll:  [ 0.  0.  0.]
cust:  [ 7.85501709  7.30747238  9.46235368]
id_similar:  1

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  1
atrib antes:  [-2.0766404 -1.5813135]
atrib depois:  [ 2.47524418  2.97057108]


 AMOSTRA:  5

 source:  [0 1 2]
 
 custoAll:  [ 0.  0.  0.]
cust:  [ 2.50075098  6.83660273  2.00557188]
id_similar:  2

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  2
atrib antes:  [-4.4453284  -0.82200572]
atrib depois:  [-3.29159654  0.33172614]


 AMOSTRA:  6

 source:  [0 2]
 
 custoAll:  [ 0.          6.34192041  0.        ]
cust:  [ 5.34758786  6.34192041  5.19876223]
id_similar:  2

 Rotulo igual:

viz:  [1]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  2
atrib antes:  [-3.29159654  0.33172614]
atrib depois:  [ 0.03048361  3.65380629]
viz:  [2]
dist:  2.53843743212
coef:  0.879085345691
Vertice:  1
atrib antes:  [ 2.47524418  2.97057108]
atrib depois:  [ 5.39563616  5.89096306]


 AMOSTRA:  7

 source:  [0 2]
 
 custoAll:  [ 0.          5.81289362  0.        ]
cust:  [ 5.36352836  7.80200848  5.62817206]
id_similar:  0

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  0
atrib antes:  [-2.7917727 -0.9648179]
atrib depois:  [-0.32345175  1.50350305]


 AMOSTRA:  8

 source:  [0 2]
 
 custoAll:  [ 0.          5.81289362  0.        ]
cust:  [ 4.17103858  5.81289362  4.45780479]
id_similar:  0

 Rotulo diferente:



 AMOSTRA:  9

 source:  [0 2 3]
 
 custoAll:  [ 0.          4.80199199  0.          0.        ]
cust:  [  4.05845232  10.89927199   6.20361831   6.73146373]
id_similar:  0

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  0
atrib antes:  [-0.32345175  1.50350305]
atrib depois:  [ 2.31652025  4.14347505]

 Erro maior que thresold:

viz:  [[ 3.8446253  1.3463517]]
sum viz:  [ 3.8446253  1.3463517]
atributo:  [ 2.31006536  1.80932869]
new vertex:  [ 1.          0.          0.          2.31006536  1.80932869]


 AMOSTRA:  10

 source:  [0 1 2 4]
 
 custoAll:  [ 0.          0.          0.          1.60287925  0.        ]
cust:  [  7.56359112  10.93374965   5.93407379   6.99380309   5.92418509]
id_similar:  4

 Rotulo diferente:



 AMOSTRA:  11

 source:  [0 1 2 4 5]
 
 custoAll:  [ 0.          0.          0.          1.60287925  0.          0.        ]
cust:  [  7.3405657   10.22370679   6.50874438   5.62736265   5.1608803
   2.76011386]
id_similar:  5

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  5
atrib antes:  [-2.4278366 -1.7471097]
atrib depois:  [-1.71746518 -1.03673828]


 AMOSTRA:  12

 source:  [0 1 2 4 5]
 
 custoAll:  [ 0.          0.          0.          1.60287925  0.          0.        ]
cust:  [ 7.2279502   9.96755917  6.58943627  5.28489976  4.97822665  3.05343143]
id_similar:  5

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  5
atrib antes:  [-1.71746518 -1.03673828]
atrib depois:  [-1.4408975 -0.7601706]


 AMOSTRA:  13

 source:  [0 1 2 4 5]
 
 custoAll:  [ 0.          0.          0.          1.60287925  0.          0.        ]
cust:  [ 3.09438443  6.61186035  1.46773039  4.01803641  2.42395836  3.24784762]
id_similar:  2

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  2
atrib antes:  [ 0.03048361  3.65380629]
atrib depois:  [ 0.81923089  4.44255357]

 Erro maior que thresold:

viz:  []
sum viz:  [ 0.  0.]
atributo:  [ 2.69781808  2.94548153]
new vertex:  [ 1.          0.          0.          2.69781808  2.94548153]


 AMOSTRA:  14

 source:  [0 1 2 4 5 6]
 
 custoAll:  [ 0.          0.          0.          1.60287925  0.          0.          0.        ]
cust:  [ 5.34514864  6.55378373  6.40063036  2.16202565  3.43125125  6.16711175
  4.10868544]
id_similar:  3

 Rotulo igual:

viz:  [4]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  3
atrib antes:  [ 3.8446253  1.3463517]
atrib depois:  [ 4.39190965  1.89363605]
viz:  [3 6]
pilha:  -1
dist:  2.0835506568
coef:  0.916838750501
Vertice:  4
atrib antes:  [ 2.31006536  1.80932869]
atrib depois:  [ 2.81183686  2.31110018]
viz:  [4]
dist:  1.9940725054
coef:  0.923553542579
Vertice:  6
atrib antes:  [ 2.69781808  2.94548153]
atrib depois:  [ 3.20326447  3.45092792]


 AMOSTRA:  15

 source:  [0 2 4 5 6]
 
 custoAll:  [ 0.          3.28028429  0.          1.63429077  0.          0.          0.        ]
cust:  [ 4.84973528  8.38801355  3.77089829  6.39879874  4.8323429   2.76445823
  5.42300494]
id_similar:  5

 Rotulo diferente:



 AMOSTRA:  16

 source:  [0 2 5 6 7]
 
 custoAll:  [ 0.          3.28028429  0.          1.63429077  1.20516507  0.          0.
  0.        ]
cust:  [ 2.74838153  6.2787518   1.71890757  4.75187744  3.11767924  4.02020791
  3.43729975  2.11603626]
id_similar:  2

 Rotulo diferente:



 AMOSTRA:  17

 source:  [0 2 5 6 7 8]
 
 custoAll:  [ 0.          3.28028429  0.          1.63429077  1.20516507  0.          0.
  0.          0.        ]
cust:  [ 2.43838939  5.05302272  3.2287286   1.85158708  1.20516507  4.69578098
  1.85408155  4.56130463  3.07450359]
id_similar:  4

 Rotulo diferente:



 AMOSTRA:  18

 source:  [0 2 4 5 6 7 8 9]
 
 custoAll:  [ 0.          3.28028429  0.          1.63429077  0.          0.          0.
  0.          0.          0.        ]
cust:  [ 5.50908624  7.76080911  6.07333138  3.70154397  3.67318094  4.10618405
  4.84313119  5.6860181   5.2548436   3.0741953 ]
id_similar:  9

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  9
atrib antes:  [ 2.548846   1.7161787]
atrib depois:  [ 4.0491064  3.2164391]


 AMOSTRA:  19

 source:  [0 1 2 3 5 6 7 8 9]
 
 custoAll:  [ 0.          0.          0.          0.          1.20516507  0.          0.
  0.          0.          0.        ]
cust:  [ 1.66326258  5.11247309  1.69286974  3.22130774  1.58891961  4.51443679
  1.99786953  3.42757168  1.53957498  2.7702699 ]
id_similar:  8

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  8
atrib antes:  [-0.21261704  3.0678052 ]
atrib depois:  [ 0.42411233  3.70453457]


 AMOSTRA:  20

 source:  [0 1 2 3 5 6 7 8 9]
 
 custoAll:  [ 0.          0.          0.          0.          1.20516507  0.          0.
  0.          0.          0.        ]
cust:  [  7.63866987  10.7401057    7.40745716   7.10712016   6.32578105
   2.02717371   7.48077472   4.79151798   6.59814033   7.80625094]
id_similar:  5

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  5
atrib antes:  [-1.4408975 -0.7601706]
atrib depois:  [-0.67302987  0.00769703]


 AMOSTRA:  21

 source:  [0 1 2 3 5 6 7 8 9]
 
 custoAll:  [ 0.          0.          0.          0.          1.20516507  0.          0.
  0.          0.          0.        ]
cust:  [ 2.5271857   6.06303637  1.58199869  4.52125485  2.8870045   3.14435881
  3.19845206  2.32541214  0.7458219   4.02445247]
id_similar:  8

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  8
atrib antes:  [ 0.42411233  3.70453457]
atrib depois:  [ 0.93828488  4.21870712]


 AMOSTRA:  22

 source:  [0 1 2 3 5 6 7 8 9]
 
 custoAll:  [ 0.          0.          0.          0.          1.20516507  0.          0.
  0.          0.          0.        ]
cust:  [ 2.16757151  4.9510427   2.91013399  2.02934055  1.20516507  3.6195343
  1.69648958  4.37104292  2.65729395  2.09196943]
id_similar:  4

 Rotulo diferente:



 AMOSTRA:  23

 source:  [ 0  1  2  3  4  5  6  7  8  9 10]
 
 custoAll:  [ 0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.]
cust:  [ 1.60910051  5.03213905  1.74021806  3.1114603   1.47994399  3.49535756
  1.89728572  3.53171387  1.48948091  2.66251019  1.26010913]
id_similar:  10

 Rotulo igual:

viz:  [5]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  10
atrib antes:  [ 2.3642587  1.9764293]
atrib depois:  [ 2.42129495  2.03346555]
viz:  [10]
dist:  3.69845699408
coef:  0.760657808364
Vertice:  5
atrib antes:  [-0.67302987  0.00769703]
atrib depois:  [-0.6296448  0.0510821]


 AMOSTRA:  24

 source:  [ 0  1  2  3  4  5  6  7  8  9 10]
 
 custoAll:  [ 0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.]
cust:  [ 2.33681156  5.21456577  2.94532878  2.24751396  0.83171061  3.28745619
  1.94968049  4.15464791  2.69185621  2.36480631  0.35287278]
id_similar:  10

 Rotulo diferente:



 AMOSTRA:  25

 source:  [ 0  1  2  3  4  5  6  7  8  9 10 11]
 
 custoAll:  [ 0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.]
cust:  [ 5.54305081  7.4949801   6.26936406  3.37930664  3.6548555   4.17151661
  4.76132234  6.23719729  6.01666279  4.58488139  3.45969994  3.33335956]
id_similar:  11

 Rotulo igual:

viz:  [4]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  11
atrib antes:  [ 2.1458461  1.8129046]
atrib depois:  [ 3.12283335  2.78989185]
viz:  [ 6 11]
pilha:  -1
dist:  0.570929309424
coef:  0.993501998391
Vertice:  4
atrib antes:  [ 2.81183686  2.31110018]
atrib depois:  [ 3.78247564  3.28173897]
viz:  [4]
dist:  0.665911298204
coef:  0.991170454281
Vertice:  6
atrib antes:  [ 3.20326447  3.45092792]
atrib depois:  [ 4.17162537  4.41928882]


 AMOSTRA:  26

 source:  [ 0  2  3  4  5  6  7  8  9 10 11]
 
 custoAll:  [ 0.          1.91416495  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [ 3.57996095  7.11540914  2.72742782  5.05447128  4.58095766  2.09769376
  5.33508915  1.36569717  2.61293993  4.82488117  3.07957475  3.83298598]
id_similar:  7

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  7
atrib antes:  [-2.0066767  1.9457716]
atrib depois:  [-1.22998304  2.72246525]


 AMOSTRA:  27

 source:  [ 0  2  3  4  5  6  7  8  9 10 11]
 
 custoAll:  [ 0.          1.91416495  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [  6.79963528  10.33153431   5.63563879   8.27534372   7.89630431
   3.46765468   8.61647027   2.98969211   5.61560105   8.13914232
   6.32583407   7.14133305]
id_similar:  7

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  7
atrib antes:  [-1.22998304  2.72246525]
atrib depois:  [ 0.79481511  4.74726341]


 AMOSTRA:  28

 source:  [ 0  2  3  4  6  8  9 10 11]
 
 custoAll:  [ 0.          1.91416495  0.          0.          0.          3.63841689
  0.          0.30568647  0.          0.          0.          0.        ]
cust:  [ 4.00433046  5.11914625  5.20679706  1.07184339  2.56967215  5.26516576
  3.6042991   5.43916     4.9665456   2.43639384  2.46458446  2.43384306]
id_similar:  3

 Rotulo igual:

viz:  [ 4 11]
pilha:  -1
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  3
atrib antes:  [ 4.39190965  1.89363605]
atrib depois:  [ 4.8275789  2.3293053]
viz:  [3 4]
dist:  1.76587014253
coef:  0.939539002201
Vertice:  11
atrib antes:  [ 3.12283335  2.78989185]
atrib depois:  [ 3.53216161  3.19922011]
viz:  [ 3  6 11]
pilha:  -1
dist:  1.41399105706
coef:  0.960801531543
Vertice:  4
atrib antes:  [ 3.78247564  3.28173897]
atrib depois:  [ 4.20106733  3.70033066]
viz:  [1 4]
pilha:  -1
dist:  2.19050362908
coef:  0.908494792643
Vertice:  6
atrib antes:  [ 4.17162537  4.41928882]
atrib depois:  [ 4.56742862  4.81509207]
viz:  [6]
dist:  3.60667367887
coef:  0.770926762258
Vertice:  1
atrib antes:  [ 5.39563616  5.89096306]
atrib depois:  [ 5.73150525  6.22683215]


 AMOSTRA:  29

 source:  [ 0  2  3  4  8  9 10 11]
 
 custoAll:  [ 0.          1.82977715  0.          0.          0.          3.63841689
  1.17341962  0.30568647  0.          0.          0.          0.        ]
cust:  [ 5.97094356  8.94486312  6.32258223  5.12778891  6.00831104  3.63841689
  7.17732459  6.62745439  6.08363224  5.50434641  3.88899105  5.29720496]
id_similar:  5

 Rotulo diferente:



 AMOSTRA:  30

 source:  [ 0  2  3  4  5  8  9 10 11 12]
 
 custoAll:  [ 0.          1.82977715  0.          0.          0.          0.
  1.17341962  0.30568647  0.          0.          0.          0.          0.        ]
cust:  [  8.20492385  12.17822722   7.33605767   9.47467347   9.50273352
   3.56706395  10.40903595   7.55238838   7.24996495   9.13452886
   7.14718338   8.67312721   5.85276035]
id_similar:  5

 Rotulo diferente:



 AMOSTRA:  31

 source:  [ 0  2  3  4  5  8  9 10 11 12 13]
 
 custoAll:  [ 0.          1.82977715  0.          0.          0.          0.
  1.17341962  0.30568647  0.          0.          0.          0.          0.
  0.        ]
cust:  [  7.94529303  11.93400573   6.79459707   9.79408647   9.52326186
   4.2363121   10.26977926   6.94924647   6.77340516   9.2336966
   7.37360601   8.73316771   7.05877599   1.91201525]
id_similar:  13

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  13
atrib antes:  [-4.0138164 -1.0764496]
atrib depois:  [-3.55188907 -0.61452227]


 AMOSTRA:  32

 source:  [ 0  2  3  4  5  8  9 10 11 12 13]
 
 custoAll:  [ 0.          1.82977715  0.          0.          0.          0.
  1.17341962  0.30568647  0.          0.          0.          0.          0.
  0.        ]
cust:  [ 5.28908345  9.27802288  4.17121637  7.2941072   6.90373609  2.56219045
  7.6177971   4.34865629  4.1331281   6.6414969   4.87560162  6.13267461
  5.60305262  2.70214916]
id_similar:  5

 Rotulo igual:

viz:  [10]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  5
atrib antes:  [-0.6296448  0.0510821]
atrib depois:  [-0.62003374  0.06069316]
viz:  [5]
dist:  3.62512222207
coef:  0.768872423469
Vertice:  10
atrib antes:  [ 2.42129495  2.03346555]
atrib depois:  [ 2.42868462  2.04085522]


 AMOSTRA:  33

 source:  [ 0  2  3  4  5  8  9 10 11 12 13]
 
 custoAll:  [ 0.          1.82977715  0.          0.          0.          0.
  1.17341962  0.30568647  0.          0.          0.          0.          0.
  0.        ]
cust:  [ 2.68969879  5.63412229  3.50624365  2.29470389  2.6820867   3.60687098
  3.82393735  3.77940125  3.25349272  2.20115556  0.62056219  1.91139834
  3.40674549  6.58942705]
id_similar:  10

 Rotulo igual:

viz:  [5]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  10
atrib antes:  [ 2.42868462  2.04085522]
atrib depois:  [ 2.5753518  2.1875224]
viz:  [10]
dist:  3.83847513654
coef:  0.744771493729
Vertice:  5
atrib antes:  [-0.62003374  0.06069316]
atrib depois:  [-0.51080021  0.16992669]


 AMOSTRA:  34

 source:  [ 0  2  3  4  5  8  9 10 11 12 13]
 
 custoAll:  [ 0.          1.82977715  0.          0.          0.          0.
  1.17341962  0.30568647  0.          0.          0.          0.          0.
  0.        ]
cust:  [ 2.71531866  6.70229132  1.71429268  5.04118269  4.41459417  2.88895781
  5.05375366  1.95965628  1.61500844  4.2164358   2.86788908  3.69922846
  5.22296323  4.98209982]
id_similar:  8

 Rotulo igual:

viz:  [0]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  8
atrib antes:  [ 0.93828488  4.21870712]
atrib depois:  [ 2.0795861   5.36000834]
viz:  [8]
dist:  1.23939140103
coef:  0.969745298434
Vertice:  0
atrib antes:  [ 2.31652025  4.14347505]
atrib depois:  [ 3.42329175  5.25024655]


 AMOSTRA:  35

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.        ]
cust:  [ 7.2996816   9.0547779   6.29066617  5.27527485  6.11008317  2.85561803
  7.2750619   6.5961563   7.18480123  5.60863347  4.12207112  5.38228965
  0.24204815  5.24042063]
id_similar:  12

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  12
atrib antes:  [ 1.7934827 -1.8045161]
atrib depois:  [ 1.9149253 -1.6830735]


 AMOSTRA:  36

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.        ]
cust:  [  9.02757436  11.03073323   7.44824241   7.44176298   8.08248972
   3.06259377   9.21022697   7.74446105   8.63869054   7.60147759
   5.9252293    7.29126886   2.67813715   3.8286671 ]
id_similar:  12

 Rotulo diferente:



 AMOSTRA:  37

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [  9.14071107  11.32360583   7.22035133   8.0079184    8.42684978
   2.76167678   9.49449316   7.49876732   8.56176959   7.97775007
   6.20960644   7.60209156   3.65824444   2.53434503   1.33569578]
id_similar:  14

 Rotulo igual:

viz:  [5]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  14
atrib antes:  [-0.47459758 -2.8924531 ]
atrib depois:  [-0.15056712 -2.56842264]
viz:  [10 14]
pilha:  -1
dist:  2.7619422377
coef:  0.858501802987
Vertice:  5
atrib antes:  [-0.51080021  0.16992669]
atrib depois:  [-0.23261948  0.44810742]
viz:  [5]
dist:  5.48175584659
coef:  0.548266967751
Vertice:  10
atrib antes:  [ 2.5753518  2.1875224]
atrib depois:  [ 2.753007   2.3651776]


 AMOSTRA:  38

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [  8.94907266  11.44744912   6.29243473   9.38866477   9.07260137
   4.27966723   9.79708207   6.44247969   7.84930335   8.79519654
   7.34582076   8.29086349   6.94149148   1.88991271   5.62735078]
id_similar:  13

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  13
atrib antes:  [-3.55188907 -0.61452227]
atrib depois:  [-3.1862671 -0.2489003]


 AMOSTRA:  39

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [ 7.32260519  9.04908581  6.35875193  5.24585003  6.10888681  2.98999138
  7.27637274  6.66401164  7.23081273  5.60587746  4.36115811  5.3905436
  0.30235512  5.11544008  1.95303782]
id_similar:  12

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  12
atrib antes:  [ 1.9149253 -1.6830735]
atrib depois:  [ 2.12586085 -1.47213795]


 AMOSTRA:  40

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [ 5.63852447  8.14002869  2.99063987  6.42868248  5.88330616  2.6074778
  6.52109766  3.16194143  4.54954818  5.66709325  4.35581152  5.15098002
  5.56830731  3.32882077  5.43623732]
id_similar:  5

 Rotulo igual:

viz:  [10 14]
pilha:  -1
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  5
atrib antes:  [-0.23261948  0.44810742]
atrib depois:  [ 0.2003193  0.8810462]
viz:  [5]
dist:  3.46726932295
coef:  0.786282504098
Vertice:  14
atrib antes:  [-0.15056712 -2.56842264]
atrib depois:  [ 0.18984507 -2.22801045]
viz:  [5]
dist:  2.95277166018
coef:  0.839979989423
Vertice:  10
atrib antes:  [ 2.753007   2.3651776]
atrib depois:  [ 3.11666691  2.72883751]


 AMOSTRA:  41

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [  8.73955312  10.62593785   7.38200461   6.91567877   7.67231037
   3.80636434   8.82302095   7.68454904   8.46614766   7.17876419
   6.3021206    6.90973498   2.30967403   4.41676341   0.70890266]
id_similar:  14

 Rotulo igual:

viz:  [5]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  14
atrib antes:  [ 0.18984507 -2.22801045]
atrib depois:  [ 0.46789956 -1.94995596]
viz:  [10 14]
pilha:  -1
dist:  2.84361960179
coef:  0.850676427605
Vertice:  5
atrib antes:  [ 0.2003193  0.8810462]
atrib depois:  [ 0.4368537  1.1175806]
viz:  [5]
dist:  5.37653018162
coef:  0.560939885104
Vertice:  10
atrib antes:  [ 3.11666691  2.72883751]
atrib depois:  [ 3.27263876  2.88480936]


 AMOSTRA:  42

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [ 4.7306143   7.13887618  2.55737469  4.88478087  4.56348743  1.03952118
  5.38746361  2.83854019  3.94610483  4.26395047  3.42761848  3.76454099
  4.12804146  3.88210033  4.02012333]
id_similar:  5

 Rotulo diferente:



 AMOSTRA:  43

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14 15]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.        ]
cust:  [ 7.30942149  9.02427461  6.36623966  5.21263518  6.08605117  3.24312847
  7.25439849  6.67135273  7.2277456   5.58250141  4.99006736  5.37155372
  0.55751612  5.16790579  1.25980408  4.28028861]
id_similar:  12

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  12
atrib antes:  [ 2.12586085 -1.47213795]
atrib depois:  [ 2.5200169 -1.0779819]


 AMOSTRA:  44

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14 15]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.        ]
cust:  [ 7.90608695  9.94047771  6.3429973   6.43891269  7.00005484  2.99891759
  8.11540554  6.6414833   7.51383098  6.52672497  5.79169042  6.19838308
  2.71075053  3.48593155  0.56215965  3.87302876]
id_similar:  14

 Rotulo diferente:



 AMOSTRA:  45

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 14 15 16]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.
  3.48593155  0.          0.          0.        ]
cust:  [ 7.04758529  9.53422469  4.45237845  7.4633514   7.12013769  3.07236206
  7.85886222  4.63560433  6.00875962  6.84428263  6.01281673  6.33894881
  5.77241463  3.48593155  4.68345039  2.58950228  4.25058187]
id_similar:  15

 Rotulo diferente:



 AMOSTRA:  46

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.        ]
cust:  [ 3.21257459  5.54901982  1.79374734  3.44496239  2.95070236  1.89804398
  3.77526811  2.09099851  2.69667501  2.68210047  1.86944747  2.17132388
  3.98449815  5.48560939  4.79137607  1.6210558   4.82056431  4.17135073]
id_similar:  15

 Rotulo diferente:



 AMOSTRA:  47

 source:  [ 0  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18]
 
 custoAll:  [ 0.          1.82977715  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [  9.8642793   12.30051489   7.38148851   9.6964821    9.66966005
   5.15902405  10.54788534   7.58600417   8.92218817   9.31507739
   8.47177731   8.84471231   6.86041465   1.29310226   4.93069174
   5.16360962   4.36869862   2.98696053   6.77315028]
id_similar:  13

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  13
atrib antes:  [-3.1862671 -0.2489003]
atrib depois:  [-2.31563004  0.62173676]


 AMOSTRA:  48

 source:  [ 0  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18]
 
 custoAll:  [ 0.          1.82977715  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [  8.06716382  10.13436002   6.42994865   6.67263168   7.20082737
   3.09929402   8.30694223   6.72561179   7.63692533   6.73240647
   5.98554749   6.39292503   2.97969205   3.18199994   0.82050172
   3.92869443   0.27068823   4.13520257   4.95106695]
id_similar:  16

 Rotulo igual:

viz:  [12]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  16
atrib antes:  [-0.08259048 -1.8360078 ]
atrib depois:  [ 0.07305944 -1.68035788]
viz:  [16]
dist:  2.52001143969
coef:  0.88072561117
Vertice:  12
atrib antes:  [ 2.5200169 -1.0779819]
atrib depois:  [ 2.65710177 -0.94089703]


 AMOSTRA:  49

 source:  [ 0  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18]
 
 custoAll:  [ 0.          1.82977715  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [ 3.65565387  5.64027052  3.01783869  2.63116045  2.73058888  1.93550899
  3.81133593  3.29987033  3.57720038  2.295559    1.49833631  1.90547212
  2.75768826  4.71480833  4.14139735  2.31487463  4.09565427  4.85595123
  1.27966565]
id_similar:  18

 Rotulo diferente:



 AMOSTRA:  50

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.        ]
cust:  [ 5.48406468  7.94333632  3.04178306  5.83094016  5.466209    1.68131932
  6.23322565  3.27805885  4.55353784  5.18773096  4.3574207   4.68231874
  4.68849794  1.90973247  4.2121576   0.94633912  3.83228032  1.65667319
  2.51599141  3.2539856 ]
id_similar:  15

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  15
atrib antes:  [-0.04844058  2.0368704 ]
atrib depois:  [ 0.44263757  2.52794855]


 AMOSTRA:  51

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.        ]
cust:  [ 4.34597139  6.83868287  1.802382    5.20174029  4.57177234  2.07612547
  5.20051624  2.03354797  3.33428358  4.37640453  3.60049705  3.85918014
  4.98082695  3.13988411  5.06152728  0.92715553  4.74622732  2.70290626
  1.75823949  2.86952538]
id_similar:  15

 Rotulo diferente:



 AMOSTRA:  52

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.        ]
cust:  [  9.0238513   11.5215492    6.3696771    9.44748923   9.13970225
   4.96088367   9.86841434   6.52077287   7.92683418   8.86001166
   8.02582039   8.35634929   7.42945948   2.23388181   5.78234016
   5.20266558   5.30549037   2.01964105   6.19040504   6.82365601
   4.68364834]
id_similar:  17

 Rotulo diferente:



 AMOSTRA:  53

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [ 6.708347    9.19929329  4.10035097  7.20752894  6.81903149  2.89779837
  7.53610299  4.28082964  5.65770899  6.55581387  5.72983589  6.04718389
  5.74934266  1.23793281  4.74644685  2.88588038  4.2973225   0.35689049
  3.8762072   4.61803643  2.36238204  2.33246492]
id_similar:  17

 Rotulo diferente:



 AMOSTRA:  54

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.        ]
cust:  [ 5.8273443   8.29728574  3.32660776  6.21248023  5.84508058  1.98776622
  6.59925337  3.54650632  4.85935712  5.56999111  4.74040999  5.06387449
  4.95379628  1.62094796  4.30362522  1.90811601  3.89855389  1.27545087
  2.89590817  3.62884948  1.52626441  3.29468225  0.99520875]
id_similar:  22

 Rotulo igual:

viz:  [13 21]
pilha:  -1
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  22
atrib antes:  [-2.36457    1.8587018]
atrib depois:  [-1.82788465  2.39538715]
viz:  [13 22]
dist:  3.0469477906
coef:  0.830541138305
Vertice:  21
atrib antes:  [-4.5218915   0.97193433]
atrib depois:  [-4.07615224  1.41767359]
viz:  [21 22]
dist:  1.83949212937
coef:  0.934564507216
Vertice:  13
atrib antes:  [-2.31563004  0.62173676]
atrib depois:  [-1.81406297  1.12330383]


 AMOSTRA:  55

 source:  [ 0  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22]
 
 custoAll:  [ 0.          1.82977715  0.30568647  0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.        ]
cust:  [ 4.75754145  5.64443682  5.42570211  1.65926576  3.07143146  4.30812158
  4.14457512  5.65855657  5.38021607  2.63056088  2.64405403  2.79204515
  2.62103579  6.55154492  4.99795038  4.66394969  5.21085191  7.37815438
  3.90979206  2.70861751  5.57744047  8.82959264  6.77247629]
id_similar:  3

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  3
atrib antes:  [ 4.8275789  2.3293053]
atrib depois:  [ 5.70831255  3.21003895]


 AMOSTRA:  56

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.        ]
cust:  [  9.24693733  11.4520759    7.27844706   9.40274654   8.56616408
   4.14889103   9.62408757   7.55308304   8.64058496   8.12201374
   7.33271508   7.73868811   4.76322954   3.43089312   2.40071933
   5.37471673   2.07591142   3.95710106   6.04435907   5.83557624
   5.58437722   4.31010156   4.70239105]
id_similar:  16

 Rotulo diferente:



 AMOSTRA:  57

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.        ]
cust:  [ 6.92156739  9.41708574  4.29080535  8.4361502   7.06203688  3.1527621
  7.76578359  4.46072475  5.84965447  6.80398027  5.97999273  6.29429273
  5.98580912  1.10720179  4.92119228  3.13270966  4.46557052  0.29130972
  4.12297508  4.87612887  2.578552    1.52556331  0.94697698  4.24716373]
id_similar:  17

 Rotulo diferente:



 AMOSTRA:  58

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.        ]
cust:  [  9.20824298  11.28561286   7.48484322   9.03456192   8.35070636
   4.19252566   9.45828876   7.77473633   8.74172132   7.88041942
   7.13670049   7.54402188   4.1320092    4.01203046   1.72556114
   5.53755607   1.57778986   4.67268684   6.06932706   5.64818538
   5.90217146   5.21292779   5.26742175   1.01321393   4.95456466]
id_similar:  23

 Rotulo igual:

viz:  [14]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  23
atrib antes:  [-1.9062183 -2.3063514]
atrib depois:  [-1.71914835 -2.11928145]
viz:  [23]
dist:  2.19359286767
coef:  0.908248741619
Vertice:  14
atrib antes:  [ 0.46789956 -1.94995596]
atrib depois:  [ 0.6378056  -1.78004992]


 AMOSTRA:  59

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.        ]
cust:  [ 4.26977224  6.64376655  2.31112707  5.33273525  4.02801607  1.03969785
  4.87546399  2.60988079  3.58047582  3.72252921  2.88539524  3.22473545
  3.78545001  2.51658123  3.93953632  0.37354101  3.85830672  3.13144912
  1.1002504   1.8102766   1.20205769  4.61634657  2.32093821  4.80837123
  3.1153248 ]
id_similar:  15

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  15
atrib antes:  [ 0.44263757  2.52794855]
atrib depois:  [ 0.60939831  2.69470929]


 AMOSTRA:  60

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.        ]
cust:  [  8.16890822  10.66555557   5.52333364   9.63673618   8.29046359
   4.18533651   9.0119799    5.68112048   7.08168652   8.01748121
   7.18612667   7.51174019   6.79093633   1.94003076   5.37222422
   4.56165457   4.86019377   1.17333132   5.34315504   6.01347445
   3.82723434   0.34454722   2.19194181   3.99867625   1.24876405]
id_similar:  21

 Rotulo igual:

viz:  [24]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  21
atrib antes:  [-4.07615224  1.41767359]
atrib depois:  [-3.95380792  1.54001791]
viz:  [13 21 22]
pilha:  -1
pilha:  -1
dist:  1.37419763204
coef:  0.962935947748
Vertice:  24
atrib antes:  [-2.6223321  1.8800051]
atrib depois:  [-2.50452235  1.99781485]
viz:  [13 24]
dist:  2.29155105919
coef:  0.900302802396
Vertice:  22
atrib antes:  [-1.82788465  2.39538715]
atrib depois:  [-1.71773771  2.50553409]
viz:  [22 24]
dist:  2.17994474112
coef:  0.909333667241
Vertice:  13
atrib antes:  [-1.81406297  1.12330383]
atrib depois:  [-1.70281115  1.23455565]


 AMOSTRA:  61

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.        ]
cust:  [  9.40463604  11.77251257   7.08993124  10.08276489   9.02745179
   4.46283175   9.97921657   7.32662939   8.58257582   8.63732366
   7.80365454   8.19288259   5.96297093   3.02008443   3.9561098
   5.60810527   3.38389898   3.00387866   6.22554303   6.36326587
   5.293202     2.94803788   4.14917523   1.7593007    3.42285624]
id_similar:  23

 Rotulo diferente:



 AMOSTRA:  62

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [  9.82413043  12.25384023   7.35784022  10.75820188   9.60894254
   5.08799992  10.49589595   7.56612827   8.89471365   9.25015732
   8.40743387   8.78243862   6.88711799   3.31406731   4.94499566
   6.03398702   4.37151956   2.98414867   6.72064574   7.02126349
   5.56115742   2.46495583   4.23947014   2.7870874    3.38069624
   1.02827423]
id_similar:  25

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  25
atrib antes:  [-3.2929638 -1.3329966]
atrib depois:  [-3.03626085 -1.07629365]


 AMOSTRA:  63

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [ 6.69482069  9.18516399  4.08959355  8.16644378  6.80158848  2.8760876
  7.52050907  4.27120996  5.64666521  6.53755388  5.71124154  6.02910623
  5.72769475  0.88943916  4.69842567  3.07181868  4.27925092  0.36485574
  3.85823591  4.59756449  2.34886399  1.63931599  0.90620174  4.01894565
  0.21754247  3.00775102]
id_similar:  24

 Rotulo igual:

viz:  [13 22]
pilha:  -1
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  24
atrib antes:  [-2.50452235  1.99781485]
atrib depois:  [-2.49789555  2.00444165]
viz:  [13 24]
dist:  0.927221592624
coef:  0.982952189221
Vertice:  22
atrib antes:  [-1.71773771  2.50553409]
atrib depois:  [-1.71122388  2.51204792]
viz:  [22 24 25]
pilha:  -1
dist:  1.10674462093
coef:  0.975799959486
Vertice:  13
atrib antes:  [-1.70281115  1.23455565]
atrib depois:  [-1.69634472  1.24102208]
viz:  [13]
dist:  3.12742180537
coef:  0.82232848828
Vertice:  25
atrib antes:  [-3.03626085 -1.07629365]
atrib depois:  [-3.03081144 -1.07084424]


 AMOSTRA:  64

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [ 4.52975132  7.02929219  1.92391512  6.27863207  4.80685813  2.23314876
  5.41221123  2.13037341  3.47497501  4.61984742  3.84883689  4.102648
  5.17975947  2.18331986  5.03796035  1.25031109  4.83435787  2.53647408
  2.01073592  3.1176021   0.25311758  3.73116241  1.28930495  5.35523148
  2.22334232  4.85247634]
id_similar:  20

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  20
atrib antes:  [-0.32410242  3.0492231 ]
atrib depois:  [-0.2323228   3.14100272]


 AMOSTRA:  65

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [ 3.74294145  6.21311075  1.43638661  5.33344311  3.87512622  1.95943052
  4.53735606  1.72272692  2.84897181  3.67523553  2.90239634  3.15801127
  4.61920298  2.76845608  4.86315539  0.44683704  4.76611346  3.32620243
  1.08247031  2.27649511  0.6123259   4.59472658  2.1626242   5.60212205
  3.06771307  5.36722746]
id_similar:  15

 Rotulo diferente:



 AMOSTRA:  66

 source:  [ 0  2  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.        ]
cust:  [ 6.58809891  8.12665145  6.01911894  5.44381425  5.22841744  3.27032764
  6.4017158   6.31722411  6.6763013   4.72122799  4.22333578  4.57750502
  0.35128535  5.02880312  2.06846791  4.47769774  2.60394135  5.98617225
  4.2262256   3.10430096  5.28655524  7.18352617  5.78559377  4.44469231
  6.1111382   5.68300553  4.9233778 ]
id_similar:  12

 Rotulo diferente:



 AMOSTRA:  67

 source:  [ 0  2  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
 27]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.        ]
cust:  [ 6.89275784  9.38383097  4.28173115  8.36019982  6.99928016  3.03530906
  7.71992413  4.45994043  5.83952007  6.73317008  5.90571839  6.22528592
  5.85096214  0.98573258  4.75714607  3.2696398   4.32161605  0.19551407
  4.05478291  4.78012187  2.67245809  1.44527372  1.10193352  3.97376881
  0.23481016  2.88658329  3.18335116  6.01386607]
id_similar:  17

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  17
atrib antes:  [-2.5990282  1.589629 ]
atrib depois:  [-2.47218915  1.71646805]


 AMOSTRA:  68

 source:  [ 0  2  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
 27]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.        ]
cust:  [ 3.53642468  5.46015171  3.08305532  3.50897822  2.53452459  2.1648845
  3.63393546  3.35617298  3.53946334  2.0879072   1.31120129  1.71866472
  2.7896255   4.21614744  4.06286866  2.0523486   4.26501507  4.95042672
  1.4004455   0.23058542  3.00391413  6.4375595   4.24097197  5.77089729
  4.97714151  6.23070218  2.43538059  3.13962033]
id_similar:  19

 Rotulo diferente:



 AMOSTRA:  69

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
 28]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [ 4.20839773  5.89181811  3.93723877  3.55274347  2.94191048  2.42915226
  4.10543907  4.21248986  4.35263369  2.4432164   1.85114083  2.22254611
  2.03059135  4.56492146  3.62455484  2.77516933  3.92589142  5.37582319
  2.21605608  0.93640594  3.72153096  6.83507527  4.7960386   5.59012683
  5.44285552  6.27618157  3.19129848  2.38099667  0.85730557]
id_similar:  28

 Rotulo igual:

viz:  [10]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  28
atrib antes:  [ 2.4766232  1.8428842]
atrib depois:  [ 2.6640517  2.0303127]
viz:  [28]
dist:  1.04906756356
coef:  0.978229616254
Vertice:  10
atrib antes:  [ 3.27263876  2.88480936]
atrib depois:  [ 3.45598687  3.06815747]


 AMOSTRA:  70

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
 28]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [ 6.35982859  8.85746747  3.72518728  7.93428596  6.53597001  2.8196492
  7.21677852  3.89686422  5.28400312  6.29281628  5.68384765  5.78014762
  5.75820801  1.07515043  4.87456622  2.81416469  4.48683053  0.58237184
  3.61122764  4.4357731   2.14322668  1.91226376  0.54329625  4.35172046
  0.39311459  3.39354589  2.68293379  5.95015497  4.83005737]
id_similar:  24

 Rotulo diferente:



 AMOSTRA:  71

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
 28 29]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.        ]
cust:  [ 3.2134703   5.5356143   1.84978481  4.27889902  2.91637137  1.88973438
  3.75579361  2.14571621  2.72464279  2.63964987  2.02930009  2.1307144
  3.8395436   3.47933125  4.5615535   0.84978041  4.60104809  4.05413789
  0.06554537  1.21509639  1.74621629  5.53725771  3.17630029  5.77873792
  4.01886432  5.8677957   1.14373993  4.17197954  1.38194929  3.65572718]
id_similar:  18

 Rotulo igual:

viz:  [26]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  18
atrib antes:  [ 1.4081856  2.7482508]
atrib depois:  [ 1.4129928  2.753058 ]
viz:  [18 20]
pilha:  -1
dist:  1.08561265083
coef:  0.976704531875
Vertice:  26
atrib antes:  [ 0.37655193  3.076083  ]
atrib depois:  [ 0.38124714  3.08077821]
viz:  [26]
dist:  1.69043323718
coef:  0.944451171985
Vertice:  20
atrib antes:  [-0.2323228   3.14100272]
atrib depois:  [-0.22778263  3.14554289]


 AMOSTRA:  72

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
 28 29]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.        ]
cust:  [ 3.69685129  5.14279846  3.99240477  2.69666766  2.23241142  3.17167391
  3.40536895  4.2339333   4.08789427  1.7253706   1.51643987  1.64322584
  2.66189726  5.28377093  4.44726326  3.17927086  4.77102331  6.05229175
  2.47359088  1.34495904  4.1241425   7.53181794  5.37481332  6.44763859
  6.09236719  7.111956    3.54149585  2.9966912   1.02939706  5.77769847]
id_similar:  28

 Rotulo diferente:



 AMOSTRA:  73

 source:  [ 0  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
 28 29 30]
 
 custoAll:  [ 0.          1.82977715  0.30568647  1.58498394  0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.        ]
cust:  [ 3.24301323  5.62962322  1.59136559  4.52607143  3.11365125  1.93232459
  3.88195006  1.89388596  2.61884186  2.87388869  2.26937902  2.35860006
  4.10644965  3.32977244  4.70866064  0.61741471  4.71119505  3.85039321
  0.26207465  1.53373743  1.44273904  5.32253172  2.92962595  5.79931636
  3.79715188  5.79446479  0.83273682  4.43327587  1.70659776  3.42522889
  2.73507041]
id_similar:  18

 Rotulo igual:

viz:  [26]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  18
atrib antes:  [ 1.4129928  2.753058 ]
atrib depois:  [ 1.4515623  2.7916275]
viz:  [18 20]
pilha:  -1
dist:  1.10868510792
coef:  0.975716063567
Vertice:  26
atrib antes:  [ 0.38124714  3.08077821]
atrib depois:  [ 0.41888002  3.11841109]
viz:  [26]
dist:  1.71623294126
coef:  0.942792455506
Vertice:  20
atrib antes:  [-0.22778263  3.14554289]
atrib depois:  [-0.1914196   3.18190592]


 AMOSTRA:  74

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.        ]
cust:  [ 6.58091912  9.07564476  3.95777672  8.10602582  6.72438848  2.89073205
  7.4238446   4.13298963  5.51619593  6.47060389  5.86039863  5.95992156
  5.78191417  0.99071436  4.80841574  2.99631695  4.40034552  0.34339894
  3.83983119  4.56854067  2.41652461  1.71242682  0.77543729  4.1802217
  0.18872252  3.17287743  2.941773    5.96164608  4.97380074  0.24087503
  5.90585576]
id_similar:  24

 Rotulo diferente:



 AMOSTRA:  75

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.        ]
cust:  [  9.83573121  12.24602538   7.41561656  10.6768677    9.56274427
   5.01734997  10.47416979   7.63330392   8.94087487   9.19185418
   8.60118491   8.73236716   6.69055145   3.35384495   4.70732935
   6.03672951   4.13449437   3.27821321   6.76188432   6.94283237
   5.8012739    2.70925724   4.34958447   2.498545     3.52301089
   1.00350832   6.17767965   6.67862405   7.41856892   3.85953105
   8.08083382   3.62161135]
id_similar:  25

 Rotulo igual:

viz:  []
dist:  0.0
coef:  1.0
Vertice:  25
atrib antes:  [-3.03081144 -1.07084424]
atrib depois:  [-2.48275557 -0.52278837]


 AMOSTRA:  76

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.        ]
cust:  [  8.14103184  10.64050125   5.4833296    9.64883294   8.29031366
   4.2303614    8.99756338   5.63519037   7.04051445   8.02431685
   7.41313166   7.51679936   6.86903051   2.09468303   5.47657964
   4.56052372   4.96856941   1.33324054   5.39907124   6.04183178
   3.98161552   0.19282294   2.32228784   4.12730915   1.3940836
   2.36667335   4.51561357   6.99087184   6.46941585   1.78393999
   7.35855858   1.57400179]
id_similar:  21

 Rotulo igual:

viz:  [24]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  21
atrib antes:  [-3.95380792  1.54001791]
atrib depois:  [-3.90848046  1.58534537]
viz:  [13 21 22]
pilha:  -1
pilha:  -1
dist:  1.47152692756
coef:  0.957616561613
Vertice:  24
atrib antes:  [-2.49789555  2.00444165]
atrib depois:  [-2.45448923  2.04784797]
viz:  [13 24]
dist:  2.38468323086
coef:  0.892495076178
Vertice:  22
atrib antes:  [-1.71122388  2.51204792]
atrib depois:  [-1.67076936  2.55250244]
viz:  [22 24 25]
pilha:  -1
dist:  2.23877267329
coef:  0.904618418101
Vertice:  13
atrib antes:  [-1.69634472  1.24102208]
atrib depois:  [-1.65534067  1.28202613]
viz:  [13]
dist:  2.54497923844
coef:  0.878500865211
Vertice:  25
atrib antes:  [-2.48275557 -0.52278837]
atrib depois:  [-2.44293537 -0.48296817]


 AMOSTRA:  77

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.        ]
cust:  [ 3.61558935  5.34806389  3.48998094  3.17262994  2.39427387  2.55880164
  3.54519356  3.75071158  3.79031948  1.90737527  1.49396622  1.64355244
  2.6234143   4.60733583  4.14338831  2.54304629  4.40507902  5.40823662
  1.86180724  0.69326647  3.47456297  6.84480284  4.69080629  6.00081569
  5.40370694  5.79278226  2.90511228  2.9737034   0.45318067  5.12723725
  0.65169311  5.25731657]
id_similar:  28

 Rotulo diferente:



 AMOSTRA:  78

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31 32]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.        ]
cust:  [ 3.52247055  5.9649023   1.45389136  4.99318502  3.55250029  1.89572731
  4.25758335  1.75680176  2.73056002  3.3367713   2.73715714  2.81989352
  4.38417047  2.92676043  4.77281599  0.3172152   4.71697759  3.43751222
  0.75863095  1.94994983  0.93087189  4.83742069  2.43073084  5.66345394
  3.31182819  4.69885861  0.32645091  4.69796546  2.16903935  2.98682211
  3.19831331  3.18205078  2.58155015]
id_similar:  15

 Rotulo diferente:



 AMOSTRA:  79

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31 32 33]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.        ]
cust:  [  8.50399875  10.31071642   7.29762257   7.77109793   7.36229993
   3.99398996   8.52356722   7.60246721   8.30655365   6.86280081
   6.47117426   6.62183804   2.63252192   4.83639587   1.09565843
   5.55491842   1.40823011   5.65101196   5.67860757   4.84943632
   6.12604429   6.50829354   5.96610217   2.67221867   5.91238135
   4.05815521   5.98893868   2.38242133   5.21132046   5.89295945
   5.18706259   5.80849856   4.98057351   5.8485081 ]
id_similar:  14

 Rotulo igual:

viz:  [27]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  14
atrib antes:  [ 0.6378056  -1.78004992]
atrib depois:  [ 1.06928908 -1.34856644]
viz:  [14]
dist:  1.57960877837
coef:  0.951321433901
Vertice:  27
atrib antes:  [ 2.6478869 -1.2920615]
atrib depois:  [ 3.05836638 -0.88158202]


 AMOSTRA:  80

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31 32 33]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.        ]
cust:  [ 7.55413969  9.40130243  6.36126255  6.93848298  6.44837311  3.09045798
  7.60269086  6.66663213  7.35032302  5.95321738  5.54191761  5.69310921
  1.89540189  4.17611785  0.56788183  4.62914675  0.98656172  5.04609186
  4.72552937  3.89853426  5.24167835  6.05431749  5.22122059  2.75798021
  5.27788345  3.75783304  5.07070015  2.27539815  4.26999365  5.21694176
  4.30572236  5.16140705  4.05759837  4.91710349]
id_similar:  14

 Rotulo diferente:



 AMOSTRA:  81

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31 32 33 34]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.        ]
cust:  [ 3.6457158   5.62739995  3.01876901  3.72250313  2.71697394  1.94992648
  3.79854733  3.30025792  3.57179916  2.28150978  1.74407667  1.89216854
  2.761803    3.95453989  3.36186616  1.88610505  4.10778757  4.73884646
  1.28859217  0.0144633   2.82275363  6.17801194  4.009386    5.58464632
  4.72739723  5.23018364  2.27343303  2.78955119  0.46335163  4.44826893
  1.33309001  4.58134855  0.68142899  1.95656242  3.90842625]
id_similar:  19

 Rotulo igual:

viz:  [32]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  19
atrib antes:  [ 2.2529099  1.7870094]
atrib depois:  [ 2.26250875  1.79660825]
viz:  [19 30]
pilha:  -1
dist:  0.685553282478
coef:  0.990644372707
Vertice:  32
atrib antes:  [ 2.9358273  1.6676686]
atrib depois:  [ 2.94533635  1.67717765]
viz:  [32]
dist:  1.33719230942
coef:  0.964870227995
Vertice:  30
atrib antes:  [ 3.5779917  1.5566335]
atrib depois:  [ 3.58725334  1.56589514]


 AMOSTRA:  82

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31 32 33 34]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.        ]
cust:  [ 6.02978158  6.98458779  6.35124134  4.03150622  4.38268926  4.5237991
  5.47979771  6.61275283  6.52860016  3.91925093  3.90264473  4.00731572
  1.95728535  6.54627123  3.59123037  5.21234869  4.63441052  7.45733844
  4.67179457  3.39076373  6.14033582  8.79591259  7.04324197  6.47933966
  7.55314197  7.04007255  5.63468746  1.55166722  3.31519484  7.34340348
  2.44753158  7.40773149  2.86440289  5.32788193  3.77657845]
id_similar:  27

 Rotulo diferente:



 AMOSTRA:  83

 source:  [ 0  2  4  5  6  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31 32 33 34 35]
 
 custoAll:  [ 0.          1.82977715  0.          1.58498394  0.          0.          0.
  0.30568647  1.34818119  0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.          0.          0.          0.          0.          0.          0.
  0.        ]
cust:  [ 3.50218168  5.45570892  3.00250092  3.54818886  2.54009678  2.12338303
  3.62765818  3.2767922   3.47863581  2.10252442  1.5687764   1.71756251
  2.84875124  4.11351596  3.51256977  1.97101857  4.27430686  4.88743827
  1.31229126  0.18014987  2.90302398  6.32807676  4.13491591  5.76180278
  4.86872122  5.40694464  2.33736979  2.85306868  0.28508934  4.58523483
  1.22117366  4.72320837  0.57705877  2.01530531  4.05474714  3.36577453]
id_similar:  19

 Rotulo igual:

viz:  [32]
pilha:  -1
dist:  0.0
coef:  1.0
Vertice:  19
atrib antes:  [ 2.26250875  1.79660825]
atrib depois:  [ 2.387543   1.9216425]
viz:  [19 30]
pilha:  -1
dist:  0.609012710988
coef:  0.992609515294
Vertice:  32
atrib antes:  [ 2.94533635  1.67717765]
atrib depois:  [ 3.06944653  1.80128783]
viz:  [32]
dist:  1.25134371449
coef:  0.969168083029
Vertice:  30
atrib antes:  [ 3.58725334  1.56589514]
atrib depois:  [ 3.70843255  1.68707435]
size vertice:  (36, 5)
vertices: 
  [[ 2.          0.          0.          3.42329175  5.25024655]
 [ 1.          1.82977715  9.26216716  5.73150525  6.22683215]
 [ 1.          0.          0.          0.81923089  4.44255357]
 [ 1.          1.58498394  3.72737449  5.70831255  3.21003895]
 [ 1.          0.          0.          4.20106733  3.70033066]
 [ 2.          0.          4.39471313  0.4368537   1.1175806 ]
 [ 1.          0.          0.          4.56742862  4.81509207]
 [ 1.          0.30568647  5.60298362  0.79481511  4.74726341]
 [ 2.          1.34818119  4.58440629  2.0795861   5.36000834]
 [ 2.          0.          3.0005208   4.0491064   3.2164391 ]
 [ 2.          0.          0.40740685  3.45598687  3.06815747]
 [ 1.          0.          1.9539745   3.53216161  3.19922011]
 [ 1.          0.          1.4530684   2.65710177 -0.94089703]
 [ 1.          0.          3.39637271 -1.65534067  1.28202613]
 [ 2.          0.          2.06713685  1.06928908 -1.34856644]
 [ 1.          0.          1.31567778  0.60939831  2.69470929]
 [ 1.          0.          0.31129984  0.07305944 -1.68035788]
 [ 2.          0.          0.2536781  -2.47218915  1.71646805]
 [ 2.          0.          0.0867534   1.4515623   2.7916275 ]
 [ 1.          0.          0.2692662   2.387543    1.9216425 ]
 [ 2.          0.          0.18355924 -0.1914196   3.18190592]
 [ 1.          0.          0.33534355 -3.90848046  1.58534537]
 [ 1.          0.          1.0733707  -1.67076936  2.55250244]
 [ 2.          0.          0.3741399  -1.71914835 -2.11928145]
 [ 1.          0.          0.01325361 -2.45448923  2.04784797]
 [ 1.          0.          1.60951764 -2.44293537 -0.48296817]
 [ 2.          0.          0.          0.41888002  3.11841109]
 [ 2.          0.          0.          3.05836638 -0.88158202]
 [ 2.          0.          0.374857    2.6640517   2.0303127 ]
 [ 2.          0.          0.         -2.1626704   2.2097784 ]
 [ 1.          0.          0.          3.70843255  1.68707435]
 [ 2.          0.          0.         -2.3097362   2.0190104 ]
 [ 1.          0.          0.          3.06944653  1.80128783]
 [ 2.          0.          0.          0.71988775  2.9920602 ]
 [ 1.          0.          0.          1.0312689  -1.9151741 ]
 [ 1.          0.          0.          4.5947928  -0.66463732]]