|
Experiments
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 4000
-E 0.01
-S 1764144856
-H 2
-M 0.01
Input Weights:
-0.3578490798434717 -0.4538752198635181 age
0.04307101597124152 -0.5940966689965506 workclass=Private
-0.18285592808178341 0.25492681122079053 workclass=Self-emp-not-inc
0.6412076475508683 0.8073045331311806 workclass=Self-emp-inc
-0.09113351489327304 0.5529053231445378 workclass=Federal-gov
-0.7476163778475402 0.8384944155130205 workclass=Local-gov
0.5275180985037771 -0.9822719437112395 workclass=State-gov
-0.22483803765812937 0.5627748925775398 workclass=Without-pay
0.7472206743085223 -0.6589130630917661 workclass=Never-worked
-0.7968696500138324 -0.5532956926749106 fnlwgt
-0.9628959183230887 -0.7285567487679006 education=Bachelors
0.14092306601972582 -0.6243439368814354 education=Some-college
0.37470254384316926 0.10014455198872008 education=11th
0.20502390935372494 -0.20325880799004237 education=HS-grad
0.16423992337602655 0.8642093116208516 education=Prof-school
-0.0731187435378402 -0.28745000920661856 education=Assoc-acdm
-0.19202352847009285 0.645930741061425 education=Assoc-voc
0.024838593131098374 0.7543018928721967 education=9th
0.23912492629070825 0.141633684338194 education=7th-8th
-0.7328366036702725 -0.27916189158369464 education=12th
-0.8125027800697373 -0.35486824720842725 education=Masters
0.23800535871489692 -0.3894767548489697 education=1st-4th
-0.9746553691009578 0.9351294153470708 education=10th
0.8621269411003611 -0.029628114990627896 education=Doctorate
-0.3141173652136957 0.5531955919868923 education=5th-6th
-0.14281371496157935 -0.6418415445376473 education=Preschool
0.15957045177520834 0.4869583845742993 education-num
0.7724092422754003 0.7202351597606218 marital-status=Married-civ-spouse
-0.4040701075436406 0.30253731446111676 marital-status=Divorced
-0.058374891627518855 -0.26465166219229386 marital-status=Never-married
-0.9421399283839045 -0.13461126434644766 marital-status=Separated
0.6225556674125143 -0.2882615588091244 marital-status=Widowed
0.8211145783652414 0.607902691405104 marital-status=Married-spouse-absent
-0.49760211509704755 -0.15618808751908309 marital-status=Married-AF-spouse
0.9576864628350639 0.09720055562526864 occupation=Tech-support
0.4053262978348038 0.7720076109944491 occupation=Craft-repair
0.3058654397233478 -0.22664858574158608 occupation=Other-service
0.8175166545084243 0.025232780969282276 occupation=Sales
-0.8269725371937591 0.10610149123609536 occupation=Exec-managerial
-0.7796379218406386 -0.516766988629525 occupation=Prof-specialty
-0.0551399015121008 -0.909601886838151 occupation=Handlers-cleaners
-0.7428330958588185 -0.755928819597 occupation=Machine-op-inspct
0.735550096007342 0.594442803736019 occupation=Adm-clerical
-0.3890336680719315 -0.16915141790696842 occupation=Farming-fishing
0.2000404805072833 0.30942815020148084 occupation=Transport-moving
0.8931877534289221 -0.523014755257537 occupation=Priv-house-serv
-0.6218720497137409 -0.7580462297641728 occupation=Protective-serv
-0.31966223991607867 -0.9103881033266019 occupation=Armed-Forces
-0.9689997098660181 -0.7534172593819704 relationship=Wife
0.5282315135167299 0.5484973858012598 relationship=Own-child
0.28763250760416703 -0.9809589214253573 relationship=Husband
-0.12633140439072887 -0.760238162091514 relationship=Not-in-family
0.8088485395572718 -0.6441135820945829 relationship=Other-relative
-0.6711316091018229 -0.5205048498379188 relationship=Unmarried
-0.7878582272075396 -0.9764725393357883 race=White
0.2050990017230956 -0.07386864248517866 race=Asian-Pac-Islander
-0.3643916472835178 0.05146808957294269 race=Amer-Indian-Eskimo
0.9832288063437526 -0.27039084364435406 race=Other
0.3534142808928922 0.048532769818498744 race=Black
0.7885984568085873 0.38129713370709006 sex
-0.06933856488081536 -0.29269545813334363 capital-gain
0.22760558845378842 -0.28353631906767673 capital-loss
-0.9913217400858454 -0.9244726946463666 hours-per-week
-0.20057886592897756 -0.1704488832842963 native-country=United-States
0.27270285596131827 0.5919943002973471 native-country=Cambodia
-0.30223531506465506 0.6842486190994275 native-country=England
0.14648941792627013 0.06041729381189431 native-country=Puerto-Rico
0.44786186333159517 -0.3283187964300627 native-country=Canada
0.30012404470976684 0.5136464535102134 native-country=Germany
0.359542717950716 -0.6289854025989585 native-country=Outlying-US(Guam-USVI-etc)
-0.9903860516731453 0.7418488681644926 native-country=India
0.18961697074156492 0.22125244122263488 native-country=Japan
0.9746935051112011 -0.34495120492493925 native-country=Greece
-0.7403630590389452 0.9885463797141463 native-country=South
0.43359647109467936 0.7497459027691367 native-country=China
-0.7728681419126182 -0.07871771264735972 native-country=Cuba
-0.29713961232235 0.9718566495252545 native-country=Iran
0.011321092438301816 0.7806224895551572 native-country=Honduras
-0.1471242789063243 -0.9715750625905655 native-country=Philippines
-0.6261036647138924 -0.18409229652513304 native-country=Italy
-0.3140432632320731 0.6066221083468035 native-country=Poland
0.291149703874634 -0.13507754716546239 native-country=Jamaica
0.9370136781906766 0.5124587379471883 native-country=Vietnam
0.5587257621534849 0.584844162199385 native-country=Mexico
-0.5649715361011085 -0.9609381132793602 native-country=Portugal
0.6715408340650368 -0.8092042145498044 native-country=Ireland
0.4578074319747336 -0.895212427919645 native-country=France
0.6396449224709446 -0.33086065580876056 native-country=Dominican-Republic
-0.362020949617998 0.1480394603608366 native-country=Laos
0.3504553826634875 0.25956065721683874 native-country=Ecuador
0.33375598550568064 0.30540647020930956 native-country=Taiwan
0.7770698009922912 -0.07507074186176976 native-country=Haiti
0.5061608483703994 0.0033164743967342147 native-country=Columbia
-0.23678072114612547 0.755952226367756 native-country=Hungary
-0.16844315499280405 0.3252835403562253 native-country=Guatemala
-0.61644071254466 0.8376054207422328 native-country=Nicaragua
-0.6454953830577459 0.03520459632527406 native-country=Scotland
-0.3271366669366014 -0.5712052876697711 native-country=Thailand
-0.3749885663033352 -0.8060060913460094 native-country=Yugoslavia
0.6224891188746644 0.6120064810262495 native-country=El-Salvador
-0.5162709080035286 0.2478294035871953 native-country=Trinadad&Tobago
-0.8658166919048276 -0.5640756513686231 native-country=Peru
-0.18007955767504313 -0.7691193907028773 native-country=Hong
0.5705759265524781 0.42494976718798516 native-country=Holand-Netherlands
Hidden Weights:
0.7130509135539946 0.9328423432307664
0.1492539713787977 -0.7016167663450532
>50K <=50K
Error sum for iteration 100 = 809.0049247075217
Error sum for iteration 200 = 794.1468550870255
Error sum for iteration 300 = 774.7397932994079
Error sum for iteration 400 = 759.5658996103468
Error sum for iteration 500 = 747.7809205417482
Error sum for iteration 600 = 738.4835168812097
Error sum for iteration 700 = 731.0856568652928
Error sum for iteration 800 = 725.1546211501898
Error sum for iteration 900 = 720.1902876001375
Error sum for iteration 1000 = 715.7027947951325
Error sum for iteration 1100 = 711.5330127574053
Error sum for iteration 1200 = 707.831114610854
Error sum for iteration 1300 = 704.7746040420758
Error sum for iteration 1400 = 702.5107189510499
Error sum for iteration 1500 = 701.2085776126146
Error sum for iteration 1600 = 701.116901327306
Error sum for iteration 1700 = 702.514007795332
Error sum for iteration 1800 = 705.397619313223
Error sum for iteration 1900 = 708.6330261728489
Error sum for iteration 2000 = 710.5276530025361
Error sum for iteration 2100 = 710.8794245777193
Error sum for iteration 2200 = 710.2247733482832
Error sum for iteration 2300 = 708.9810871711117
Error sum for iteration 2400 = 707.4198068218252
Error sum for iteration 2500 = 705.696994732851
Error sum for iteration 2600 = 703.9144068992839
Error sum for iteration 2700 = 702.112600491858
Error sum for iteration 2800 = 700.3170584454467
Error sum for iteration 2900 = 698.5433432600289
Error sum for iteration 3000 = 696.8075457209131
Error sum for iteration 3100 = 695.1342560206563
Error sum for iteration 3200 = 693.5419210934937
Error sum for iteration 3300 = 692.037600255873
Error sum for iteration 3400 = 690.6299670718693
Error sum for iteration 3500 = 689.3246473549297
Error sum for iteration 3600 = 688.1167812769667
Error sum for iteration 3700 = 687.00185110485
Error sum for iteration 3800 = 685.9654389893291
Error sum for iteration 3900 = 684.9919463934059
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 1764144856
-H 2
-M 0.01
Input Weights:
-1.820542749419375 0.9486807224797329 age
0.7184939956291911 0.3523069640541481 workclass=Private
1.1675139496802727 -0.8293485222878411 workclass=Self-emp-not-inc
0.7687579029853115 1.1917136893366391 workclass=Self-emp-inc
-0.8593490352734043 -1.7001596869234465 workclass=Federal-gov
1.5250636381759342 0.766213918385743 workclass=Local-gov
-0.05767812066673312 -2.828737059718565 workclass=State-gov
-0.004849230916255651 0.28374908280955197 workclass=Without-pay
0.9667273540464677 -0.9391996615733018 workclass=Never-worked
-0.19984408536260212 -0.292787263401245 fnlwgt
-2.0717781584443684 -3.1090874396664065 education=Bachelors
0.006042003281305371 -0.10609876277315432 education=Some-college
2.86044210180062 0.3298130504652425 education=11th
-0.3188144672191064 -0.0750696962445452 education=HS-grad
2.411041158461385 5.476904705372276 education=Prof-school
-1.2290861581437673 -0.9097514229128408 education=Assoc-acdm
-1.149069506760688 -1.3473426853902821 education=Assoc-voc
-0.4617420952919043 -1.9365841499419265 education=9th
2.0406078744045826 0.7893500351729607 education=7th-8th
2.216422157781559 -2.176461266132985 education=12th
-0.7361776548686481 -0.06016402978773073 education=Masters
1.995254722467342 -2.67906456075646 education=1st-4th
1.543627622921003 0.45358387276827916 education=10th
-1.7683924025307327 0.6408824652480599 education=Doctorate
-2.23039013266836 -0.5670665639610196 education=5th-6th
0.20419448700073217 -0.9947627818180488 education=Preschool
-1.5361526215199546 3.257768338152497 education-num
-2.5499554669931492 1.696809714688822 marital-status=Married-civ-spouse
0.5090913134062972 -2.1991588766531374 marital-status=Divorced
1.5945760043345663 -0.19058852653558786 marital-status=Never-married
0.7003418590520846 0.3854402316233841 marital-status=Separated
0.5450003615398242 -0.9120257486665039 marital-status=Widowed
1.9705992992384942 -1.4262285353989494 marital-status=Married-spouse-absent
0.836839270892025 -0.7715846435212981 marital-status=Married-AF-spouse
0.6477387232528596 1.4802824498398108 occupation=Tech-support
0.7863950990551241 0.4944560517062031 occupation=Craft-repair
0.024543129478770163 -3.169904382162456 occupation=Other-service
0.5646413886773883 0.6530487601138409 occupation=Sales
-0.712678823880593 -0.02163648882179321 occupation=Exec-managerial
-0.6138673714878778 -2.0049578308477987 occupation=Prof-specialty
0.023368910795553338 -1.4719418682848606 occupation=Handlers-cleaners
-0.010115778644247826 -1.0840887445155134 occupation=Machine-op-inspct
0.34835478712614354 -0.3595790693428056 occupation=Adm-clerical
2.1456627817293144 -1.2933790259744806 occupation=Farming-fishing
0.8618201476390978 -0.0810572270198387 occupation=Transport-moving
1.2862077869951634 -0.8713063911286303 occupation=Priv-house-serv
-0.02612084636073402 0.02057486709587393 occupation=Protective-serv
0.08321879059700436 -1.3219496615507014 occupation=Armed-Forces
-0.8051002781501291 -1.922421477900424 relationship=Wife
1.4159391922948872 -1.573815692312248 relationship=Own-child
1.5594305751572215 -0.9023982758506189 relationship=Husband
-0.23846998341073616 -0.8247850412558858 relationship=Not-in-family
0.7832922788516989 -1.9627861863630716 relationship=Other-relative
0.21625156890735292 0.15145890591049507 relationship=Unmarried
-0.44386822725321456 -0.3229918072938946 race=White
-0.7597642000383371 -0.26182038392902834 race=Asian-Pac-Islander
1.1779828468679556 -0.8976265251224639 race=Amer-Indian-Eskimo
3.131363126276179 -3.4890230417121617 race=Other
0.1373655052085145 0.10700481172281034 race=Black
-0.0040667387890441315 3.4315213760233334 sex
-7.29911361412318 0.3402984897703405 capital-gain
-2.3668198889099252 1.5345557975944253 capital-loss
-2.8976164558352258 2.480209222522073 hours-per-week
-0.4477458979933991 0.08815731747879443 native-country=United-States
-3.117130800686734 3.977633009843932 native-country=Cambodia
-0.09375268290616642 -0.5483075350998288 native-country=England
0.1294624879582439 2.0141192988758063 native-country=Puerto-Rico
-1.69278296192941 -1.269315112868413 native-country=Canada
-0.8476699862663354 -0.1187716534407762 native-country=Germany
0.9386573062062392 -0.9197284588924229 native-country=Outlying-US(Guam-USVI-etc)
1.3666642370783073 -2.8351862193606463 native-country=India
3.078120098952038 -1.3889996441218682 native-country=Japan
2.2667703416404494 -1.7056670712646949 native-country=Greece
1.9795918664656467 1.9407239810805175 native-country=South
0.786847596237867 0.6413834659806796 native-country=China
1.8854999590716401 -0.02597927999810353 native-country=Cuba
-2.838341748368575 2.3716702528051834 native-country=Iran
1.4657728111561206 0.3065366632663485 native-country=Honduras
-0.9832162711372379 -0.8186636960139061 native-country=Philippines
-1.321172658348419 1.326974160953339 native-country=Italy
0.5902649555049191 -2.6981211142796218 native-country=Poland
-2.9891711195933355 -0.5656714817443326 native-country=Jamaica
0.6100991192280728 -1.6286186593304246 native-country=Vietnam
3.3185024724608008 0.06032739152281005 native-country=Mexico
-1.7918315142269845 -1.6279251044459047 native-country=Portugal
-0.7335275162432519 1.78837411307613 native-country=Ireland
-0.643273277838239 -0.1371668127013017 native-country=France
-1.7595784018415976 -0.16422168904978193 native-country=Dominican-Republic
1.7407280370039206 -0.9983286649942774 native-country=Laos
0.6516353311554558 -0.603394056624246 native-country=Ecuador
-0.6294621712652834 -0.3186362685205363 native-country=Taiwan
2.3783699299439225 -0.8341078001618326 native-country=Haiti
3.09311376944187 -3.0302847235374837 native-country=Columbia
-0.01727404140816357 0.47566562788617256 native-country=Hungary
-1.996809650411223 1.0315231395982973 native-country=Guatemala
1.9172940636138354 -0.5808308891194487 native-country=Nicaragua
0.00842606910573935 -0.46873396417858937 native-country=Scotland
0.624137153335666 -0.6224452124630283 native-country=Thailand
0.5204938443862489 -1.28332878782911 native-country=Yugoslavia
1.7556200442042302 0.8051167761824553 native-country=El-Salvador
0.8484649315144471 -0.8327440322448248 native-country=Trinadad&Tobago
0.4641113614220895 -0.292625243130039 native-country=Peru
0.05288884811957151 -1.0497090941708649 native-country=Hong
0.7900826062904235 0.14466316870640425 native-country=Holand-Netherlands
Hidden Weights:
-3.6908590194864432 3.690859019486445
2.9961476988649074 -2.9961476988649096
>50K <=50K
=== Error on training data ===
Correctly Classified Instances 4268 85.1047 %
Incorrectly Classified Instances 747 14.8953 %
Mean absolute error 0.2639
Root mean squared error 0.3298
Relative absolute error 71.4598 %
Root relative squared error 76.771 %
Total Number of Instances 5015
=== Confusion Matrix ===
a b <-- classified as
737 488 | a = >50K
259 3531 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 13540 83.1644 %
Incorrectly Classified Instances 2741 16.8356 %
Mean absolute error 0.2751
Root mean squared error 0.3465
Relative absolute error 75.3503 %
Root relative squared error 81.5713 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
2146 1700 | a = >50K
1041 11394 | b = <=50K
|
|
|