|
Experiments
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 5000
-E 0.01
-S 1767782328
-H 2
-M 0.01
Input Weights:
0.20095830188376396 -0.5862458214426238 age
0.7910117537282142 -0.5311055197190562 workclass=Private
-0.3947660259185737 0.6458506777265833 workclass=Self-emp-not-inc
-0.8061887258113736 0.4151453344406739 workclass=Self-emp-inc
0.8663723330422124 -3.139264888074589E-4 workclass=Federal-gov
0.9116509284892493 0.0341955044918707 workclass=Local-gov
-0.8146692271374338 -0.3811993362772439 workclass=State-gov
-0.9674956055933022 0.7877263026213719 workclass=Without-pay
0.6584613013640568 0.10466181762182658 workclass=Never-worked
-0.3900404121034553 0.38094511255393093 fnlwgt
-0.7408013027100266 0.8129949072533513 education=Bachelors
-0.7867876738202508 -0.18768044412559548 education=Some-college
-0.00362926899035787 -0.46427050513929213 education=11th
0.03446723532447771 -0.8997139102558414 education=HS-grad
-0.2606758241092204 -0.06484536906174365 education=Prof-school
0.4729740914085414 0.43229881293490413 education=Assoc-acdm
-0.1788372974043564 0.33205361819256374 education=Assoc-voc
-0.4046550352819138 0.7884785188729788 education=9th
-0.6283917234999425 0.6294657264338412 education=7th-8th
0.5683978521218322 0.5360970028838057 education=12th
-0.5920885779859435 0.12400708931904725 education=Masters
0.9505143872318955 -0.8477252746709496 education=1st-4th
-0.1128301454815257 -0.8431759113114945 education=10th
0.5810841644106621 0.03439915543832095 education=Doctorate
-0.598551598849711 0.5194562665038012 education=5th-6th
-0.710512215783462 -0.43152598263920794 education=Preschool
0.027059568409716572 0.3831037560685673 education-num
0.4134497146170715 0.35620654909962024 marital-status=Married-civ-spouse
0.4138314672131751 -0.5162694228779634 marital-status=Divorced
-0.5765758823257714 -0.7927845727549072 marital-status=Never-married
-0.24450176386316302 0.18454086942375758 marital-status=Separated
-0.8593369312737382 -0.5178815764424118 marital-status=Widowed
0.3985643849058418 -0.2401529479038571 marital-status=Married-spouse-absent
0.05121159622679117 -0.7319807390312292 marital-status=Married-AF-spouse
-0.052044422987555405 0.3021558353480345 occupation=Tech-support
-0.9105196621580174 -0.8336175223327935 occupation=Craft-repair
-0.4189529169988875 0.6431371394632601 occupation=Other-service
-0.3797816188431187 -0.9954575404836676 occupation=Sales
-0.5014122255318472 -0.21153819318736278 occupation=Exec-managerial
-0.0926525151346036 0.21996706964364643 occupation=Prof-specialty
-0.023310689240500393 -0.12049771330837822 occupation=Handlers-cleaners
0.43667835198613614 -0.9715354594950272 occupation=Machine-op-inspct
0.1372568609174094 0.4885385888986793 occupation=Adm-clerical
0.4652145878388112 0.6351116974776476 occupation=Farming-fishing
-0.5324255594466418 0.09910219171792933 occupation=Transport-moving
-0.8954904282044813 -0.1151245896613482 occupation=Priv-house-serv
-0.7204435194113348 0.4838764308861103 occupation=Protective-serv
0.20508448215996689 -0.07248447884123066 occupation=Armed-Forces
0.03551227961908743 0.027358470064185125 relationship=Wife
-0.017311201937407317 -0.9190118395575333 relationship=Own-child
0.9539726731747429 -0.8987755417109708 relationship=Husband
-0.5016029841315359 -0.6444733674697856 relationship=Not-in-family
0.06377370252677528 0.7327334617515417 relationship=Other-relative
0.15013555232639209 -0.37304575771179205 relationship=Unmarried
0.25851169192611856 -0.049994525679204926 race=White
0.7239281362560861 -0.3536016522475276 race=Asian-Pac-Islander
-0.37824728369654537 -0.6241762543699494 race=Amer-Indian-Eskimo
-0.6466138571108977 -0.2879894347257228 race=Other
-0.10517145906602798 0.5006870496791553 race=Black
0.10396140405235732 -0.4821191245408454 sex
-0.6637456751418971 -0.6831159461265102 capital-gain
0.5861664570011993 0.3911418043683652 capital-loss
0.11109516281438436 -0.04717237358474313 hours-per-week
0.8550667834672847 -0.370878914357998 native-country=United-States
-0.1699395990780761 0.018977046921320184 native-country=Cambodia
0.3113006932275586 0.09689442479453425 native-country=England
-0.14445171878588892 -0.43465644918326074 native-country=Puerto-Rico
0.9149008712833422 -0.371954372419645 native-country=Canada
-0.22712123501464232 0.9515218884231444 native-country=Germany
-0.1157788070668504 -0.5820689372964829 native-country=Outlying-US(Guam-USVI-etc)
-0.8991386873038001 -0.7671279914341587 native-country=India
-0.6009800067421238 0.6831055847098697 native-country=Japan
0.3417326030673846 0.6540921647428952 native-country=Greece
-0.526327490313871 0.9003685497871263 native-country=South
0.14518774125877565 0.8909319184290201 native-country=China
-0.9782242978494817 0.29546412079898565 native-country=Cuba
0.3273027585460686 -0.7371068173525865 native-country=Iran
0.6990311248766619 0.6298947313712797 native-country=Honduras
-0.7710742695424244 -0.6810857898729501 native-country=Philippines
0.9829414865534254 0.28341249299513893 native-country=Italy
-0.7503137389151657 0.13242495573994684 native-country=Poland
0.3149903895614521 -0.9578872578066597 native-country=Jamaica
-0.9730422021811649 0.08375991866168753 native-country=Vietnam
0.27679586045707594 0.6140011943674804 native-country=Mexico
-0.3385111262569389 -0.2975826520438647 native-country=Portugal
0.573188227257444 -0.214485007684871 native-country=Ireland
-0.5156780651023203 0.7285130455386217 native-country=France
-0.9770337086139047 -0.7724219894103705 native-country=Dominican-Republic
0.3181225898836333 0.4652002814260494 native-country=Laos
0.3766836151815569 -0.4740586232660189 native-country=Ecuador
-0.9410260216582274 0.8587638855267601 native-country=Taiwan
-0.751583204511389 -0.8408735711709834 native-country=Haiti
-0.9153688074926534 -0.21874919469846055 native-country=Columbia
-0.9829847966634668 0.33333031527671064 native-country=Hungary
0.7185036239282054 -0.4836745903316715 native-country=Guatemala
0.5675390043217505 -0.8939978879945647 native-country=Nicaragua
0.3253214188053486 -0.6292629078856697 native-country=Scotland
-0.8550951196707866 -0.26897674980886976 native-country=Thailand
-0.9916293890606969 0.15331444392328786 native-country=Yugoslavia
0.4123852790936333 0.12486725017663414 native-country=El-Salvador
0.08692891543359793 0.5764571980762583 native-country=Trinadad&Tobago
-0.32550462313430883 -0.3851625309787552 native-country=Peru
0.16742971215145053 0.6311373012234838 native-country=Hong
0.8576614044731075 -0.6386736325972759 native-country=Holand-Netherlands
Hidden Weights:
0.5573414140668491 0.06357470556348943
0.6122165531880257 -0.03229310171985533
>50K <=50K
Error sum for iteration 100 = 796.258428350147
Error sum for iteration 200 = 793.9230451423309
Error sum for iteration 300 = 776.2028838678717
Error sum for iteration 400 = 762.1002406698312
Error sum for iteration 500 = 751.7800639436656
Error sum for iteration 600 = 744.0810546590038
Error sum for iteration 700 = 738.3319430088983
Error sum for iteration 800 = 733.9342445706579
Error sum for iteration 900 = 730.4525631609969
Error sum for iteration 1000 = 727.6644911855894
Error sum for iteration 1100 = 725.450440967266
Error sum for iteration 1200 = 723.7370131484283
Error sum for iteration 1300 = 722.4612826491548
Error sum for iteration 1400 = 721.5745926583389
Error sum for iteration 1500 = 721.0285584106371
Error sum for iteration 1600 = 720.7720497039827
Error sum for iteration 1700 = 720.7539244916012
Error sum for iteration 1800 = 720.9090801370028
Error sum for iteration 1900 = 721.1733197334664
Error sum for iteration 2000 = 721.4927012257825
Error sum for iteration 2100 = 721.8430273475599
Error sum for iteration 2200 = 722.1825620354151
Error sum for iteration 2300 = 722.3935975271512
Error sum for iteration 2400 = 722.2736196279733
Error sum for iteration 2500 = 721.5574746705519
Error sum for iteration 2600 = 720.0987956116393
Error sum for iteration 2700 = 717.9819324357752
Error sum for iteration 2800 = 715.4261939456662
Error sum for iteration 2900 = 712.6275991371507
Error sum for iteration 3000 = 709.7227417527287
Error sum for iteration 3100 = 706.7930573241944
Error sum for iteration 3200 = 703.884577552921
Error sum for iteration 3300 = 701.0194443223867
Error sum for iteration 3400 = 698.2077066731166
Error sum for iteration 3500 = 695.4553567185707
Error sum for iteration 3600 = 692.7646006108049
Error sum for iteration 3700 = 690.1365018315716
Error sum for iteration 3800 = 687.5714006206747
Error sum for iteration 3900 = 685.0695321823948
Error sum for iteration 4000 = 682.6301806014657
Error sum for iteration 4100 = 680.2525013600741
Error sum for iteration 4200 = 677.9361127798696
Error sum for iteration 4300 = 675.680663028251
Error sum for iteration 4400 = 673.4841108794806
Error sum for iteration 4500 = 671.3450214795305
Error sum for iteration 4600 = 669.2626236741039
Error sum for iteration 4700 = 667.2366509436883
Error sum for iteration 4800 = 665.2642730783214
Error sum for iteration 4900 = 663.3443544280436
Options: -I 5000
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 5000
-E 0.01
-S 1767782328
-H 2
-M 0.01
Input Weights:
1.5954893062833437 1.2383376586428387 age
0.04201897388367484 -1.0262414142538225 workclass=Private
-1.190054518688405 -0.7387769116728203 workclass=Self-emp-not-inc
0.5749608601115619 -0.6495653162204801 workclass=Self-emp-inc
-0.42559474519490076 0.8081256611300314 workclass=Federal-gov
-0.27997362899158484 -1.5865285677124503 workclass=Local-gov
-1.5487009935940046 0.7514809758959637 workclass=State-gov
-1.2119618824969052 0.5822481774691468 workclass=Without-pay
0.4167798769793011 -0.08397527785552329 workclass=Never-worked
0.15635984311953 -0.5996903739162862 fnlwgt
0.5208701061915102 0.7835921411157171 education=Bachelors
0.29206724603945183 -0.554556556515561 education=Some-college
-0.23799438838116366 -2.5268021143273627 education=11th
0.41261062764266104 -0.501629920209485 education=HS-grad
-4.237358464514114 2.8677035709128376 education=Prof-school
0.6758952330780547 0.24004976708532583 education=Assoc-acdm
0.0528613484814147 0.4243461120277973 education=Assoc-voc
-1.5821894926110829 0.9303631022249863 education=9th
-0.3778233073864194 -0.36498947147494 education=7th-8th
-1.9384158124395767 -1.8743011024743523 education=12th
2.0994269012227815 -1.5768586438365624 education=Masters
-2.5187486267485584 -1.8348513082221072 education=1st-4th
-0.3809559814349556 -2.6216615017087586 education=10th
0.6756433996733766 1.4822250022083803 education=Doctorate
-0.5246358018719275 1.9080000940918314 education=5th-6th
-1.1419301055910713 -0.8376057617270203 education=Preschool
1.1768072868228023 2.0572072936774144 education-num
2.61702568282822 1.1944443364135415 marital-status=Married-civ-spouse
-1.2846184004900827 -0.2994860439250999 marital-status=Divorced
-0.5243951137681049 -2.042016847929972 marital-status=Never-married
-0.6311203510244252 -0.20542166240385534 marital-status=Separated
-0.41310399159282274 -0.5591136520107235 marital-status=Widowed
-3.1069822814851435 -1.422065697103352 marital-status=Married-spouse-absent
-0.6853843247366542 -1.7542187056880196 marital-status=Married-AF-spouse
0.4822842440963346 -0.04657749859381146 occupation=Tech-support
-0.1632597832602845 -1.297183294081078 occupation=Craft-repair
-1.5046139509096506 0.10587338849972902 occupation=Other-service
0.11154313971063641 -0.782495070936436 occupation=Sales
0.40983106058450686 0.38169022813652986 occupation=Exec-managerial
-0.8506120995677138 0.8389514032439932 occupation=Prof-specialty
-0.9625165923141411 -1.5815137897667122 occupation=Handlers-cleaners
-0.9185139218489465 0.037801897018161244 occupation=Machine-op-inspct
-0.5993146212797582 -0.1363222809249745 occupation=Adm-clerical
-1.8900299918829435 -1.0545003459026874 occupation=Farming-fishing
-0.7955916437805833 -0.0036057000300495985 occupation=Transport-moving
-1.5512483386959608 -0.5540323218851108 occupation=Priv-house-serv
0.014302106139678864 -0.08282611106581013 occupation=Protective-serv
-0.3820502185080592 -0.4236431480878618 occupation=Armed-Forces
-4.470531423625138 1.8597458220131295 relationship=Wife
-1.664449252756517 -1.0011313872864684 relationship=Own-child
0.6619723826390674 -2.479717689081649 relationship=Husband
1.3428046747744895 -0.4721383068171668 relationship=Not-in-family
0.31317384922541197 -1.286381847320247 relationship=Other-relative
1.11796984993685 -1.3365105028247342 relationship=Unmarried
0.2281346219432488 0.2593584715544523 race=White
1.1306969961563207 -0.5980387207146659 race=Asian-Pac-Islander
-1.3665888940744202 -0.27933760301000854 race=Amer-Indian-Eskimo
-3.687736850664377 -2.1253908975936744 race=Other
0.40604283794835894 -0.523948308784959 race=Black
0.22702446227197656 0.07865541006064702 sex
0.684177936722459 8.776037423326043 capital-gain
1.858926147167178 2.7535628007881825 capital-loss
3.710057771198787 1.3795980192060984 hours-per-week
0.8948196184094984 -0.41500386261778627 native-country=United-States
1.9237050361132777 5.645739892587887 native-country=Cambodia
-0.03687094572564517 -0.7729162646363424 native-country=England
0.3843955455820798 0.003534194801012607 native-country=Puerto-Rico
1.1330605985883977 0.4037774430988475 native-country=Canada
0.6861144236485143 -0.029079614020616394 native-country=Germany
-0.4498920944557101 -1.3801489708796413 native-country=Outlying-US(Guam-USVI-etc)
-2.795024302189764 -0.9477855640002917 native-country=India
-2.522309327809354 -1.649166270836494 native-country=Japan
-3.2543607750706296 0.9728932375671536 native-country=Greece
0.6575610510038237 -2.3130091967075663 native-country=South
0.8471827083247625 -2.416888175192422 native-country=China
-0.22579358283390746 -3.4218824400669665 native-country=Cuba
2.768610918297514 1.927467329089352 native-country=Iran
0.0017442675692834707 -2.07573853375715 native-country=Honduras
-2.3776861780872625 2.2365459409711756 native-country=Philippines
0.37754127954630934 2.9214091298829326 native-country=Italy
-3.2024366190716713 0.8393587440046264 native-country=Poland
-0.4194254280329387 3.3696841017343053 native-country=Jamaica
-3.38254561133469 1.1248992797712225 native-country=Vietnam
-0.9512511546224423 -2.7358884563696715 native-country=Mexico
0.7448806776809547 1.3191048968976733 native-country=Portugal
2.6072907390536018 -1.1594402543876396 native-country=Ireland
-0.12507441789653448 0.8756814781927487 native-country=France
-1.3589263112150396 2.410210425640699 native-country=Dominican-Republic
-1.5887750643057366 -0.9718337809449538 native-country=Laos
-0.289767746676761 -0.7428305728541728 native-country=Ecuador
-1.039820620740909 2.75816540266927 native-country=Taiwan
-1.307866289693554 -2.883111829782952 native-country=Haiti
-2.842510898189427 -4.515183063457978 native-country=Columbia
-1.2246662210483434 0.14469321979934477 native-country=Hungary
2.325209857537336 0.6997364525059219 native-country=Guatemala
-0.9681468784748579 -2.2005696983232252 native-country=Nicaragua
-0.16447677290109994 -0.956224124278645 native-country=Scotland
-1.524529318146996 -0.005411591391323275 native-country=Thailand
-1.5710215247205088 -0.34635808354785647 native-country=Yugoslavia
0.6482379730393981 -1.873652130371318 native-country=El-Salvador
-0.9164529589248402 -0.9552963529751142 native-country=Trinadad&Tobago
2.0137389164374055 -2.6082406487555523 native-country=Peru
-0.1106251557275374 0.392598205938967 native-country=Hong
0.6159799800884336 -0.8273107280745454 native-country=Holand-Netherlands
Hidden Weights:
3.4772110127381723 -3.477211012738173
4.40451731692314 -4.404517316923141
>50K <=50K
=== Error on training data ===
Correctly Classified Instances 4267 85.0847 %
Incorrectly Classified Instances 748 14.9153 %
Mean absolute error 0.2637
Root mean squared error 0.3295
Relative absolute error 71.4072 %
Root relative squared error 76.6815 %
Total Number of Instances 5015
=== Confusion Matrix ===
a b <-- classified as
749 476 | a = >50K
272 3518 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 13544 83.189 %
Incorrectly Classified Instances 2737 16.811 %
Mean absolute error 0.2761
Root mean squared error 0.3471
Relative absolute error 75.6137 %
Root relative squared error 81.6943 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
2187 1659 | a = >50K
1078 11357 | b = <=50K
|
|
|