|
Experiments
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 4000
-E 0.01
-S 1770806844
-H 2
-M 0.01
Input Weights:
0.871279487186913 -0.2832689291407129 age
-0.05316404611515746 0.6861025680937249 workclass=Private
-0.9702475113403692 -0.9522189241044083 workclass=Self-emp-not-inc
0.4816413080414952 -0.4505095873158915 workclass=Self-emp-inc
0.2666539094483229 0.11353700580405257 workclass=Federal-gov
-0.991543999230398 0.8837992201247882 workclass=Local-gov
-0.879758931970972 0.5014441857556475 workclass=State-gov
0.6280687678363499 0.024194432789314435 workclass=Without-pay
-0.2736552118927349 0.4739613774194531 workclass=Never-worked
0.987353489554605 -0.8665119648088229 fnlwgt
-0.5995469155579185 -0.9936783976610626 education=Bachelors
-0.28189144809328215 -0.7874402851854745 education=Some-college
0.05780660355373435 -0.18620095660403813 education=11th
0.45103510571111505 -0.9560856342471495 education=HS-grad
-0.35604125520318086 -0.045739044474033985 education=Prof-school
-0.3736018267495975 0.4825733982221838 education=Assoc-acdm
0.0240167956740045 0.5040834429973584 education=Assoc-voc
0.9706881979750326 -0.17447870620625094 education=9th
-0.8025092901677475 -0.3355348212492757 education=7th-8th
0.9057640578545618 -0.5686333160162702 education=12th
0.6286554177855179 0.40023712520207333 education=Masters
-0.22578583391847507 -0.25044494017122143 education=1st-4th
0.6146663177397329 -0.6223583068645921 education=10th
0.6664753054842281 -0.7790309468864061 education=Doctorate
-0.49582300443446137 -0.8218056817494928 education=5th-6th
0.9797995080858701 0.7403964900709452 education=Preschool
0.12047603256929329 -0.7566514416135599 education-num
0.3784115725715369 0.4812181064893497 marital-status=Married-civ-spouse
-0.32848811414881873 -0.9362857680967422 marital-status=Divorced
-0.5961394817147407 -0.32740879080575214 marital-status=Never-married
-0.17530926923016366 -0.8247686973586197 marital-status=Separated
-0.9559172799162781 0.5319616403417728 marital-status=Widowed
-0.5891617249865375 0.5649306450559655 marital-status=Married-spouse-absent
-0.35772544251937166 0.9772536811853196 marital-status=Married-AF-spouse
-0.33320743379741913 0.21642472217114195 occupation=Tech-support
-0.26073485776670036 -0.6963589985210641 occupation=Craft-repair
0.1410690554436833 -0.5704867758477354 occupation=Other-service
0.016389751316755463 -0.11677658201581353 occupation=Sales
0.8269870697979469 -0.9875305393187597 occupation=Exec-managerial
-0.7456522388399693 0.6497984914585588 occupation=Prof-specialty
-0.9485996496493476 -0.15335746541225248 occupation=Handlers-cleaners
0.05538316789924025 0.02655517070448532 occupation=Machine-op-inspct
0.7773086791520816 -0.8683266475233677 occupation=Adm-clerical
-0.5066903127271745 -0.25299583424781535 occupation=Farming-fishing
0.76147220969137 0.9003297190624728 occupation=Transport-moving
-0.5458845999589352 -0.7423726506991521 occupation=Priv-house-serv
-0.7262172192305729 0.30292462515560814 occupation=Protective-serv
-0.6014216840577462 -0.032849081581736606 occupation=Armed-Forces
-0.4926051125167781 0.45443974733863457 relationship=Wife
-0.09929270143986724 -0.7416429247680851 relationship=Own-child
0.4050631068163255 0.15854233770892412 relationship=Husband
-0.531153894133751 -0.015980384208847065 relationship=Not-in-family
0.2590972356584209 -0.9888945187902614 relationship=Other-relative
0.810643205497525 0.052712104835709095 relationship=Unmarried
0.31491391577498695 0.7748278656419583 race=White
-0.5767484546902293 -0.059530474300728775 race=Asian-Pac-Islander
-0.22984312639720095 -0.36695294342818485 race=Amer-Indian-Eskimo
-0.16571644431316201 -0.34808583303617846 race=Other
-0.5946384523633521 0.19555867371957536 race=Black
-0.7608418025962993 0.2545614743994995 sex
0.8444747665594876 0.7566405991660146 capital-gain
-0.9777538747800336 -0.07856934402938753 capital-loss
-0.2957084269842831 -0.7962551892284524 hours-per-week
0.6520937644653215 0.08237595586069979 native-country=United-States
-0.9251394059544893 0.6464070550451577 native-country=Cambodia
-0.26180408647662134 0.2900550310510319 native-country=England
0.6457220208838872 -0.12545447382035713 native-country=Puerto-Rico
0.2552394795234336 0.5822395885614704 native-country=Canada
0.9667972483261409 -0.6470789130937311 native-country=Germany
-0.19884109337813394 -0.8579207353457767 native-country=Outlying-US(Guam-USVI-etc)
-0.23706454784538433 0.8973224357302403 native-country=India
0.572188135442109 0.9395280459457389 native-country=Japan
-0.2936426760428983 0.3349673013946697 native-country=Greece
0.9195559883971725 0.6417652397464331 native-country=South
0.734106283954131 -0.7026166718084852 native-country=China
-0.09948324215710991 0.6131657388260439 native-country=Cuba
-0.1355535537588064 -0.6069000424100399 native-country=Iran
-0.7532713998449889 0.3350239722887094 native-country=Honduras
-0.15298744327660652 -0.9819512085988029 native-country=Philippines
-0.6649511328533082 -0.5456038455457464 native-country=Italy
-0.9497479395095503 -0.7644104257183713 native-country=Poland
0.8428084830596856 0.1564163421761262 native-country=Jamaica
-0.7361250577637786 -0.1587476521703728 native-country=Vietnam
0.17850868587777247 0.2253495331118618 native-country=Mexico
0.9349790936214881 -0.14093092038914912 native-country=Portugal
0.9703593931564092 0.4402908416029696 native-country=Ireland
-0.5306819901797075 -0.670037348370274 native-country=France
0.9335982121019069 -0.3906118719654108 native-country=Dominican-Republic
0.1626573439680583 -0.024981168955480637 native-country=Laos
-0.5187004250027443 -0.8069227160698982 native-country=Ecuador
-0.026096495365880656 -0.13170583224835108 native-country=Taiwan
0.24435589116071266 0.05716180053487885 native-country=Haiti
-0.5519919656475627 0.9495595494920297 native-country=Columbia
0.07018878184193822 -0.770541299700426 native-country=Hungary
0.7226359402618998 0.4552513142387131 native-country=Guatemala
0.5159843148416607 -0.24823946649328832 native-country=Nicaragua
0.6320610317997939 0.14784905781497537 native-country=Scotland
0.8740451655877408 -0.19165306552092165 native-country=Thailand
0.7222973307312304 0.6756295264723018 native-country=Yugoslavia
0.49116115837033747 -0.3966971089212623 native-country=El-Salvador
0.6244161291212305 -0.8142925108114298 native-country=Trinadad&Tobago
-0.20856759562096827 -0.8747097481121215 native-country=Peru
-0.8465824306625276 0.22667307033893414 native-country=Hong
-0.20282220445392518 0.49775328163991595 native-country=Holand-Netherlands
Hidden Weights:
-0.026362833873238234 -0.573855797497129
-0.3278573518260144 -0.47832960442492767
>50K <=50K
Error sum for iteration 100 = 75.00291317459235
Error sum for iteration 200 = 72.3049921136642
Error sum for iteration 300 = 69.18815780993152
Error sum for iteration 400 = 68.7946650972071
Error sum for iteration 500 = 69.3671554705347
Error sum for iteration 600 = 70.32551248804153
Error sum for iteration 700 = 71.36048413295255
Error sum for iteration 800 = 72.20580868665556
Error sum for iteration 900 = 72.77353582398108
Error sum for iteration 1000 = 73.14507817010254
Error sum for iteration 1100 = 73.3848102398176
Error sum for iteration 1200 = 73.482195004341
Error sum for iteration 1300 = 73.44892403868363
Error sum for iteration 1400 = 73.29117999398832
Error sum for iteration 1500 = 72.95284575755484
Error sum for iteration 1600 = 72.43800370011044
Error sum for iteration 1700 = 71.81846520954274
Error sum for iteration 1800 = 71.14293553430487
Error sum for iteration 1900 = 70.44504863805152
Error sum for iteration 2000 = 69.73809097824845
Error sum for iteration 2100 = 69.03330838762075
Error sum for iteration 2200 = 68.32841127571626
Error sum for iteration 2300 = 67.62307207267216
Error sum for iteration 2400 = 66.92041619692269
Error sum for iteration 2500 = 66.22547736990799
Error sum for iteration 2600 = 65.54788829576263
Error sum for iteration 2700 = 64.89798580796689
Error sum for iteration 2800 = 64.28501675718641
Error sum for iteration 2900 = 63.71009182803693
Error sum for iteration 3000 = 63.17372804861564
Error sum for iteration 3100 = 62.66930545573517
Error sum for iteration 3200 = 62.19283463416666
Error sum for iteration 3300 = 61.743512560044095
Error sum for iteration 3400 = 61.314637253508224
Error sum for iteration 3500 = 60.905742068528575
Error sum for iteration 3600 = 60.518038035253504
Error sum for iteration 3700 = 60.15165926918355
Error sum for iteration 3800 = 59.801671561535386
Error sum for iteration 3900 = 59.46804368103255
Options: -I 4000
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 4000
-E 0.01
-S 1770806844
-H 2
-M 0.01
Input Weights:
1.7451268732197782 -0.4798770949349589 age
-1.2082248226538008 0.3951081547421587 workclass=Private
-1.303492013267259 -2.9138292474914356 workclass=Self-emp-not-inc
-1.1900863186522885 2.283345470239665 workclass=Self-emp-inc
1.270275541569232 -0.29477114095695384 workclass=Federal-gov
-0.6793017732646601 -0.28590479533140123 workclass=Local-gov
-1.295310192768127 0.3899374706757613 workclass=State-gov
0.4666601744170724 -0.06211046410214504 workclass=Without-pay
-0.4350638053120326 0.38765648052798596 workclass=Never-worked
0.9139070657651405 -1.6896918441891329 fnlwgt
0.07045355480026257 -1.1883996337663638 education=Bachelors
-0.9280891828810197 0.2883683735826106 education=Some-college
-2.7091380843716943 -1.5862713941238191 education=11th
0.16835651350970293 -2.7264674755660456 education=HS-grad
3.020067886551496 1.8921664247806593 education=Prof-school
-1.7251308274366273 1.2373061886087093 education=Assoc-acdm
-0.5316340126202244 1.4357182648219642 education=Assoc-voc
-1.3852121150424037 -1.4464684568027693 education=9th
1.128265830818463 0.30214281946179466 education=7th-8th
4.119654675979314 -0.8051643309934298 education=12th
-1.1987138044838652 -0.3893983624251876 education=Masters
-1.5237241312054763 -0.9891786900057387 education=1st-4th
-1.1953516440686096 -1.4215732600971522 education=10th
1.9248057525434439 -0.3039893431177959 education=Doctorate
-1.5572532798481296 -1.295159722648609 education=5th-6th
0.6125443614319475 0.5309104920740219 education=Preschool
2.5078261167138085 1.3441170255647497 education-num
1.1489839098814356 1.3695800243857024 marital-status=Married-civ-spouse
-0.4640148999911708 -2.568753481519849 marital-status=Divorced
-1.2434696582587697 1.1839295962926066 marital-status=Never-married
-0.6244402753592933 -0.9400014047481311 marital-status=Separated
-2.19485105608007 -0.7089699729631543 marital-status=Widowed
-1.077105820958616 -0.024195884865894753 marital-status=Married-spouse-absent
-0.5905608404669516 0.8607384868583843 marital-status=Married-AF-spouse
0.3093578814049565 -0.2774062886383367 occupation=Tech-support
0.11409284300777932 -0.29965609907125934 occupation=Craft-repair
-0.1828775501589211 -0.3106589856965938 occupation=Other-service
0.30097354889778133 -1.6033100043782997 occupation=Sales
0.930160843108735 0.1060538166283032 occupation=Exec-managerial
-2.2220027278425842 2.3463648119583036 occupation=Prof-specialty
-1.9045464211233751 -1.1970666685553053 occupation=Handlers-cleaners
0.33299399400752494 0.1361076001186824 occupation=Machine-op-inspct
-0.4133532061776522 0.26158512995056354 occupation=Adm-clerical
-0.8492294349404036 0.44131029579916653 occupation=Farming-fishing
-1.8977230366531967 -1.5143858146711022 occupation=Transport-moving
-0.7072931933782048 -0.8286775475905445 occupation=Priv-house-serv
1.3073191271999287 -1.3653486728910804 occupation=Protective-serv
-0.758659785303272 -0.1186411511895978 occupation=Armed-Forces
0.4649523358673229 -1.016608423503979 relationship=Wife
-1.8215615247809687 -1.947798258014028 relationship=Own-child
0.3248566227714597 0.7963571797677196 relationship=Husband
0.3025667588746392 -1.3449700474979658 relationship=Not-in-family
-1.2427423816927998 0.2412002904489777 relationship=Other-relative
0.063959720972214 0.9827270644350583 relationship=Unmarried
0.9072432661807717 -1.2256366128015228 race=White
-1.0108454073709696 1.208183216099965 race=Asian-Pac-Islander
-1.0642179478261085 -0.7295211901340319 race=Amer-Indian-Eskimo
-1.6911417482560962 -0.9660604152074905 race=Other
-0.49138243916728025 0.7868886310506231 race=Black
-0.8906753425475191 0.17276539448318068 sex
0.943456586745681 0.4050808994308833 capital-gain
4.099206278093264 2.060049178123995 capital-loss
1.352360670799594 -0.24649871383699926 hours-per-week
-0.9073343844670341 0.6170109831028483 native-country=United-States
3.6760012028898497 1.420369445541399 native-country=Cambodia
-0.8428749032935918 0.09404394952861729 native-country=England
-1.5679680103780573 -1.4450592146497683 native-country=Puerto-Rico
1.2835842264021957 0.7645090039366508 native-country=Canada
0.6146562956719983 -0.802743975843572 native-country=Germany
-0.3602496867974295 -0.944225632237169 native-country=Outlying-US(Guam-USVI-etc)
0.8702787684849228 1.198987247376276 native-country=India
0.4107795420228302 0.8532231490543466 native-country=Japan
-0.455051269462196 0.24866240450320937 native-country=Greece
1.3257789367579211 0.8481338085536729 native-country=South
0.5726976905348614 -0.7889215686998775 native-country=China
-2.572143474397168 -0.5860116640211394 native-country=Cuba
0.6948474302197146 -0.19768023939284968 native-country=Iran
-0.5567837316183383 0.3198967513544767 native-country=Honduras
-0.7682623890392766 -1.0990054069755244 native-country=Philippines
-0.8234948552901438 -0.6307058164154234 native-country=Italy
-2.270896950692765 -1.0540573876566717 native-country=Poland
0.6686736978427865 0.06163961567323637 native-country=Jamaica
-0.8975336511830482 -0.24505254906185453 native-country=Vietnam
0.5401206944537171 0.5059171024134037 native-country=Mexico
-1.1089450430546877 -1.294415145151986 native-country=Portugal
0.8089507997371396 0.35398594471150246 native-country=Ireland
-0.7199689531988187 -0.7582399638707624 native-country=France
0.7826985340259832 -0.4767637381206102 native-country=Dominican-Republic
-1.0153916972560448 -0.6222598610131183 native-country=Laos
-1.6532261307395555 -1.178098291901288 native-country=Ecuador
0.8761225120827518 0.414504403469215 native-country=Taiwan
0.08456032924686019 -0.024616456188504856 native-country=Haiti
-0.7683869176182786 0.8011022239722532 native-country=Columbia
-0.0912198115773375 -0.8568461965918183 native-country=Hungary
0.5612273468426302 0.368946417347246 native-country=Guatemala
0.35457572142237503 -0.3345443633847641 native-country=Nicaragua
0.4706524383805082 0.061544160923507826 native-country=Scotland
0.6358750990547632 -0.2767023733889626 native-country=Thailand
0.5608887373119608 0.5893246295809095 native-country=Yugoslavia
0.32863644512619267 -0.4822181938436911 native-country=El-Salvador
0.46300753570194886 -0.9005974077028222 native-country=Trinadad&Tobago
-0.36997618904026564 -0.9610146450035139 native-country=Peru
-1.0079910240818344 0.1403681734474524 native-country=Hong
-0.36423079787322576 0.411448384748463 native-country=Holand-Netherlands
Hidden Weights:
6.709429769090797 -6.709428960930889
4.824815275528191 -4.824814797397404
>50K <=50K
=== Error on training data ===
Correctly Classified Instances 470 91.2621 %
Incorrectly Classified Instances 45 8.7379 %
Mean absolute error 0.209
Root mean squared error 0.2775
Relative absolute error 60.5368 %
Root relative squared error 66.8388 %
Total Number of Instances 515
=== Confusion Matrix ===
a b <-- classified as
83 31 | a = >50K
14 387 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 13065 80.2469 %
Incorrectly Classified Instances 3216 19.7531 %
Mean absolute error 0.2726
Root mean squared error 0.3733
Relative absolute error 77.1019 %
Root relative squared error 87.8277 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
1872 1974 | a = >50K
1242 11193 | b = <=50K
|
|
|