|
Experiments
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 6000
-E 0.0112
-S 1772328645
-H 2
-M 0.01
Input Weights:
0.09488353167419361 -0.4023604389232953 age
0.8490814226040728 0.9140288538554597 workclass=Private
-0.3570405846834941 0.5623416103828438 workclass=Self-emp-not-inc
-0.03550766907814906 0.509227314985327 workclass=Self-emp-inc
0.08494175251785041 -0.4411782711466794 workclass=Federal-gov
0.9020004718542689 0.4000337367693583 workclass=Local-gov
0.11799305801794358 0.289239091870406 workclass=State-gov
-0.6522621368122161 0.309059681398548 workclass=Without-pay
-0.04059252121522228 0.8586442165655352 workclass=Never-worked
-0.06208607183806847 0.6532551193808982 fnlwgt
0.6507548260815039 0.40039471666718907 education=Bachelors
-0.06762868363050734 0.9956304897116428 education=Some-college
0.09223910002224822 -0.33863413135684106 education=11th
-0.8409767111305941 0.8351159480132717 education=HS-grad
-0.8708138053099106 -0.5517115233888896 education=Prof-school
0.5802668573811114 -0.6030888282318261 education=Assoc-acdm
0.001565206202413405 0.49698490624947733 education=Assoc-voc
-0.0748480209158966 0.10323356215478174 education=9th
-0.29075285779278826 0.7190127571527858 education=7th-8th
0.9041275392716752 0.045830044226932154 education=12th
-0.02492369694563701 -0.44434625896369995 education=Masters
-0.8667957201996819 0.494240934846373 education=1st-4th
-0.3917111090644787 0.19644618848093498 education=10th
0.3167792253939805 0.1736099929569117 education=Doctorate
-0.7453694028602111 0.2864400906213016 education=5th-6th
0.9672848651599668 -0.3824088818658238 education=Preschool
-0.6922921048105484 0.2596980434728109 education-num
-0.8118447933869677 -0.30088250737095823 marital-status=Married-civ-spouse
-0.34157002937978165 0.1216620866647462 marital-status=Divorced
-0.7540191229537379 0.786749744282577 marital-status=Never-married
-0.04562991914367065 0.1039965124062785 marital-status=Separated
-0.0414562729994854 0.6580105739576507 marital-status=Widowed
-0.924235937004821 -0.4047087758316903 marital-status=Married-spouse-absent
-0.30317714237198934 -0.9166814190784649 marital-status=Married-AF-spouse
0.02568611327166015 -0.20878995451045368 occupation=Tech-support
0.12893513904109466 -0.8966381238258252 occupation=Craft-repair
0.7634611788382166 -0.9913178148677655 occupation=Other-service
-0.9710416821215131 0.6562770255211461 occupation=Sales
0.5361086363541898 -0.8102936959121716 occupation=Exec-managerial
0.5590723689907193 0.034825503354956044 occupation=Prof-specialty
-0.1951763175459258 -0.8808451924535887 occupation=Handlers-cleaners
-0.3464149696803098 -0.6973346144403103 occupation=Machine-op-inspct
0.21321280347648708 -0.1457313337024586 occupation=Adm-clerical
-0.5489271307067904 0.37630561939586293 occupation=Farming-fishing
-0.5390316555285715 -0.9132815329226471 occupation=Transport-moving
-0.6822906428037911 -0.9423221972321085 occupation=Priv-house-serv
-0.8405873050594517 -0.8746936521109281 occupation=Protective-serv
0.7812565892161347 0.42247637918173964 occupation=Armed-Forces
-0.5488688577231244 -0.8885049902887203 relationship=Wife
-0.2296918632104279 0.14127033184674254 relationship=Own-child
-0.4592436383725802 -0.6073900472748899 relationship=Husband
-0.23492015391278054 0.5123924026877045 relationship=Not-in-family
-0.5573624854273072 0.8291620759424225 relationship=Other-relative
-0.1290104470780178 0.1650333142304352 relationship=Unmarried
0.8071330375343764 -0.42758147492522824 race=White
-0.8001596292203286 0.9638207266971746 race=Asian-Pac-Islander
0.21287897708748615 -0.39599560052861005 race=Amer-Indian-Eskimo
0.2797645653216647 0.9972146066499532 race=Other
0.8486163632122277 0.3875821253883176 race=Black
-0.7729147841145363 -0.4851851567969183 sex
0.06477854023592289 -0.6310742694546638 capital-gain
-0.967445578883056 0.115423651398747 capital-loss
-0.6694409244894881 0.019117157015999586 hours-per-week
-0.8085823269024734 -0.3305576077658372 native-country=United-States
-0.866133045967278 0.6090404525875943 native-country=Cambodia
-0.0894234035103123 -0.3543145310961082 native-country=England
-0.7745565959931398 0.11346898533714866 native-country=Puerto-Rico
-0.15533403958451975 -0.5675306338568653 native-country=Canada
-0.7807664762649626 -0.5297713688120878 native-country=Germany
0.5527674177536832 0.5931542547193307 native-country=Outlying-US(Guam-USVI-etc)
-0.7276154764039384 -0.016688535082570066 native-country=India
-0.8458581875697746 0.9431926797036376 native-country=Japan
-0.2977451404134055 0.7963051205642948 native-country=Greece
0.7389139867833787 0.013937865742782884 native-country=South
-0.25442766099653635 -0.8692717911810199 native-country=China
-0.5790177187883137 -0.5184942546381779 native-country=Cuba
0.9861461113520424 0.1582176560898252 native-country=Iran
-0.8128151494878748 -0.9408758363129515 native-country=Honduras
0.5008301108838191 0.9501368401312356 native-country=Philippines
-0.7006656574765415 -0.7803298405553492 native-country=Italy
-0.30398012290390364 -0.36404485784196283 native-country=Poland
-0.4367364218064498 -0.058758923146386755 native-country=Jamaica
-0.20514336673536882 -0.36566759323707854 native-country=Vietnam
-0.3705932011770432 0.9311590380860502 native-country=Mexico
0.6232783341000676 -0.7513865432287776 native-country=Portugal
-0.8106938738067877 -0.06997669901962356 native-country=Ireland
0.8346113155310075 -0.08945761184607215 native-country=France
0.7571806954267342 -0.35667336047505405 native-country=Dominican-Republic
-0.9201950072213259 0.5003304284520618 native-country=Laos
-0.8305430411098096 0.4784984154591465 native-country=Ecuador
0.4146910093347824 -0.7255997034026322 native-country=Taiwan
-0.7891663020088386 -0.06644892024468363 native-country=Haiti
-0.053437072107050065 0.5195683995276645 native-country=Columbia
0.3146763758889235 -0.48795356465566164 native-country=Hungary
0.3384380730809511 0.8682623658646775 native-country=Guatemala
-0.7612995241427811 -0.7811139182084457 native-country=Nicaragua
0.2578469912970518 0.7164882174237992 native-country=Scotland
-0.6468549910032202 0.7822273363371595 native-country=Thailand
-0.40608958224483005 0.06630504344046462 native-country=Yugoslavia
-0.21414339003700777 0.9771493084823342 native-country=El-Salvador
0.6565785357217444 0.7679234864055404 native-country=Trinadad&Tobago
0.4535293419627813 -0.006188822647281711 native-country=Peru
-0.531265660332148 -0.8176412186136386 native-country=Hong
-0.003820792759210434 0.3627651597701733 native-country=Holand-Netherlands
Hidden Weights:
0.06690575892645967 -0.8424127806741786
0.938251904365798 0.5074479974443411
>50K <=50K
Error sum for iteration 100 = 66.09731093616472
Error sum for iteration 200 = 63.99234358583732
Error sum for iteration 300 = 62.591911107086354
Error sum for iteration 400 = 62.80019405849959
Error sum for iteration 500 = 63.15031205001973
Error sum for iteration 600 = 63.24730510501843
Error sum for iteration 700 = 63.25521630438701
Error sum for iteration 800 = 63.28481882031661
Error sum for iteration 900 = 63.36686213713882
Error sum for iteration 1000 = 63.4946378729399
Error sum for iteration 1100 = 63.64356619508417
Error sum for iteration 1200 = 63.79108349094009
Error sum for iteration 1300 = 63.96151502170209
Error sum for iteration 1400 = 64.15556478709385
Error sum for iteration 1500 = 64.21590305239839
Error sum for iteration 1600 = 64.06591584855828
Error sum for iteration 1700 = 63.82276784823447
Error sum for iteration 1800 = 63.56761809827219
Error sum for iteration 1900 = 63.331748623275686
Error sum for iteration 2000 = 63.12949019091538
Error sum for iteration 2100 = 62.96861890881377
Error sum for iteration 2200 = 62.85142268861097
Error sum for iteration 2300 = 62.77496168220058
Error sum for iteration 2400 = 62.734356433007115
Error sum for iteration 2500 = 62.71974688483273
Error sum for iteration 2600 = 62.721847560034114
Error sum for iteration 2700 = 62.733244407294464
Error sum for iteration 2800 = 62.74919036074054
Error sum for iteration 2900 = 62.766965733883595
Error sum for iteration 3000 = 62.785162115320496
Error sum for iteration 3100 = 62.80411856211437
Error sum for iteration 3200 = 62.82425673749137
Error sum for iteration 3300 = 62.846445289288305
Error sum for iteration 3400 = 62.87237352384447
Error sum for iteration 3500 = 62.90487356432812
Error sum for iteration 3600 = 62.94940477990496
Error sum for iteration 3700 = 63.008510346531644
Error sum for iteration 3800 = 63.08680178070135
Error sum for iteration 3900 = 63.18047806823226
Error sum for iteration 4000 = 63.28416822330525
Error sum for iteration 4100 = 63.38739516911827
Error sum for iteration 4200 = 63.45938189310016
Error sum for iteration 4300 = 63.460485995036706
Error sum for iteration 4400 = 63.35658316107886
Error sum for iteration 4500 = 63.13129147500575
Error sum for iteration 4600 = 62.79242856730788
Error sum for iteration 4700 = 62.36183439536539
Error sum for iteration 4800 = 61.86747162874895
Error sum for iteration 4900 = 61.33149981587307
Error sum for iteration 5000 = 60.77128679735621
Error sum for iteration 5100 = 60.20224362551708
Error sum for iteration 5200 = 59.63570456648639
Error sum for iteration 5300 = 59.07695588658322
Error sum for iteration 5400 = 58.52902049458437
Error sum for iteration 5500 = 57.995160494836504
Error sum for iteration 5600 = 57.476954360294926
Error sum for iteration 5700 = 56.98153389030761
Error sum for iteration 5800 = 56.50539379783886
Error sum for iteration 5900 = 56.047153212469375
Error sum for iteration 6000 = 55.608289784648946
Options: -I 6000
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 6000
-E 0.0112
-S 1772328645
-H 2
-M 0.01
Input Weights:
0.22347330758485098 -1.4746315196306388 age
-0.02271280012573578 1.1495277388016176 workclass=Private
-0.2064053917162527 2.14303462831755 workclass=Self-emp-not-inc
-1.2193016837519188 0.13652539624548254 workclass=Self-emp-inc
0.33173324736082116 -0.997725989174366 workclass=Federal-gov
-1.0188715079156563 0.6126776491519246 workclass=Local-gov
2.643823737594621 1.9393777159376364 workclass=State-gov
-0.7274909117969814 0.5054685958673147 workclass=Without-pay
-0.11582129619998748 1.0550531310343052 workclass=Never-worked
0.7116598301233283 0.4811886485914089 fnlwgt
0.7178180957527417 0.608032403684352 education=Bachelors
-0.8789949489344393 0.6156648144158374 education=Some-college
-0.1587557862392952 3.6042181773296456 education=11th
-1.1458192950983952 0.6734862620642149 education=HS-grad
-0.8247394927306927 -4.399968714642696 education=Prof-school
-0.8693705122062463 0.37001078879387606 education=Assoc-acdm
-1.0308734686389158 -0.2650477890489747 education=Assoc-voc
-0.2682784090537201 2.308917727395344 education=9th
-0.4259959201579712 -0.6298973673553901 education=7th-8th
0.840435147664368 -3.9001616161643606 education=12th
2.8920275904109185 2.657767447851891 education=Masters
-0.9688793420552599 2.210637293788805 education=1st-4th
-0.5429412723178252 2.1344091762099042 education=10th
0.22450989073428365 -1.3712551367204138 education=Doctorate
-0.8851256894117444 2.539192038863811 education=5th-6th
0.8586904243112742 -0.015441551941067916 education=Preschool
-0.13323705420757934 -3.06003766032782 education-num
0.24411456336094522 -2.913668977616984 marital-status=Married-civ-spouse
0.07743586652250549 0.5458666662044844 marital-status=Divorced
-1.0644417689621561 1.401002332000941 marital-status=Never-married
-0.8379285320814008 0.8641596029616727 marital-status=Separated
-1.0907254049144381 2.5066298014914308 marital-status=Widowed
-1.2915096190461053 1.094121515637289 marital-status=Married-spouse-absent
-0.3873099468913165 -0.5038310086165317 marital-status=Married-AF-spouse
-0.9935352701437187 -0.4267002585144277 occupation=Tech-support
-1.5822123679024391 -0.6402992110806699 occupation=Craft-repair
-0.1844349021177388 -0.5427744832545173 occupation=Other-service
-0.39983284800277175 0.012390683575909542 occupation=Sales
2.501389703252896 -0.9746551442498473 occupation=Exec-managerial
2.4505286995478675 0.8238666387316164 occupation=Prof-specialty
-0.3461682557011235 1.4078368777872727 occupation=Handlers-cleaners
-0.8948183731259738 -0.9512300472731446 occupation=Machine-op-inspct
-0.4913319459212964 -0.06751737210864124 occupation=Adm-clerical
-0.992475582609479 -0.26531468161689253 occupation=Farming-fishing
-0.6683425015249624 1.7281982810098422 occupation=Transport-moving
-0.7575194177885565 -0.7459132827632505 occupation=Priv-house-serv
-1.120964515366085 -1.5325032407200843 occupation=Protective-serv
0.7089476534811746 0.6242477742657301 occupation=Armed-Forces
-3.0588941820218256 -0.12003718527693112 relationship=Wife
-0.951924172863079 2.613898247318254 relationship=Own-child
0.19669714665332616 -0.3062412081251997 relationship=Husband
0.04038352335459203 -1.339847451791785 relationship=Not-in-family
0.810439688468855 0.19888404269438628 relationship=Other-relative
-0.24900229910253316 1.8550314448879222 relationship=Unmarried
-0.9183246110506339 -0.33161537330452 race=White
-1.3631943857595623 -0.2786739447915716 race=Asian-Pac-Islander
0.108750424229694 1.5139451822082501 race=Amer-Indian-Eskimo
0.14596728036100673 2.564134265212248 race=Other
2.3970605313533127 0.6105661420512248 race=Black
-0.7702705681433395 0.6998446264783674 sex
0.24287801587220112 -1.243448204388819 capital-gain
-0.880089786891027 -3.758180282103782 capital-loss
1.2874741216542163 -0.764265801205341 hours-per-week
-0.08820733543085614 0.32786662181078896 native-country=United-States
-0.9368825456863494 -3.3469107153746513 native-country=Cambodia
-0.4131735430034333 0.623312907513673 native-country=England
-0.9107330011588831 2.663409594107966 native-country=Puerto-Rico
-0.22468373291303978 -1.6678226632037045 native-country=Canada
-1.1957431763794777 0.09565346414886071 native-country=Germany
0.4775386427689421 0.7895631691881887 native-country=Outlying-US(Guam-USVI-etc)
-0.5673950615671611 -1.9237488854223348 native-country=India
-0.9210869625545399 1.1396015941723547 native-country=Japan
-0.37297391539818225 0.9927140350331528 native-country=Greece
0.6862116641628355 -1.39677358226501 native-country=South
-0.32965643598133143 -0.6728628767121619 native-country=China
-1.0519588495461756 2.7813540260885103 native-country=Cuba
0.7503854713705779 0.14518611613471036 native-country=Iran
-0.8889660006492582 -0.7847860115045739 native-country=Honduras
0.31803346328265825 1.3612529500037605 native-country=Philippines
-0.7741485587954123 -0.580197480034862 native-country=Italy
-0.43531600553358263 2.0949581177394743 native-country=Poland
-0.5377326997051715 0.15769313584716643 native-country=Jamaica
-0.28037214172012037 -0.16925867876828277 native-country=Vietnam
-0.4652729605867385 -1.3296694726676657 native-country=Mexico
0.3590757359858966 2.304105038591767 native-country=Portugal
-0.885922648791553 0.12643221544916655 native-country=Ireland
0.6835340807924203 0.1802876386216071 native-country=France
0.6849102173780952 -0.1599729899794957 native-country=Dominican-Republic
-1.0028945194954642 1.6526674257460474 native-country=Laos
-0.9374978668222236 2.0348557828229685 native-country=Ecuador
0.3875524109081116 -1.0444654700571094 native-country=Taiwan
-0.8605265213296251 0.12839513826304264 native-country=Haiti
-0.1481623512361735 0.7663997364124244 native-country=Columbia
0.2394476009041549 -0.2915446501869003 native-country=Hungary
0.2632092980961743 1.064671280333402 native-country=Guatemala
-0.8365282991275464 -0.5847050037395877 native-country=Nicaragua
0.18261821631232517 0.9128971318926572 native-country=Scotland
-0.7077531708590479 0.0013341244744926233 native-country=Thailand
-0.4813183572296068 0.2627139579092465 native-country=Yugoslavia
-0.28534136900668977 1.176320742047609 native-country=El-Salvador
0.5813497607369791 0.9643324008743984 native-country=Trinadad&Tobago
0.3783005669780045 0.19022009182152483 native-country=Peru
-0.6064944353169133 -0.6212323041447806 native-country=Hong
-0.07904956774396964 0.5591740742390124 native-country=Holand-Netherlands
Hidden Weights:
4.407338143864617 -4.407374907527086
-6.233910872930712 6.233961494483889
>50K <=50K
=== Error on training data ===
Correctly Classified Instances 471 91.4563 %
Incorrectly Classified Instances 44 8.5437 %
Mean absolute error 0.2105
Root mean squared error 0.278
Relative absolute error 60.9445 %
Root relative squared error 66.9629 %
Total Number of Instances 515
=== Confusion Matrix ===
a b <-- classified as
81 33 | a = >50K
11 390 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 13008 79.8968 %
Incorrectly Classified Instances 3273 20.1032 %
Mean absolute error 0.2723
Root mean squared error 0.3739
Relative absolute error 77.0202 %
Root relative squared error 87.9892 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
1804 2042 | a = >50K
1231 11204 | b = <=50K
|
|
|