Vamos a mostrar como se visualizan los árboles para cada dataset

source("dt.R")

TENNIS DATASET

run.tree.experiment("tennis.csv")
## [1] "mejor attributo:"  "Outlook"           "0.246749819774439"
## attribute selected:  Outlook 
## [1] "root is  Outlook value selected:  Sunny"
## [1] "mejor attributo:"  "Humidity"          "0.970950594454669"
## attribute selected:  Humidity 
## [1] "root is  Humidity value selected:  High"
## [1] "leaf  no"
## [1] "root is  Humidity value selected:  Normal"
## [1] "leaf  yes"
## [1] "root is  Outlook value selected:  Overcast"
## [1] "leaf  yes"
## [1] "root is  Outlook value selected:  Rain"
## [1] "mejor attributo:"  "Wind"              "0.970950594454669"
## attribute selected:  Wind 
## [1] "root is  Wind value selected:  Weak"
## [1] "leaf  yes"
## [1] "root is  Wind value selected:  Strong"
## [1] "leaf  no"
##   0) [ROOT] - Test: Outlook
##      1) [Value: Sunny] - Test: Humidity
##         2) [Value: High] - Label: no
##         2) [Value: Normal] - Label: yes
##      1) [Value: Overcast] - Label: yes
##      1) [Value: Rain] - Test: Wind
##         2) [Value: Weak] - Label: yes
##         2) [Value: Strong] - Label: no
## [1] "no"

RESTAURANT DATASET

run.tree.experiment("restaurant.csv")
## [1] "mejor attributo:"  "Clientes"          "0.540852082972755"
## attribute selected:  Clientes 
## [1] "root is  Clientes value selected:  Algunos"
## [1] "leaf  1"
## [1] "root is  Clientes value selected:  Lleno"
## [1] "mejor attributo:"  "Hambriento"        "0.251629167387823"
## attribute selected:  Hambriento 
## [1] "root is  Hambriento value selected:  Si"
## [1] "mejor attributo:" "Tipo"             "0.5"             
## attribute selected:  Tipo 
## [1] "root is  Tipo value selected:  Frances"
## [1] "Valor mas commun de" "Esperar"             "0"                  
## [1] "leaf  0"
## [1] "root is  Tipo value selected:  Tailandes"
## [1] "mejor attributo:" "Vier.Sab"         "1"               
## attribute selected:  Vier.Sab 
## [1] "root is  Vier.Sab value selected:  No"
## [1] "leaf  0"
## [1] "root is  Vier.Sab value selected:  Si"
## [1] "leaf  1"
## [1] "root is  Tipo value selected:  Hamburg"
## [1] "leaf  1"
## [1] "root is  Tipo value selected:  Italiano"
## [1] "leaf  0"
## [1] "root is  Hambriento value selected:  No"
## [1] "leaf  0"
## [1] "root is  Clientes value selected:  Ninguno"
## [1] "leaf  0"
##   0) [ROOT] - Test: Clientes
##      1) [Value: Algunos] - Label: 1
##      1) [Value: Lleno] - Test: Hambriento
##         2) [Value: Si] - Test: Tipo
##            3) [Value: Frances] - Label: 0
##            3) [Value: Tailandes] - Test: Vier.Sab
##               4) [Value: No] - Label: 0
##               4) [Value: Si] - Label: 1
##            3) [Value: Hamburg] - Label: 1
##            3) [Value: Italiano] - Label: 0
##         2) [Value: No] - Label: 0
##      1) [Value: Ninguno] - Label: 0
## [1] "1"

SPAM DE 50 FILAS/ELEMENTOS

run.tree.experiment("MATRIX.TRAIN.50")
## [1] "mejor attributo:"  "click"             "0.301788478915386"
## attribute selected:  click 
## [1] "root is  click value selected:  0"
## [1] "mejor attributo:"  "write"             "0.336389706811125"
## attribute selected:  write 
## [1] "root is  write value selected:  0"
## [1] "mejor attributo:"  "base"              "0.228351642576046"
## attribute selected:  base 
## [1] "root is  base value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  base value selected:  0"
## [1] "mejor attributo:"  "year"              "0.316538350907151"
## attribute selected:  year 
## [1] "root is  year value selected:  0"
## [1] "mejor attributo:"  "highlight"         "0.311689886986456"
## attribute selected:  highlight 
## [1] "root is  highlight value selected:  0"
## [1] "mejor attributo:"  "anumb"             "0.257678805103331"
## attribute selected:  anumb 
## [1] "root is  anumb value selected:  0"
## [1] "mejor attributo:"  "bibl"              "0.468995593589281"
## attribute selected:  bibl 
## [1] "root is  bibl value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  bibl value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  anumb value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  highlight value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  year value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  write value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  click value selected:  1"
## [1] "leaf  NO-SPAM"
##   0) [ROOT] - Test: click
##      1) [Value: 0] - Test: write
##         2) [Value: 0] - Test: base
##            3) [Value: 1] - Label: NO-SPAM
##            3) [Value: 0] - Test: year
##               4) [Value: 0] - Test: highlight
##                  5) [Value: 0] - Test: anumb
##                     6) [Value: 0] - Test: bibl
##                        7) [Value: 0] - Label: SPAM
##                        7) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##               4) [Value: 1] - Label: NO-SPAM
##         2) [Value: 1] - Label: SPAM
##      1) [Value: 1] - Label: NO-SPAM
## [1] "NO-SPAM"

SPAM DE 100 FILAS/ELEMENTOS

run.tree.experiment("MATRIX.TRAIN.100")
## [1] "mejor attributo:"  "click"             "0.361754313322628"
## attribute selected:  click 
## [1] "root is  click value selected:  0"
## [1] "mejor attributo:"  "write"             "0.366284797151354"
## attribute selected:  write 
## [1] "root is  write value selected:  0"
## [1] "mejor attributo:"  "address"           "0.182359868165411"
## attribute selected:  address 
## [1] "root is  address value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  address value selected:  0"
## [1] "mejor attributo:"  "market"            "0.239020869563808"
## attribute selected:  market 
## [1] "root is  market value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  market value selected:  0"
## [1] "mejor attributo:"  "com"               "0.277522173098806"
## attribute selected:  com 
## [1] "root is  com value selected:  0"
## [1] "mejor attributo:"  "compani"           "0.222537626221548"
## attribute selected:  compani 
## [1] "root is  compani value selected:  0"
## [1] "mejor attributo:"  "advantag"          "0.152478169858054"
## attribute selected:  advantag 
## [1] "root is  advantag value selected:  0"
## [1] "mejor attributo:"  "anumb"             "0.198432318039214"
## attribute selected:  anumb 
## [1] "root is  anumb value selected:  0"
## [1] "mejor attributo:"  "bachelor"          "0.322756958897398"
## attribute selected:  bachelor 
## [1] "root is  bachelor value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  bachelor value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  anumb value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  advantag value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  compani value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  com value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  write value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  click value selected:  1"
## [1] "leaf  NO-SPAM"
##   0) [ROOT] - Test: click
##      1) [Value: 0] - Test: write
##         2) [Value: 0] - Test: address
##            3) [Value: 1] - Label: NO-SPAM
##            3) [Value: 0] - Test: market
##               4) [Value: 1] - Label: NO-SPAM
##               4) [Value: 0] - Test: com
##                  5) [Value: 0] - Test: compani
##                     6) [Value: 0] - Test: advantag
##                        7) [Value: 0] - Test: anumb
##                           8) [Value: 0] - Test: bachelor
##                              9) [Value: 0] - Label: SPAM
##                              9) [Value: 1] - Label: NO-SPAM
##                           8) [Value: 1] - Label: NO-SPAM
##                        7) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##         2) [Value: 1] - Label: SPAM
##      1) [Value: 1] - Label: NO-SPAM
## [1] "NO-SPAM"

SPAM DE 200 FILAS/ELEMENTOS

run.tree.experiment("MATRIX.TRAIN.200")
## [1] "mejor attributo:"  "click"             "0.369267011351765"
## attribute selected:  click 
## [1] "root is  click value selected:  0"
## [1] "mejor attributo:"  "write"             "0.309702128243231"
## attribute selected:  write 
## [1] "root is  write value selected:  0"
## [1] "mejor attributo:"  "base"              "0.167175735086031"
## attribute selected:  base 
## [1] "root is  base value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  base value selected:  0"
## [1] "mejor attributo:"  "com"               "0.197740458475895"
## attribute selected:  com 
## [1] "root is  com value selected:  0"
## [1] "mejor attributo:"  "custom"            "0.112925318148222"
## attribute selected:  custom 
## [1] "root is  custom value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  custom value selected:  0"
## [1] "mejor attributo:"  "holidai"           "0.140011669308434"
## attribute selected:  holidai 
## [1] "root is  holidai value selected:  0"
## [1] "mejor attributo:"  "feel"              "0.160444352878406"
## attribute selected:  feel 
## [1] "root is  feel value selected:  1"
## [1] "mejor attributo:"  "bad"               "0.650022421648354"
## attribute selected:  bad 
## [1] "root is  bad value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  bad value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  feel value selected:  0"
## [1] "mejor attributo:"  "format"            "0.200101624971649"
## attribute selected:  format 
## [1] "root is  format value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  format value selected:  0"
## [1] "mejor attributo:"  "email"             "0.133531435786896"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "mejor attributo:"  "address"           "0.469565211114707"
## attribute selected:  address 
## [1] "root is  address value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  address value selected:  0"
## [1] "mejor attributo:"  "averag"            "0.721928094887362"
## attribute selected:  averag 
## [1] "root is  averag value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  averag value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:"  "competit"          "0.187176256873208"
## attribute selected:  competit 
## [1] "root is  competit value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  competit value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  holidai value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  com value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  write value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  click value selected:  1"
## [1] "leaf  NO-SPAM"
##   0) [ROOT] - Test: click
##      1) [Value: 0] - Test: write
##         2) [Value: 0] - Test: base
##            3) [Value: 1] - Label: NO-SPAM
##            3) [Value: 0] - Test: com
##               4) [Value: 0] - Test: custom
##                  5) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 0] - Test: holidai
##                     6) [Value: 0] - Test: feel
##                        7) [Value: 1] - Test: bad
##                           8) [Value: 0] - Label: NO-SPAM
##                           8) [Value: 1] - Label: SPAM
##                        7) [Value: 0] - Test: format
##                           8) [Value: 1] - Label: NO-SPAM
##                           8) [Value: 0] - Test: email
##                              9) [Value: 1] - Test: address
##                                 10) [Value: 1] - Label: NO-SPAM
##                                 10) [Value: 0] - Test: averag
##                                    11) [Value: 0] - Label: SPAM
##                                    11) [Value: 1] - Label: NO-SPAM
##                              9) [Value: 0] - Test: competit
##                                 10) [Value: 0] - Label: SPAM
##                                 10) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 1] - Label: NO-SPAM
##               4) [Value: 1] - Label: NO-SPAM
##         2) [Value: 1] - Label: SPAM
##      1) [Value: 1] - Label: NO-SPAM
## [1] "NO-SPAM"

SPAM DE 400 FILAS/ELEMENTOS

run.tree.experiment("MATRIX.TRAIN.400")
## [1] "mejor attributo:"  "click"             "0.364766601115074"
## attribute selected:  click 
## [1] "root is  click value selected:  0"
## [1] "mejor attributo:"  "write"             "0.280664279067727"
## attribute selected:  write 
## [1] "root is  write value selected:  0"
## [1] "mejor attributo:"  "free"              "0.158590706597311"
## attribute selected:  free 
## [1] "root is  free value selected:  1"
## [1] "mejor attributo:"  "condition"         "0.323674836474841"
## attribute selected:  condition 
## [1] "root is  condition value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  condition value selected:  1"
## [1] "mejor attributo:"  "addition"          "0.811278124459133"
## attribute selected:  addition 
## [1] "root is  addition value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  addition value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  free value selected:  0"
## [1] "mejor attributo:"  "holidai"           "0.157906306069225"
## attribute selected:  holidai 
## [1] "root is  holidai value selected:  0"
## [1] "mejor attributo:"  "messag"            "0.163931452164191"
## attribute selected:  messag 
## [1] "root is  messag value selected:  0"
## [1] "mejor attributo:"  "page"              "0.169252415551507"
## attribute selected:  page 
## [1] "root is  page value selected:  0"
## [1] "mejor attributo:"  "class"             "0.114474201905891"
## attribute selected:  class 
## [1] "root is  class value selected:  0"
## [1] "mejor attributo:"  "web"               "0.144904009643552"
## attribute selected:  web 
## [1] "root is  web value selected:  1"
## [1] "mejor attributo:"  "al"                "0.721928094887362"
## attribute selected:  al 
## [1] "root is  al value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  al value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  web value selected:  0"
## [1] "mejor attributo:"  "mortgag"           "0.127566512745817"
## attribute selected:  mortgag 
## [1] "root is  mortgag value selected:  0"
## [1] "mejor attributo:"   "bank"               "0.0794517666921999"
## attribute selected:  bank 
## [1] "root is  bank value selected:  0"
## [1] "mejor attributo:"   "emailaddr"          "0.0285352548980395"
## attribute selected:  emailaddr 
## [1] "root is  emailaddr value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  emailaddr value selected:  0"
## [1] "mejor attributo:"   "re"                 "0.0794484597016423"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  re value selected:  1"
## [1] "mejor attributo:"  "hope"              "0.198117421130403"
## attribute selected:  hope 
## [1] "root is  hope value selected:  0"
## [1] "mejor attributo:" "help"             "0.91829583405449"
## attribute selected:  help 
## [1] "root is  help value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  help value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  hope value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  bank value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  mortgag value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  class value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  page value selected:  1"
## [1] "mejor attributo:"  "displai"           "0.684038435639042"
## attribute selected:  displai 
## [1] "root is  displai value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  displai value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  messag value selected:  1"
## [1] "mejor attributo:"  "tim"               "0.350209029099897"
## attribute selected:  tim 
## [1] "root is  tim value selected:  0"
## [1] "mejor attributo:"  "anyth"             "0.337290066617014"
## attribute selected:  anyth 
## [1] "root is  anyth value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  anyth value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  tim value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  holidai value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  write value selected:  1"
## [1] "mejor attributo:"   "payment"            "0.0672215447583069"
## attribute selected:  payment 
## [1] "root is  payment value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  payment value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  click value selected:  1"
## [1] "mejor attributo:"   "assum"              "0.0709989466364099"
## attribute selected:  assum 
## [1] "root is  assum value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  assum value selected:  1"
## [1] "leaf  SPAM"
##   0) [ROOT] - Test: click
##      1) [Value: 0] - Test: write
##         2) [Value: 0] - Test: free
##            3) [Value: 1] - Test: condition
##               4) [Value: 0] - Label: NO-SPAM
##               4) [Value: 1] - Test: addition
##                  5) [Value: 0] - Label: SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##            3) [Value: 0] - Test: holidai
##               4) [Value: 0] - Test: messag
##                  5) [Value: 0] - Test: page
##                     6) [Value: 0] - Test: class
##                        7) [Value: 0] - Test: web
##                           8) [Value: 1] - Test: al
##                              9) [Value: 0] - Label: NO-SPAM
##                              9) [Value: 1] - Label: SPAM
##                           8) [Value: 0] - Test: mortgag
##                              9) [Value: 0] - Test: bank
##                                 10) [Value: 0] - Test: emailaddr
##                                    11) [Value: 1] - Label: SPAM
##                                    11) [Value: 0] - Test: re
##                                       12) [Value: 0] - Label: SPAM
##                                       12) [Value: 1] - Test: hope
##                                          13) [Value: 0] - Test: help
##                                             14) [Value: 0] - Label: NO-SPAM
##                                             14) [Value: 1] - Label: SPAM
##                                          13) [Value: 1] - Label: SPAM
##                                 10) [Value: 1] - Label: NO-SPAM
##                              9) [Value: 1] - Label: NO-SPAM
##                        7) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 1] - Test: displai
##                        7) [Value: 0] - Label: NO-SPAM
##                        7) [Value: 1] - Label: SPAM
##                  5) [Value: 1] - Test: tim
##                     6) [Value: 0] - Test: anyth
##                        7) [Value: 0] - Label: NO-SPAM
##                        7) [Value: 1] - Label: SPAM
##                     6) [Value: 1] - Label: SPAM
##               4) [Value: 1] - Label: NO-SPAM
##         2) [Value: 1] - Test: payment
##            3) [Value: 1] - Label: NO-SPAM
##            3) [Value: 0] - Label: SPAM
##      1) [Value: 1] - Test: assum
##         2) [Value: 0] - Label: NO-SPAM
##         2) [Value: 1] - Label: SPAM
## [1] "NO-SPAM"

SPAM DE 800 FILAS/ELEMENTOS

run.tree.experiment("MATRIX.TRAIN.800")
## [1] "mejor attributo:"  "click"             "0.351595809841125"
## attribute selected:  click 
## [1] "root is  click value selected:  0"
## [1] "mejor attributo:" "write"            "0.22934948666655"
## attribute selected:  write 
## [1] "root is  write value selected:  0"
## [1] "mejor attributo:"  "messag"            "0.140451220869539"
## attribute selected:  messag 
## [1] "root is  messag value selected:  0"
## [1] "mejor attributo:"  "free"              "0.136943509320108"
## attribute selected:  free 
## [1] "root is  free value selected:  1"
## [1] "mejor attributo:"  "emailaddr"         "0.215541761532068"
## attribute selected:  emailaddr 
## [1] "root is  emailaddr value selected:  1"
## [1] "mejor attributo:"  "best"              "0.266029646431343"
## attribute selected:  best 
## [1] "root is  best value selected:  0"
## [1] "mejor attributo:"  "email"             "0.515506235390062"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:"  "check"             "0.721928094887362"
## attribute selected:  check 
## [1] "root is  check value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  check value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  best value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  emailaddr value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  free value selected:  0"
## [1] "mejor attributo:"  "holidai"           "0.142243444504531"
## attribute selected:  holidai 
## [1] "root is  holidai value selected:  0"
## [1] "mejor attributo:"  "emailaddr"         "0.151191537885303"
## attribute selected:  emailaddr 
## [1] "root is  emailaddr value selected:  1"
## [1] "mejor attributo:"  "web"               "0.171401510284404"
## attribute selected:  web 
## [1] "root is  web value selected:  1"
## [1] "mejor attributo:"  "attach"            "0.591672778582327"
## attribute selected:  attach 
## [1] "root is  attach value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  attach value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  web value selected:  0"
## [1] "mejor attributo:"   "class"              "0.0451076828134908"
## attribute selected:  class 
## [1] "root is  class value selected:  0"
## [1] "mejor attributo:"  "launch"            "0.057732704310501"
## attribute selected:  launch 
## [1] "root is  launch value selected:  0"
## [1] "mejor attributo:"   "re"                 "0.0064875924334703"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "mejor attributo:"   "thank"              "0.0110555571354784"
## attribute selected:  thank 
## [1] "root is  thank value selected:  0"
## [1] "mejor attributo:"   "ve"                 "0.0117731554695034"
## attribute selected:  ve 
## [1] "root is  ve value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  ve value selected:  0"
## [1] "mejor attributo:"   "dollar"             "0.0163933469131018"
## attribute selected:  dollar 
## [1] "root is  dollar value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  dollar value selected:  0"
## [1] "mejor attributo:"   "help"               "0.0237959026326381"
## attribute selected:  help 
## [1] "root is  help value selected:  0"
## [1] "mejor attributo:"   "email"              "0.0310615446123115"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:"   "actual"             "0.0441773918672614"
## attribute selected:  actual 
## [1] "root is  actual value selected:  0"
## [1] "mejor attributo:"   "apr"                "0.0560476269633308"
## attribute selected:  apr 
## [1] "root is  apr value selected:  0"
## [1] "mejor attributo:"  "church"            "0.109170338675599"
## attribute selected:  church 
## [1] "root is  church value selected:  0"
## [1] "mejor attributo:"  "addition"          "0.122556248918266"
## attribute selected:  addition 
## [1] "root is  addition value selected:  0"
## [1] "mejor attributo:"  "agenc"             "0.251629167387823"
## attribute selected:  agenc 
## [1] "root is  agenc value selected:  0"
## [1] "mejor attributo:" "anim"             "1"               
## attribute selected:  anim 
## [1] "root is  anim value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  anim value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  agenc value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  addition value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  church value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  apr value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  actual value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  help value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  thank value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  re value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  launch value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  class value selected:  1"
## [1] "mejor attributo:" "appreci"          "0.91829583405449"
## attribute selected:  appreci 
## [1] "root is  appreci value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  appreci value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  emailaddr value selected:  0"
## [1] "mejor attributo:"  "product"           "0.180672396476519"
## attribute selected:  product 
## [1] "root is  product value selected:  1"
## [1] "mejor attributo:"  "act"               "0.353359335021421"
## attribute selected:  act 
## [1] "root is  act value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  act value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  product value selected:  0"
## [1] "mejor attributo:"  "phone"             "0.144486759845465"
## attribute selected:  phone 
## [1] "root is  phone value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  phone value selected:  0"
## [1] "mejor attributo:"  "feel"              "0.151186967619923"
## attribute selected:  feel 
## [1] "root is  feel value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  feel value selected:  0"
## [1] "mejor attributo:"  "visit"             "0.145667776552655"
## attribute selected:  visit 
## [1] "root is  visit value selected:  0"
## [1] "mejor attributo:"  "www"               "0.187486072817036"
## attribute selected:  www 
## [1] "root is  www value selected:  0"
## [1] "mejor attributo:" "advert"           "0.07841991963575"
## attribute selected:  advert 
## [1] "root is  advert value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  advert value selected:  0"
## [1] "mejor attributo:"   "anumb"              "0.0888289365880745"
## attribute selected:  anumb 
## [1] "root is  anumb value selected:  0"
## [1] "mejor attributo:"  "award"             "0.103067986326885"
## attribute selected:  award 
## [1] "root is  award value selected:  0"
## [1] "mejor attributo:"  "numberpx"          "0.125202012874267"
## attribute selected:  numberpx 
## [1] "root is  numberpx value selected:  0"
## [1] "mejor attributo:"  "re"                "0.048831322297577"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  re value selected:  1"
## [1] "mejor attributo:"   "don"                "0.0629779460054868"
## attribute selected:  don 
## [1] "root is  don value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  don value selected:  0"
## [1] "mejor attributo:"  "help"              "0.128085278891394"
## attribute selected:  help 
## [1] "root is  help value selected:  0"
## [1] "mejor attributo:"  "argu"              "0.311278124459133"
## attribute selected:  argu 
## [1] "root is  argu value selected:  0"
## [1] "mejor attributo:" "administr"        "1"               
## attribute selected:  administr 
## [1] "root is  administr value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  administr value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  argu value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  help value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  numberpx value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  award value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  anumb value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  www value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  visit value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  holidai value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  messag value selected:  1"
## [1] "mejor attributo:" "machin"           "0.1485776886566" 
## attribute selected:  machin 
## [1] "root is  machin value selected:  1"
## [1] "mejor attributo:"  "arial"             "0.721928094887362"
## attribute selected:  arial 
## [1] "root is  arial value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  arial value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  machin value selected:  0"
## [1] "mejor attributo:"   "board"              "0.0927546034780118"
## attribute selected:  board 
## [1] "root is  board value selected:  0"
## [1] "mejor attributo:"  "sai"               "0.123546456832023"
## attribute selected:  sai 
## [1] "root is  sai value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  sai value selected:  1"
## [1] "mejor attributo:"  "big"               "0.970950594454669"
## attribute selected:  big 
## [1] "root is  big value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  big value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  board value selected:  1"
## [1] "mejor attributo:" "address"          "0.91829583405449"
## attribute selected:  address 
## [1] "root is  address value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  address value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  write value selected:  1"
## [1] "mejor attributo:"   "web"                "0.0915816634533233"
## attribute selected:  web 
## [1] "root is  web value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  web value selected:  0"
## [1] "mejor attributo:"   "re"                 "0.0619594461790389"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "mejor attributo:"  "collect"           "0.458105895157124"
## attribute selected:  collect 
## [1] "root is  collect value selected:  0"
## [1] "mejor attributo:"  "ad"                "0.591672778582327"
## attribute selected:  ad 
## [1] "root is  ad value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  ad value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  collect value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  re value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  click value selected:  1"
## [1] "mejor attributo:"   "reason"             "0.0372215315478279"
## attribute selected:  reason 
## [1] "root is  reason value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  reason value selected:  1"
## [1] "mejor attributo:" "email"            "0.40746777143542"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:" "actual"           "0.91829583405449"
## attribute selected:  actual 
## [1] "root is  actual value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  actual value selected:  1"
## [1] "leaf  NO-SPAM"
##   0) [ROOT] - Test: click
##      1) [Value: 0] - Test: write
##         2) [Value: 0] - Test: messag
##            3) [Value: 0] - Test: free
##               4) [Value: 1] - Test: emailaddr
##                  5) [Value: 1] - Test: best
##                     6) [Value: 0] - Test: email
##                        7) [Value: 1] - Label: NO-SPAM
##                        7) [Value: 0] - Test: check
##                           8) [Value: 0] - Label: SPAM
##                           8) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 0] - Label: NO-SPAM
##               4) [Value: 0] - Test: holidai
##                  5) [Value: 0] - Test: emailaddr
##                     6) [Value: 1] - Test: web
##                        7) [Value: 1] - Test: attach
##                           8) [Value: 0] - Label: NO-SPAM
##                           8) [Value: 1] - Label: SPAM
##                        7) [Value: 0] - Test: class
##                           8) [Value: 0] - Test: launch
##                              9) [Value: 0] - Test: re
##                                 10) [Value: 0] - Test: thank
##                                    11) [Value: 0] - Test: ve
##                                       12) [Value: 1] - Label: SPAM
##                                       12) [Value: 0] - Test: dollar
##                                          13) [Value: 1] - Label: SPAM
##                                          13) [Value: 0] - Test: help
##                                             14) [Value: 0] - Test: email
##                                                15) [Value: 1] - Label: SPAM
##                                                15) [Value: 0] - Test: actual
##                                                   16) [Value: 0] - Test: apr
##                                                      17) [Value: 0] - Test: church
##                                                         18) [Value: 0] - Test: addition
##                                                            19) [Value: 0] - Test: agenc
##                                                               20) [Value: 0] - Test: anim
##                                                                  21) [Value: 0] - Label: NO-SPAM
##                                                                  21) [Value: 1] - Label: SPAM
##                                                               20) [Value: 1] - Label: SPAM
##                                                            19) [Value: 1] - Label: SPAM
##                                                         18) [Value: 1] - Label: SPAM
##                                                      17) [Value: 1] - Label: SPAM
##                                                   16) [Value: 1] - Label: SPAM
##                                             14) [Value: 1] - Label: SPAM
##                                    11) [Value: 1] - Label: SPAM
##                                 10) [Value: 1] - Label: SPAM
##                              9) [Value: 1] - Label: NO-SPAM
##                           8) [Value: 1] - Test: appreci
##                              9) [Value: 0] - Label: SPAM
##                              9) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 0] - Test: product
##                        7) [Value: 1] - Test: act
##                           8) [Value: 0] - Label: NO-SPAM
##                           8) [Value: 1] - Label: SPAM
##                        7) [Value: 0] - Test: phone
##                           8) [Value: 1] - Label: NO-SPAM
##                           8) [Value: 0] - Test: feel
##                              9) [Value: 1] - Label: NO-SPAM
##                              9) [Value: 0] - Test: visit
##                                 10) [Value: 0] - Test: www
##                                    11) [Value: 0] - Test: advert
##                                       12) [Value: 1] - Label: NO-SPAM
##                                       12) [Value: 0] - Test: anumb
##                                          13) [Value: 0] - Test: award
##                                             14) [Value: 0] - Test: numberpx
##                                                15) [Value: 0] - Test: re
##                                                   16) [Value: 0] - Label: SPAM
##                                                   16) [Value: 1] - Test: don
##                                                      17) [Value: 1] - Label: SPAM
##                                                      17) [Value: 0] - Test: help
##                                                         18) [Value: 0] - Test: argu
##                                                            19) [Value: 0] - Test: administr
##                                                               20) [Value: 0] - Label: NO-SPAM
##                                                               20) [Value: 1] - Label: SPAM
##                                                            19) [Value: 1] - Label: SPAM
##                                                         18) [Value: 1] - Label: SPAM
##                                                15) [Value: 1] - Label: NO-SPAM
##                                             14) [Value: 1] - Label: NO-SPAM
##                                          13) [Value: 1] - Label: NO-SPAM
##                                    11) [Value: 1] - Label: NO-SPAM
##                                 10) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##            3) [Value: 1] - Test: machin
##               4) [Value: 1] - Test: arial
##                  5) [Value: 0] - Label: SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##               4) [Value: 0] - Test: board
##                  5) [Value: 0] - Test: sai
##                     6) [Value: 0] - Label: NO-SPAM
##                     6) [Value: 1] - Test: big
##                        7) [Value: 0] - Label: SPAM
##                        7) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 1] - Test: address
##                     6) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 0] - Label: SPAM
##         2) [Value: 1] - Test: web
##            3) [Value: 1] - Label: NO-SPAM
##            3) [Value: 0] - Test: re
##               4) [Value: 0] - Test: collect
##                  5) [Value: 0] - Test: ad
##                     6) [Value: 0] - Label: SPAM
##                     6) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##               4) [Value: 1] - Label: SPAM
##      1) [Value: 1] - Test: reason
##         2) [Value: 0] - Label: NO-SPAM
##         2) [Value: 1] - Test: email
##            3) [Value: 1] - Label: NO-SPAM
##            3) [Value: 0] - Test: actual
##               4) [Value: 0] - Label: SPAM
##               4) [Value: 1] - Label: NO-SPAM
## [1] "NO-SPAM"

SPAM DE 1400 FILAS/ELEMENTOS

run.tree.experiment("MATRIX.TRAIN.1400")
## [1] "mejor attributo:"  "click"             "0.357146227632171"
## attribute selected:  click 
## [1] "root is  click value selected:  0"
## [1] "mejor attributo:"  "write"             "0.230561300477234"
## attribute selected:  write 
## [1] "root is  write value selected:  0"
## [1] "mejor attributo:"  "free"              "0.118363931967116"
## attribute selected:  free 
## [1] "root is  free value selected:  1"
## [1] "mejor attributo:"  "email"             "0.128304791885667"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:"  "got"               "0.169830031686851"
## attribute selected:  got 
## [1] "root is  got value selected:  0"
## [1] "mejor attributo:"  "emailaddr"         "0.174791163563499"
## attribute selected:  emailaddr 
## [1] "root is  emailaddr value selected:  1"
## [1] "mejor attributo:"  "best"              "0.360112832582691"
## attribute selected:  best 
## [1] "root is  best value selected:  0"
## [1] "mejor attributo:"  "inform"            "0.417553348813531"
## attribute selected:  inform 
## [1] "root is  inform value selected:  0"
## [1] "mejor attributo:"  "build"             "0.468995593589281"
## attribute selected:  build 
## [1] "root is  build value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  build value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  inform value selected:  1"
## [1] "mejor attributo:"  "accord"            "0.650022421648354"
## attribute selected:  accord 
## [1] "root is  accord value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  accord value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  best value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  emailaddr value selected:  0"
## [1] "mejor attributo:"  "access"            "0.183122068301373"
## attribute selected:  access 
## [1] "root is  access value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  access value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  got value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  free value selected:  0"
## [1] "mejor attributo:"  "messag"            "0.119626994468769"
## attribute selected:  messag 
## [1] "root is  messag value selected:  0"
## [1] "mejor attributo:"  "holidai"           "0.153251331901775"
## attribute selected:  holidai 
## [1] "root is  holidai value selected:  0"
## [1] "mejor attributo:"  "emailaddr"         "0.130677290941092"
## attribute selected:  emailaddr 
## [1] "root is  emailaddr value selected:  1"
## [1] "mejor attributo:"  "web"               "0.154280361914598"
## attribute selected:  web 
## [1] "root is  web value selected:  1"
## [1] "mejor attributo:"  "attach"            "0.468995593589281"
## attribute selected:  attach 
## [1] "root is  attach value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  attach value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  web value selected:  0"
## [1] "mejor attributo:"   "earn"               "0.0752377409987843"
## attribute selected:  earn 
## [1] "root is  earn value selected:  0"
## [1] "mejor attributo:"   "mit"                "0.0510457917392774"
## attribute selected:  mit 
## [1] "root is  mit value selected:  0"
## [1] "mejor attributo:"   "apolog"             "0.0352103298526546"
## attribute selected:  apolog 
## [1] "root is  apolog value selected:  0"
## [1] "mejor attributo:"   "onlin"              "0.0397291651583382"
## attribute selected:  onlin 
## [1] "root is  onlin value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  onlin value selected:  0"
## [1] "mejor attributo:"    "re"                  "0.00465126220163589"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "mejor attributo:"    "thank"               "0.00836009366890289"
## attribute selected:  thank 
## [1] "root is  thank value selected:  0"
## [1] "mejor attributo:"    "mail"                "0.00876168091969187"
## attribute selected:  mail 
## [1] "root is  mail value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  mail value selected:  0"
## [1] "mejor attributo:"   "email"              "0.0130615500166887"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:"   "help"               "0.0151382599497336"
## attribute selected:  help 
## [1] "root is  help value selected:  0"
## [1] "mejor attributo:"   "sai"                "0.0237959026326381"
## attribute selected:  sai 
## [1] "root is  sai value selected:  0"
## [1] "mejor attributo:"   "dollar"             "0.0406956059619006"
## attribute selected:  dollar 
## [1] "root is  dollar value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  dollar value selected:  0"
## [1] "mejor attributo:"  "co"                "0.054824648581652"
## attribute selected:  co 
## [1] "root is  co value selected:  0"
## [1] "mejor attributo:"  "inform"            "0.128085278891394"
## attribute selected:  inform 
## [1] "root is  inform value selected:  0"
## [1] "mejor attributo:"  "apr"               "0.122556248918266"
## attribute selected:  apr 
## [1] "root is  apr value selected:  0"
## [1] "mejor attributo:"  "associ"            "0.251629167387823"
## attribute selected:  associ 
## [1] "root is  associ value selected:  0"
## [1] "mejor attributo:" "attempt"          "1"               
## attribute selected:  attempt 
## [1] "root is  attempt value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  attempt value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  associ value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  apr value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  inform value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  co value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  sai value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  help value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  thank value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  re value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  apolog value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  mit value selected:  1"
## [1] "mejor attributo:"  "window"            "0.985228136034252"
## attribute selected:  window 
## [1] "root is  window value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  window value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  earn value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  emailaddr value selected:  0"
## [1] "mejor attributo:"  "product"           "0.184461278191111"
## attribute selected:  product 
## [1] "root is  product value selected:  1"
## [1] "mejor attributo:"  "act"               "0.258018668664815"
## attribute selected:  act 
## [1] "root is  act value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  act value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  product value selected:  0"
## [1] "mejor attributo:"  "traffic"           "0.109953440161067"
## attribute selected:  traffic 
## [1] "root is  traffic value selected:  0"
## [1] "mejor attributo:"  "email"             "0.126239289505129"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "mejor attributo:"  "address"           "0.161136665046193"
## attribute selected:  address 
## [1] "root is  address value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  address value selected:  0"
## [1] "mejor attributo:"  "dollar"            "0.320402072002678"
## attribute selected:  dollar 
## [1] "root is  dollar value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  dollar value selected:  0"
## [1] "mejor attributo:"  "applic"            "0.281036112553423"
## attribute selected:  applic 
## [1] "root is  applic value selected:  0"
## [1] "mejor attributo:"  "book"              "0.543564443199596"
## attribute selected:  book 
## [1] "root is  book value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  book value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  applic value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:"  "ca"                "0.119697789283272"
## attribute selected:  ca 
## [1] "root is  ca value selected:  0"
## [1] "mejor attributo:"  "numberpx"          "0.107204883951787"
## attribute selected:  numberpx 
## [1] "root is  numberpx value selected:  0"
## [1] "mejor attributo:"   "mondai"             "0.0828542773447946"
## attribute selected:  mondai 
## [1] "root is  mondai value selected:  0"
## [1] "mejor attributo:"   "revers"             "0.0944587569350216"
## attribute selected:  revers 
## [1] "root is  revers value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  revers value selected:  0"
## [1] "mejor attributo:"   "plan"               "0.0874732812828782"
## attribute selected:  plan 
## [1] "root is  plan value selected:  0"
## [1] "mejor attributo:"   "anumb"              "0.0432065453284231"
## attribute selected:  anumb 
## [1] "root is  anumb value selected:  0"
## [1] "mejor attributo:"   "luck"               "0.0560395184850503"
## attribute selected:  luck 
## [1] "root is  luck value selected:  0"
## [1] "mejor attributo:"   "re"                 "0.0233403022537613"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  re value selected:  1"
## [1] "mejor attributo:"   "don"                "0.0275669284334537"
## attribute selected:  don 
## [1] "root is  don value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  don value selected:  0"
## [1] "mejor attributo:"   "post"               "0.0406956059619006"
## attribute selected:  post 
## [1] "root is  post value selected:  0"
## [1] "mejor attributo:"   "ve"                 "0.0789821406002688"
## attribute selected:  ve 
## [1] "root is  ve value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  ve value selected:  0"
## [1] "mejor attributo:"  "against"           "0.109170338675599"
## attribute selected:  against 
## [1] "root is  against value selected:  0"
## [1] "mejor attributo:"  "continu"           "0.311278124459133"
## attribute selected:  continu 
## [1] "root is  continu value selected:  0"
## [1] "mejor attributo:" "access"           "1"               
## attribute selected:  access 
## [1] "root is  access value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  access value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  continu value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  against value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  post value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  luck value selected:  1"
## [1] "mejor attributo:" "actual"           "1"               
## attribute selected:  actual 
## [1] "root is  actual value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  actual value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  anumb value selected:  1"
## [1] "mejor attributo:" "base"             "1"               
## attribute selected:  base 
## [1] "root is  base value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  base value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  plan value selected:  1"
## [1] "mejor attributo:"  "caus"              "0.459147917027245"
## attribute selected:  caus 
## [1] "root is  caus value selected:  0"
## [1] "mejor attributo:"  "address"           "0.811278124459133"
## attribute selected:  address 
## [1] "root is  address value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  address value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  caus value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  mondai value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  numberpx value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  ca value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  traffic value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  holidai value selected:  1"
## [1] "mejor attributo:"  "account"           "0.195909270873605"
## attribute selected:  account 
## [1] "root is  account value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  account value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  messag value selected:  1"
## [1] "mejor attributo:"  "format"            "0.147283141485608"
## attribute selected:  format 
## [1] "root is  format value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  format value selected:  0"
## [1] "mejor attributo:"  "request"           "0.160512499548236"
## attribute selected:  request 
## [1] "root is  request value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  request value selected:  0"
## [1] "mejor attributo:" "post"             "0.199072879541"  
## attribute selected:  post 
## [1] "root is  post value selected:  0"
## [1] "mejor attributo:"  "machin"            "0.200311331010565"
## attribute selected:  machin 
## [1] "root is  machin value selected:  1"
## [1] "mejor attributo:"  "client"            "0.650022421648354"
## attribute selected:  client 
## [1] "root is  client value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  client value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  machin value selected:  0"
## [1] "mejor attributo:"  "position"          "0.329225661843088"
## attribute selected:  position 
## [1] "root is  position value selected:  0"
## [1] "mejor attributo:"  "anywher"           "0.171062146925685"
## attribute selected:  anywher 
## [1] "root is  anywher value selected:  0"
## [1] "mejor attributo:"  "bought"            "0.266764987803026"
## attribute selected:  bought 
## [1] "root is  bought value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  bought value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  anywher value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  position value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  post value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  write value selected:  1"
## [1] "mejor attributo:"   "re"                 "0.0680718603615938"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "mejor attributo:"  "free"              "0.301240237193278"
## attribute selected:  free 
## [1] "root is  free value selected:  1"
## [1] "mejor attributo:"  "accur"             "0.591672778582327"
## attribute selected:  accur 
## [1] "root is  accur value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  accur value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  free value selected:  0"
## [1] "mejor attributo:" "commun"           "0.37138397431438"
## attribute selected:  commun 
## [1] "root is  commun value selected:  0"
## [1] "mejor attributo:"  "agent"             "0.371232326640876"
## attribute selected:  agent 
## [1] "root is  agent value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  agent value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  commun value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  re value selected:  1"
## [1] "mejor attributo:"   "web"                "0.0543004629279387"
## attribute selected:  web 
## [1] "root is  web value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  web value selected:  0"
## [1] "mejor attributo:"   "round"              "0.0159101380791399"
## attribute selected:  round 
## [1] "root is  round value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  round value selected:  1"
## [1] "mejor attributo:"  "brain"             "0.721928094887362"
## attribute selected:  brain 
## [1] "root is  brain value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  brain value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  click value selected:  1"
## [1] "mejor attributo:"   "explain"            "0.0347251250557627"
## attribute selected:  explain 
## [1] "root is  explain value selected:  0"
## [1] "mejor attributo:"  "reason"            "0.020637004990763"
## attribute selected:  reason 
## [1] "root is  reason value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  reason value selected:  1"
## [1] "mejor attributo:"  "number"            "0.252315613519884"
## attribute selected:  number 
## [1] "root is  number value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  number value selected:  0"
## [1] "mejor attributo:" "year"             "1"               
## attribute selected:  year 
## [1] "root is  year value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  year value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  explain value selected:  1"
## [1] "leaf  SPAM"
##   0) [ROOT] - Test: click
##      1) [Value: 0] - Test: write
##         2) [Value: 0] - Test: free
##            3) [Value: 1] - Test: email
##               4) [Value: 1] - Label: NO-SPAM
##               4) [Value: 0] - Test: got
##                  5) [Value: 0] - Test: emailaddr
##                     6) [Value: 1] - Test: best
##                        7) [Value: 0] - Test: inform
##                           8) [Value: 0] - Test: build
##                              9) [Value: 0] - Label: SPAM
##                              9) [Value: 1] - Label: NO-SPAM
##                           8) [Value: 1] - Test: accord
##                              9) [Value: 0] - Label: NO-SPAM
##                              9) [Value: 1] - Label: SPAM
##                        7) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 0] - Test: access
##                        7) [Value: 1] - Label: SPAM
##                        7) [Value: 0] - Label: NO-SPAM
##                  5) [Value: 1] - Label: SPAM
##            3) [Value: 0] - Test: messag
##               4) [Value: 0] - Test: holidai
##                  5) [Value: 0] - Test: emailaddr
##                     6) [Value: 1] - Test: web
##                        7) [Value: 1] - Test: attach
##                           8) [Value: 0] - Label: NO-SPAM
##                           8) [Value: 1] - Label: SPAM
##                        7) [Value: 0] - Test: earn
##                           8) [Value: 0] - Test: mit
##                              9) [Value: 0] - Test: apolog
##                                 10) [Value: 0] - Test: onlin
##                                    11) [Value: 1] - Label: NO-SPAM
##                                    11) [Value: 0] - Test: re
##                                       12) [Value: 0] - Test: thank
##                                          13) [Value: 0] - Test: mail
##                                             14) [Value: 1] - Label: SPAM
##                                             14) [Value: 0] - Test: email
##                                                15) [Value: 1] - Label: SPAM
##                                                15) [Value: 0] - Test: help
##                                                   16) [Value: 0] - Test: sai
##                                                      17) [Value: 0] - Test: dollar
##                                                         18) [Value: 1] - Label: SPAM
##                                                         18) [Value: 0] - Test: co
##                                                            19) [Value: 0] - Test: inform
##                                                               20) [Value: 0] - Test: apr
##                                                                  21) [Value: 0] - Test: associ
##                                                                     22) [Value: 0] - Test: attempt
##                                                                        23) [Value: 0] - Label: NO-SPAM
##                                                                        23) [Value: 1] - Label: SPAM
##                                                                     22) [Value: 1] - Label: SPAM
##                                                                  21) [Value: 1] - Label: SPAM
##                                                               20) [Value: 1] - Label: SPAM
##                                                            19) [Value: 1] - Label: SPAM
##                                                      17) [Value: 1] - Label: SPAM
##                                                   16) [Value: 1] - Label: SPAM
##                                          13) [Value: 1] - Label: SPAM
##                                       12) [Value: 1] - Label: SPAM
##                                 10) [Value: 1] - Label: NO-SPAM
##                              9) [Value: 1] - Test: window
##                                 10) [Value: 0] - Label: NO-SPAM
##                                 10) [Value: 1] - Label: SPAM
##                           8) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 0] - Test: product
##                        7) [Value: 1] - Test: act
##                           8) [Value: 0] - Label: NO-SPAM
##                           8) [Value: 1] - Label: SPAM
##                        7) [Value: 0] - Test: traffic
##                           8) [Value: 0] - Test: email
##                              9) [Value: 1] - Test: address
##                                 10) [Value: 1] - Label: NO-SPAM
##                                 10) [Value: 0] - Test: dollar
##                                    11) [Value: 1] - Label: SPAM
##                                    11) [Value: 0] - Test: applic
##                                       12) [Value: 0] - Test: book
##                                          13) [Value: 0] - Label: NO-SPAM
##                                          13) [Value: 1] - Label: SPAM
##                                       12) [Value: 1] - Label: SPAM
##                              9) [Value: 0] - Test: ca
##                                 10) [Value: 0] - Test: numberpx
##                                    11) [Value: 0] - Test: mondai
##                                       12) [Value: 0] - Test: revers
##                                          13) [Value: 1] - Label: NO-SPAM
##                                          13) [Value: 0] - Test: plan
##                                             14) [Value: 0] - Test: anumb
##                                                15) [Value: 0] - Test: luck
##                                                   16) [Value: 0] - Test: re
##                                                      17) [Value: 0] - Label: SPAM
##                                                      17) [Value: 1] - Test: don
##                                                         18) [Value: 1] - Label: SPAM
##                                                         18) [Value: 0] - Test: post
##                                                            19) [Value: 0] - Test: ve
##                                                               20) [Value: 1] - Label: SPAM
##                                                               20) [Value: 0] - Test: against
##                                                                  21) [Value: 0] - Test: continu
##                                                                     22) [Value: 0] - Test: access
##                                                                        23) [Value: 1] - Label: SPAM
##                                                                        23) [Value: 0] - Label: NO-SPAM
##                                                                     22) [Value: 1] - Label: SPAM
##                                                                  21) [Value: 1] - Label: SPAM
##                                                            19) [Value: 1] - Label: SPAM
##                                                   16) [Value: 1] - Test: actual
##                                                      17) [Value: 0] - Label: NO-SPAM
##                                                      17) [Value: 1] - Label: SPAM
##                                                15) [Value: 1] - Test: base
##                                                   16) [Value: 1] - Label: SPAM
##                                                   16) [Value: 0] - Label: NO-SPAM
##                                             14) [Value: 1] - Test: caus
##                                                15) [Value: 0] - Test: address
##                                                   16) [Value: 1] - Label: SPAM
##                                                   16) [Value: 0] - Label: NO-SPAM
##                                                15) [Value: 1] - Label: SPAM
##                                       12) [Value: 1] - Label: NO-SPAM
##                                    11) [Value: 1] - Label: NO-SPAM
##                                 10) [Value: 1] - Label: NO-SPAM
##                           8) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 1] - Test: account
##                     6) [Value: 0] - Label: NO-SPAM
##                     6) [Value: 1] - Label: SPAM
##               4) [Value: 1] - Test: format
##                  5) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 0] - Test: request
##                     6) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 0] - Test: post
##                        7) [Value: 0] - Test: machin
##                           8) [Value: 1] - Test: client
##                              9) [Value: 0] - Label: SPAM
##                              9) [Value: 1] - Label: NO-SPAM
##                           8) [Value: 0] - Test: position
##                              9) [Value: 0] - Test: anywher
##                                 10) [Value: 0] - Test: bought
##                                    11) [Value: 0] - Label: NO-SPAM
##                                    11) [Value: 1] - Label: SPAM
##                                 10) [Value: 1] - Label: SPAM
##                              9) [Value: 1] - Label: SPAM
##                        7) [Value: 1] - Label: SPAM
##         2) [Value: 1] - Test: re
##            3) [Value: 0] - Test: free
##               4) [Value: 1] - Test: accur
##                  5) [Value: 0] - Label: NO-SPAM
##                  5) [Value: 1] - Label: SPAM
##               4) [Value: 0] - Test: commun
##                  5) [Value: 0] - Test: agent
##                     6) [Value: 0] - Label: SPAM
##                     6) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##            3) [Value: 1] - Test: web
##               4) [Value: 1] - Label: NO-SPAM
##               4) [Value: 0] - Test: round
##                  5) [Value: 0] - Label: SPAM
##                  5) [Value: 1] - Test: brain
##                     6) [Value: 0] - Label: SPAM
##                     6) [Value: 1] - Label: NO-SPAM
##      1) [Value: 1] - Test: explain
##         2) [Value: 0] - Test: reason
##            3) [Value: 0] - Label: NO-SPAM
##            3) [Value: 1] - Test: number
##               4) [Value: 1] - Label: NO-SPAM
##               4) [Value: 0] - Test: year
##                  5) [Value: 0] - Label: SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##         2) [Value: 1] - Label: SPAM
## [1] "NO-SPAM"

SPAM

run.tree.experiment("MATRIX.TRAIN")
## [1] "mejor attributo:"  "click"             "0.362059391650007"
## attribute selected:  click 
## [1] "root is  click value selected:  0"
## [1] "mejor attributo:" "write"            "0.23081143263114"
## attribute selected:  write 
## [1] "root is  write value selected:  0"
## [1] "mejor attributo:" "free"             "0.1349196712874" 
## attribute selected:  free 
## [1] "root is  free value selected:  1"
## [1] "mejor attributo:"   "got"                "0.0844159677433258"
## attribute selected:  got 
## [1] "root is  got value selected:  0"
## [1] "mejor attributo:"   "disclaim"           "0.0802865656330348"
## attribute selected:  disclaim 
## [1] "root is  disclaim value selected:  0"
## [1] "mejor attributo:"   "email"              "0.0680112069840598"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:"  "emailaddr"         "0.114920933520102"
## attribute selected:  emailaddr 
## [1] "root is  emailaddr value selected:  1"
## [1] "mejor attributo:"  "best"              "0.262004477250501"
## attribute selected:  best 
## [1] "root is  best value selected:  0"
## [1] "mejor attributo:"  "condition"         "0.236452797660028"
## attribute selected:  condition 
## [1] "root is  condition value selected:  0"
## [1] "mejor attributo:"  "help"              "0.321212260125146"
## attribute selected:  help 
## [1] "root is  help value selected:  0"
## [1] "mejor attributo:" "mention"          "0.40746777143542"
## attribute selected:  mention 
## [1] "root is  mention value selected:  0"
## [1] "mejor attributo:"  "children"          "0.439496986921513"
## attribute selected:  children 
## [1] "root is  children value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  children value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  mention value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  help value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  condition value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  best value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  emailaddr value selected:  0"
## [1] "mejor attributo:"  "numbermb"          "0.208180945557171"
## attribute selected:  numbermb 
## [1] "root is  numbermb value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  numbermb value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  disclaim value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  got value selected:  1"
## [1] "mejor attributo:"  "highlight"         "0.605289106106859"
## attribute selected:  highlight 
## [1] "root is  highlight value selected:  0"
## [1] "mejor attributo:"  "agent"             "0.468995593589281"
## attribute selected:  agent 
## [1] "root is  agent value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  agent value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  highlight value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  free value selected:  0"
## [1] "mejor attributo:"  "web"               "0.107130997592599"
## attribute selected:  web 
## [1] "root is  web value selected:  1"
## [1] "mejor attributo:"  "corpor"            "0.137099478899818"
## attribute selected:  corpor 
## [1] "root is  corpor value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  corpor value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  web value selected:  0"
## [1] "mejor attributo:"  "holidai"           "0.119792468471923"
## attribute selected:  holidai 
## [1] "root is  holidai value selected:  0"
## [1] "mejor attributo:" "emailaddr"        "0.12063738836283"
## attribute selected:  emailaddr 
## [1] "root is  emailaddr value selected:  1"
## [1] "mejor attributo:"  "messag"            "0.105416209168866"
## attribute selected:  messag 
## [1] "root is  messag value selected:  0"
## [1] "mejor attributo:"  "mit"               "0.061310956663535"
## attribute selected:  mit 
## [1] "root is  mit value selected:  0"
## [1] "mejor attributo:"   "earn"               "0.0474985094847126"
## attribute selected:  earn 
## [1] "root is  earn value selected:  0"
## [1] "mejor attributo:"   "competit"           "0.0400904957239661"
## attribute selected:  competit 
## [1] "root is  competit value selected:  0"
## [1] "mejor attributo:"   "dear"               "0.0277225297109784"
## attribute selected:  dear 
## [1] "root is  dear value selected:  0"
## [1] "mejor attributo:"   "retail"             "0.0264287477251864"
## attribute selected:  retail 
## [1] "root is  retail value selected:  0"
## [1] "mejor attributo:"   "apolog"             "0.0225101707774766"
## attribute selected:  apolog 
## [1] "root is  apolog value selected:  0"
## [1] "mejor attributo:"   "career"             "0.0239830197443295"
## attribute selected:  career 
## [1] "root is  career value selected:  0"
## [1] "mejor attributo:"   "loss"               "0.0259544002101141"
## attribute selected:  loss 
## [1] "root is  loss value selected:  0"
## [1] "mejor attributo:"    "re"                  "0.00638209087559666"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "mejor attributo:"   "thank"              "0.0110259332469626"
## attribute selected:  thank 
## [1] "root is  thank value selected:  0"
## [1] "mejor attributo:"   "mail"               "0.0111471601874473"
## attribute selected:  mail 
## [1] "root is  mail value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  mail value selected:  0"
## [1] "mejor attributo:"   "email"              "0.0146726687924964"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:"   "help"               "0.0165356717422286"
## attribute selected:  help 
## [1] "root is  help value selected:  0"
## [1] "mejor attributo:"   "ve"                 "0.0190112716657241"
## attribute selected:  ve 
## [1] "root is  ve value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  ve value selected:  0"
## [1] "mejor attributo:"   "best"               "0.0211159298209709"
## attribute selected:  best 
## [1] "root is  best value selected:  0"
## [1] "mejor attributo:"   "hi"                 "0.0323743080432917"
## attribute selected:  hi 
## [1] "root is  hi value selected:  0"
## [1] "mejor attributo:"   "applic"             "0.0311670793148913"
## attribute selected:  applic 
## [1] "root is  applic value selected:  0"
## [1] "mejor attributo:"  "church"            "0.046491569234222"
## attribute selected:  church 
## [1] "root is  church value selected:  0"
## [1] "mejor attributo:"   "govern"             "0.0768690417668889"
## attribute selected:  govern 
## [1] "root is  govern value selected:  0"
## [1] "mejor attributo:"   "burn"               "0.0928885087345739"
## attribute selected:  burn 
## [1] "root is  burn value selected:  0"
## [1] "mejor attributo:"   "addition"           "0.0760098536627829"
## attribute selected:  addition 
## [1] "root is  addition value selected:  0"
## [1] "mejor attributo:"  "apr"               "0.109170338675599"
## attribute selected:  apr 
## [1] "root is  apr value selected:  0"
## [1] "mejor attributo:"  "box"               "0.170950594454669"
## attribute selected:  box 
## [1] "root is  box value selected:  0"
## [1] "mejor attributo:"  "card"              "0.311278124459133"
## attribute selected:  card 
## [1] "root is  card value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  card value selected:  0"
## [1] "mejor attributo:" "chip"             "0.91829583405449"
## attribute selected:  chip 
## [1] "root is  chip value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  chip value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  box value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  apr value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  addition value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  burn value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  govern value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  church value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  applic value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  hi value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  best value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  help value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  thank value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  re value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  loss value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  career value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  apolog value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  retail value selected:  1"
## [1] "mejor attributo:" "buyer"            "1"               
## attribute selected:  buyer 
## [1] "root is  buyer value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  buyer value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  dear value selected:  1"
## [1] "mejor attributo:" "access"           "0.91829583405449"
## attribute selected:  access 
## [1] "root is  access value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  access value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  competit value selected:  1"
## [1] "mejor attributo:"  "anywai"            "0.811278124459133"
## attribute selected:  anywai 
## [1] "root is  anywai value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  anywai value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  earn value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  mit value selected:  1"
## [1] "mejor attributo:" "window"           "0.94566030460064"
## attribute selected:  window 
## [1] "root is  window value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  window value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  messag value selected:  1"
## [1] "mejor attributo:"  "format"            "0.254143485113585"
## attribute selected:  format 
## [1] "root is  format value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  format value selected:  0"
## [1] "mejor attributo:" "line"             "0.23495005410248"
## attribute selected:  line 
## [1] "root is  line value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  line value selected:  0"
## [1] "mejor attributo:" "action"           "0.2185419124172" 
## attribute selected:  action 
## [1] "root is  action value selected:  0"
## [1] "mejor attributo:"  "mit"               "0.207989071311339"
## attribute selected:  mit 
## [1] "root is  mit value selected:  0"
## [1] "mejor attributo:"  "advantag"          "0.138240951179447"
## attribute selected:  advantag 
## [1] "root is  advantag value selected:  0"
## [1] "mejor attributo:"  "annual"            "0.175855896893935"
## attribute selected:  annual 
## [1] "root is  annual value selected:  0"
## [1] "mejor attributo:"  "directli"          "0.276195427647939"
## attribute selected:  directli 
## [1] "root is  directli value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  directli value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  annual value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  advantag value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  mit value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  action value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  emailaddr value selected:  0"
## [1] "mejor attributo:"   "post"               "0.0908253676103253"
## attribute selected:  post 
## [1] "root is  post value selected:  0"
## [1] "mejor attributo:"  "messag"            "0.120285596379947"
## attribute selected:  messag 
## [1] "root is  messag value selected:  0"
## [1] "mejor attributo:"  "product"           "0.130468508945896"
## attribute selected:  product 
## [1] "root is  product value selected:  1"
## [1] "mejor attributo:"  "act"               "0.402179190202273"
## attribute selected:  act 
## [1] "root is  act value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  act value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  product value selected:  0"
## [1] "mejor attributo:"  "email"             "0.102131299027867"
## attribute selected:  email 
## [1] "root is  email value selected:  1"
## [1] "mejor attributo:"  "ftp"               "0.268995593589281"
## attribute selected:  ftp 
## [1] "root is  ftp value selected:  0"
## [1] "mejor attributo:"  "dollar"            "0.281036112553424"
## attribute selected:  dollar 
## [1] "root is  dollar value selected:  1"
## [1] "mejor attributo:" "address"          "1"               
## attribute selected:  address 
## [1] "root is  address value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  address value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  dollar value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  ftp value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  email value selected:  0"
## [1] "mejor attributo:"  "world"             "0.169391629750786"
## attribute selected:  world 
## [1] "root is  world value selected:  0"
## [1] "mejor attributo:"  "decor"             "0.108702769572328"
## attribute selected:  decor 
## [1] "root is  decor value selected:  0"
## [1] "mejor attributo:" "position"         "0.13022362265421"
## attribute selected:  position 
## [1] "root is  position value selected:  0"
## [1] "mejor attributo:"  "ag"                "0.118307385044457"
## attribute selected:  ag 
## [1] "root is  ag value selected:  0"
## [1] "mejor attributo:"  "ca"                "0.143834070285967"
## attribute selected:  ca 
## [1] "root is  ca value selected:  0"
## [1] "mejor attributo:"   "award"              "0.0569720846120837"
## attribute selected:  award 
## [1] "root is  award value selected:  0"
## [1] "mejor attributo:"  "break"             "0.062858602154644"
## attribute selected:  break 
## [1] "root is  break value selected:  0"
## [1] "mejor attributo:"   "anumb"              "0.0416091879425743"
## attribute selected:  anumb 
## [1] "root is  anumb value selected:  0"
## [1] "mejor attributo:"   "luck"               "0.0534893650745589"
## attribute selected:  luck 
## [1] "root is  luck value selected:  0"
## [1] "mejor attributo:"   "re"                 "0.0244386381720938"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  re value selected:  1"
## [1] "mejor attributo:"   "don"                "0.0305262344861052"
## attribute selected:  don 
## [1] "root is  don value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  don value selected:  0"
## [1] "mejor attributo:"   "ve"                 "0.0362354740771033"
## attribute selected:  ve 
## [1] "root is  ve value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  ve value selected:  0"
## [1] "mejor attributo:"  "peopl"             "0.054824648581652"
## attribute selected:  peopl 
## [1] "root is  peopl value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  peopl value selected:  0"
## [1] "mejor attributo:"   "against"            "0.0760098536627829"
## attribute selected:  against 
## [1] "root is  against value selected:  0"
## [1] "mejor attributo:"  "anim"              "0.170950594454669"
## attribute selected:  anim 
## [1] "root is  anim value selected:  0"
## [1] "mejor attributo:"  "act"               "0.251629167387823"
## attribute selected:  act 
## [1] "root is  act value selected:  0"
## [1] "mejor attributo:" "advantag"         "1"               
## attribute selected:  advantag 
## [1] "root is  advantag value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  advantag value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  act value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  anim value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  against value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  luck value selected:  1"
## [1] "mejor attributo:" "actual"           "1"               
## attribute selected:  actual 
## [1] "root is  actual value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  actual value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  anumb value selected:  1"
## [1] "mejor attributo:" "base"             "1"               
## attribute selected:  base 
## [1] "root is  base value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  base value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  break value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  award value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  ca value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  ag value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  position value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  decor value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  world value selected:  1"
## [1] "mejor attributo:"  "action"            "0.413816850303634"
## attribute selected:  action 
## [1] "root is  action value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  action value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  messag value selected:  1"
## [1] "mejor attributo:"  "run"               "0.309543429150325"
## attribute selected:  run 
## [1] "root is  run value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  run value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  post value selected:  1"
## [1] "mejor attributo:"  "someth"            "0.173972870875999"
## attribute selected:  someth 
## [1] "root is  someth value selected:  0"
## [1] "mejor attributo:"  "american"          "0.235193381819241"
## attribute selected:  american 
## [1] "root is  american value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  american value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  someth value selected:  1"
## [1] "mejor attributo:" "action"           "0.91829583405449"
## attribute selected:  action 
## [1] "root is  action value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  action value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  holidai value selected:  1"
## [1] "mejor attributo:"  "account"           "0.151096970517114"
## attribute selected:  account 
## [1] "root is  account value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  account value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  write value selected:  1"
## [1] "mejor attributo:"   "re"                 "0.0737287635130493"
## attribute selected:  re 
## [1] "root is  re value selected:  0"
## [1] "mejor attributo:"  "messag"            "0.224553324417502"
## attribute selected:  messag 
## [1] "root is  messag value selected:  0"
## [1] "mejor attributo:" "dear"             "0.20597916043986"
## attribute selected:  dear 
## [1] "root is  dear value selected:  0"
## [1] "mejor attributo:"  "free"              "0.221459370827475"
## attribute selected:  free 
## [1] "root is  free value selected:  1"
## [1] "mejor attributo:"  "awai"              "0.521640636343318"
## attribute selected:  awai 
## [1] "root is  awai value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  awai value selected:  1"
## [1] "mejor attributo:"  "altern"            "0.811278124459133"
## attribute selected:  altern 
## [1] "root is  altern value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  altern value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  free value selected:  0"
## [1] "mejor attributo:"  "beach"             "0.249882292833185"
## attribute selected:  beach 
## [1] "root is  beach value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  beach value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  dear value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  messag value selected:  1"
## [1] "mejor attributo:"  "adult"             "0.503258334775646"
## attribute selected:  adult 
## [1] "root is  adult value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  adult value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  re value selected:  1"
## [1] "mejor attributo:"   "web"                "0.0462578800458865"
## attribute selected:  web 
## [1] "root is  web value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  web value selected:  0"
## [1] "mejor attributo:"   "emailaddr"          "0.0162046653095943"
## attribute selected:  emailaddr 
## [1] "root is  emailaddr value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  emailaddr value selected:  0"
## [1] "mejor attributo:"  "attent"            "0.192209091024553"
## attribute selected:  attent 
## [1] "root is  attent value selected:  0"
## [1] "mejor attributo:"  "describ"           "0.309543429150325"
## attribute selected:  describ 
## [1] "root is  describ value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  describ value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  attent value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  click value selected:  1"
## [1] "mejor attributo:"   "explain"            "0.0220903244389015"
## attribute selected:  explain 
## [1] "root is  explain value selected:  0"
## [1] "mejor attributo:"   "mayb"               "0.0168666698653892"
## attribute selected:  mayb 
## [1] "root is  mayb value selected:  0"
## [1] "mejor attributo:"   "atheist"            "0.0139481804495419"
## attribute selected:  atheist 
## [1] "root is  atheist value selected:  0"
## [1] "mejor attributo:"   "observ"             "0.0171668042373807"
## attribute selected:  observ 
## [1] "root is  observ value selected:  0"
## [1] "leaf  NO-SPAM"
## [1] "root is  observ value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  atheist value selected:  1"
## [1] "leaf  SPAM"
## [1] "root is  mayb value selected:  1"
## [1] "mejor attributo:"  "free"              "0.970950594454669"
## attribute selected:  free 
## [1] "root is  free value selected:  1"
## [1] "leaf  NO-SPAM"
## [1] "root is  free value selected:  0"
## [1] "leaf  SPAM"
## [1] "root is  explain value selected:  1"
## [1] "leaf  SPAM"
##   0) [ROOT] - Test: click
##      1) [Value: 0] - Test: write
##         2) [Value: 0] - Test: free
##            3) [Value: 1] - Test: got
##               4) [Value: 0] - Test: disclaim
##                  5) [Value: 0] - Test: email
##                     6) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 0] - Test: emailaddr
##                        7) [Value: 1] - Test: best
##                           8) [Value: 0] - Test: condition
##                              9) [Value: 0] - Test: help
##                                 10) [Value: 0] - Test: mention
##                                    11) [Value: 0] - Test: children
##                                       12) [Value: 0] - Label: NO-SPAM
##                                       12) [Value: 1] - Label: SPAM
##                                    11) [Value: 1] - Label: SPAM
##                                 10) [Value: 1] - Label: SPAM
##                              9) [Value: 1] - Label: SPAM
##                           8) [Value: 1] - Label: NO-SPAM
##                        7) [Value: 0] - Test: numbermb
##                           8) [Value: 0] - Label: NO-SPAM
##                           8) [Value: 1] - Label: SPAM
##                  5) [Value: 1] - Label: SPAM
##               4) [Value: 1] - Test: highlight
##                  5) [Value: 0] - Test: agent
##                     6) [Value: 0] - Label: SPAM
##                     6) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##            3) [Value: 0] - Test: web
##               4) [Value: 1] - Test: corpor
##                  5) [Value: 0] - Label: NO-SPAM
##                  5) [Value: 1] - Label: SPAM
##               4) [Value: 0] - Test: holidai
##                  5) [Value: 0] - Test: emailaddr
##                     6) [Value: 1] - Test: messag
##                        7) [Value: 0] - Test: mit
##                           8) [Value: 0] - Test: earn
##                              9) [Value: 0] - Test: competit
##                                 10) [Value: 0] - Test: dear
##                                    11) [Value: 0] - Test: retail
##                                       12) [Value: 0] - Test: apolog
##                                          13) [Value: 0] - Test: career
##                                             14) [Value: 0] - Test: loss
##                                                15) [Value: 0] - Test: re
##                                                   16) [Value: 0] - Test: thank
##                                                      17) [Value: 0] - Test: mail
##                                                         18) [Value: 1] - Label: SPAM
##                                                         18) [Value: 0] - Test: email
##                                                            19) [Value: 1] - Label: SPAM
##                                                            19) [Value: 0] - Test: help
##                                                               20) [Value: 0] - Test: ve
##                                                                  21) [Value: 1] - Label: SPAM
##                                                                  21) [Value: 0] - Test: best
##                                                                     22) [Value: 0] - Test: hi
##                                                                        23) [Value: 0] - Test: applic
##                                                                           24) [Value: 0] - Test: church
##                                                                              25) [Value: 0] - Test: govern
##                                                                                 26) [Value: 0] - Test: burn
##                                                                                    27) [Value: 0] - Test: addition
##                                                                                       28) [Value: 0] - Test: apr
##                                                                                          29) [Value: 0] - Test: box
##                                                                                             30) [Value: 0] - Test: card
##                                                                                                31) [Value: 1] - Label: SPAM
##                                                                                                31) [Value: 0] - Test: chip
##                                                                                                   32) [Value: 0] - Label: NO-SPAM
##                                                                                                   32) [Value: 1] - Label: SPAM
##                                                                                             30) [Value: 1] - Label: SPAM
##                                                                                          29) [Value: 1] - Label: SPAM
##                                                                                       28) [Value: 1] - Label: SPAM
##                                                                                    27) [Value: 1] - Label: SPAM
##                                                                                 26) [Value: 1] - Label: SPAM
##                                                                              25) [Value: 1] - Label: SPAM
##                                                                           24) [Value: 1] - Label: SPAM
##                                                                        23) [Value: 1] - Label: SPAM
##                                                                     22) [Value: 1] - Label: SPAM
##                                                               20) [Value: 1] - Label: SPAM
##                                                      17) [Value: 1] - Label: SPAM
##                                                   16) [Value: 1] - Label: SPAM
##                                                15) [Value: 1] - Label: NO-SPAM
##                                             14) [Value: 1] - Label: NO-SPAM
##                                          13) [Value: 1] - Label: NO-SPAM
##                                       12) [Value: 1] - Test: buyer
##                                          13) [Value: 0] - Label: NO-SPAM
##                                          13) [Value: 1] - Label: SPAM
##                                    11) [Value: 1] - Test: access
##                                       12) [Value: 1] - Label: SPAM
##                                       12) [Value: 0] - Label: NO-SPAM
##                                 10) [Value: 1] - Test: anywai
##                                    11) [Value: 0] - Label: NO-SPAM
##                                    11) [Value: 1] - Label: SPAM
##                              9) [Value: 1] - Label: NO-SPAM
##                           8) [Value: 1] - Test: window
##                              9) [Value: 0] - Label: NO-SPAM
##                              9) [Value: 1] - Label: SPAM
##                        7) [Value: 1] - Test: format
##                           8) [Value: 1] - Label: NO-SPAM
##                           8) [Value: 0] - Test: line
##                              9) [Value: 1] - Label: NO-SPAM
##                              9) [Value: 0] - Test: action
##                                 10) [Value: 0] - Test: mit
##                                    11) [Value: 0] - Test: advantag
##                                       12) [Value: 0] - Test: annual
##                                          13) [Value: 0] - Test: directli
##                                             14) [Value: 0] - Label: SPAM
##                                             14) [Value: 1] - Label: NO-SPAM
##                                          13) [Value: 1] - Label: NO-SPAM
##                                       12) [Value: 1] - Label: NO-SPAM
##                                    11) [Value: 1] - Label: NO-SPAM
##                                 10) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 0] - Test: post
##                        7) [Value: 0] - Test: messag
##                           8) [Value: 0] - Test: product
##                              9) [Value: 1] - Test: act
##                                 10) [Value: 0] - Label: NO-SPAM
##                                 10) [Value: 1] - Label: SPAM
##                              9) [Value: 0] - Test: email
##                                 10) [Value: 1] - Test: ftp
##                                    11) [Value: 0] - Test: dollar
##                                       12) [Value: 1] - Test: address
##                                          13) [Value: 1] - Label: NO-SPAM
##                                          13) [Value: 0] - Label: SPAM
##                                       12) [Value: 0] - Label: NO-SPAM
##                                    11) [Value: 1] - Label: SPAM
##                                 10) [Value: 0] - Test: world
##                                    11) [Value: 0] - Test: decor
##                                       12) [Value: 0] - Test: position
##                                          13) [Value: 0] - Test: ag
##                                             14) [Value: 0] - Test: ca
##                                                15) [Value: 0] - Test: award
##                                                   16) [Value: 0] - Test: break
##                                                      17) [Value: 0] - Test: anumb
##                                                         18) [Value: 0] - Test: luck
##                                                            19) [Value: 0] - Test: re
##                                                               20) [Value: 0] - Label: SPAM
##                                                               20) [Value: 1] - Test: don
##                                                                  21) [Value: 1] - Label: SPAM
##                                                                  21) [Value: 0] - Test: ve
##                                                                     22) [Value: 1] - Label: SPAM
##                                                                     22) [Value: 0] - Test: peopl
##                                                                        23) [Value: 1] - Label: SPAM
##                                                                        23) [Value: 0] - Test: against
##                                                                           24) [Value: 0] - Test: anim
##                                                                              25) [Value: 0] - Test: act
##                                                                                 26) [Value: 0] - Test: advantag
##                                                                                    27) [Value: 0] - Label: NO-SPAM
##                                                                                    27) [Value: 1] - Label: SPAM
##                                                                                 26) [Value: 1] - Label: SPAM
##                                                                              25) [Value: 1] - Label: SPAM
##                                                                           24) [Value: 1] - Label: SPAM
##                                                            19) [Value: 1] - Test: actual
##                                                               20) [Value: 0] - Label: NO-SPAM
##                                                               20) [Value: 1] - Label: SPAM
##                                                         18) [Value: 1] - Test: base
##                                                            19) [Value: 1] - Label: SPAM
##                                                            19) [Value: 0] - Label: NO-SPAM
##                                                      17) [Value: 1] - Label: NO-SPAM
##                                                   16) [Value: 1] - Label: NO-SPAM
##                                                15) [Value: 1] - Label: NO-SPAM
##                                             14) [Value: 1] - Label: NO-SPAM
##                                          13) [Value: 1] - Label: NO-SPAM
##                                       12) [Value: 1] - Label: NO-SPAM
##                                    11) [Value: 1] - Test: action
##                                       12) [Value: 0] - Label: NO-SPAM
##                                       12) [Value: 1] - Label: SPAM
##                           8) [Value: 1] - Test: run
##                              9) [Value: 0] - Label: NO-SPAM
##                              9) [Value: 1] - Label: SPAM
##                        7) [Value: 1] - Test: someth
##                           8) [Value: 0] - Test: american
##                              9) [Value: 1] - Label: NO-SPAM
##                              9) [Value: 0] - Label: SPAM
##                           8) [Value: 1] - Test: action
##                              9) [Value: 0] - Label: NO-SPAM
##                              9) [Value: 1] - Label: SPAM
##                  5) [Value: 1] - Test: account
##                     6) [Value: 0] - Label: NO-SPAM
##                     6) [Value: 1] - Label: SPAM
##         2) [Value: 1] - Test: re
##            3) [Value: 0] - Test: messag
##               4) [Value: 0] - Test: dear
##                  5) [Value: 0] - Test: free
##                     6) [Value: 1] - Test: awai
##                        7) [Value: 0] - Label: NO-SPAM
##                        7) [Value: 1] - Test: altern
##                           8) [Value: 0] - Label: SPAM
##                           8) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 0] - Test: beach
##                        7) [Value: 0] - Label: SPAM
##                        7) [Value: 1] - Label: NO-SPAM
##                  5) [Value: 1] - Label: NO-SPAM
##               4) [Value: 1] - Test: adult
##                  5) [Value: 1] - Label: SPAM
##                  5) [Value: 0] - Label: NO-SPAM
##            3) [Value: 1] - Test: web
##               4) [Value: 1] - Label: NO-SPAM
##               4) [Value: 0] - Test: emailaddr
##                  5) [Value: 1] - Label: SPAM
##                  5) [Value: 0] - Test: attent
##                     6) [Value: 0] - Test: describ
##                        7) [Value: 0] - Label: SPAM
##                        7) [Value: 1] - Label: NO-SPAM
##                     6) [Value: 1] - Label: NO-SPAM
##      1) [Value: 1] - Test: explain
##         2) [Value: 0] - Test: mayb
##            3) [Value: 0] - Test: atheist
##               4) [Value: 0] - Test: observ
##                  5) [Value: 0] - Label: NO-SPAM
##                  5) [Value: 1] - Label: SPAM
##               4) [Value: 1] - Label: SPAM
##            3) [Value: 1] - Test: free
##               4) [Value: 1] - Label: NO-SPAM
##               4) [Value: 0] - Label: SPAM
##         2) [Value: 1] - Label: SPAM
## [1] "NO-SPAM"