|
Experiments
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 3000
-E 0.01
-S 1770293760
-H 2
-M 0.01
Input Weights:
-0.1992536225927144 0.3545694100794434 age
-0.7412481026869 -0.7904099045852955 workclass=Private
0.6839489464694699 -0.8373174685642846 workclass=Self-emp-not-inc
-0.15769258704295974 -0.6749885584423911 workclass=Self-emp-inc
-0.2643515078300549 0.4431120618015858 workclass=Federal-gov
-0.12688144225752174 0.6141411259470628 workclass=Local-gov
-0.03429201304653273 0.7635537835992101 workclass=State-gov
-0.17564045216672497 0.26163118673249697 workclass=Without-pay
-0.2100660697834269 0.9267123349885538 workclass=Never-worked
0.9619997881428004 -0.015312874909114038 fnlwgt
-0.361843724849892 0.47553609877231007 education=Bachelors
0.4779513588689521 0.06200200810159884 education=Some-college
0.5051952667718744 0.6800671720426874 education=11th
0.7757530184432198 -0.9389741923263764 education=HS-grad
-0.7101562068789882 -0.7265443432103651 education=Prof-school
-0.6252724489317085 -0.016499478699030012 education=Assoc-acdm
0.9874607947466136 0.7482126119997743 education=Assoc-voc
-0.3165929774954557 0.1976362600115089 education=9th
-0.989115386318167 0.3127857033866033 education=7th-8th
0.5073473648640268 0.7053647344113854 education=12th
-0.9327849399470733 0.9262371084080101 education=Masters
0.9147009414385481 -0.9776373060284169 education=1st-4th
-0.08659324625552678 0.052138281651169516 education=10th
-0.6067124636280352 -0.9116843699687232 education=Doctorate
-0.9058588753863415 0.8724741344359326 education=5th-6th
0.0973519858244758 0.3802711193928283 education=Preschool
-0.5825704520010924 -0.7571761640129251 education-num
0.4964264841293933 -0.17826184216179386 marital-status=Married-civ-spouse
-0.22307615439796113 -0.6904429231811828 marital-status=Divorced
0.5921768324588461 -0.44299645307434465 marital-status=Never-married
-0.8412011518087148 -0.2997884046340742 marital-status=Separated
-0.15498869982304275 -0.5697146795800501 marital-status=Widowed
0.7929071398946002 0.8852961581935814 marital-status=Married-spouse-absent
-0.5724808430030623 0.6529059024873165 marital-status=Married-AF-spouse
0.7840102371650859 -0.3670465204381683 occupation=Tech-support
-0.13281372707124106 0.08247051814726158 occupation=Craft-repair
-0.10565012942122554 0.4704170308782034 occupation=Other-service
-0.3792362129665354 0.5436601296503207 occupation=Sales
-0.007544484584972588 0.3549612395738879 occupation=Exec-managerial
-0.20465974410872123 0.30201775134996445 occupation=Prof-specialty
-0.07251980914100176 -0.9372234579389369 occupation=Handlers-cleaners
0.8485468890468579 0.1151033282193148 occupation=Machine-op-inspct
-0.030169717840094146 0.441355320513112 occupation=Adm-clerical
-0.4918909125499358 -0.9715583169416424 occupation=Farming-fishing
-0.442500719543091 0.047751444537967425 occupation=Transport-moving
-0.21140129481510606 0.39937005722978824 occupation=Priv-house-serv
-0.1728567951180071 -0.18656827955677824 occupation=Protective-serv
-0.6160544281813329 0.5065324464781029 occupation=Armed-Forces
0.5571400996014881 -0.6679277366733487 relationship=Wife
0.004984357389477889 -0.13355235821778555 relationship=Own-child
-0.1820286146279988 -0.15097877667893234 relationship=Husband
-0.3672506108845066 0.2051244514577204 relationship=Not-in-family
0.26833895647772277 -0.17654583995166906 relationship=Other-relative
0.9848357393804263 0.43968620053133334 relationship=Unmarried
0.9523087619788408 0.4134440467011713 race=White
-0.3478731874588257 0.37373001194917177 race=Asian-Pac-Islander
0.28603103103547234 -0.12904679459427548 race=Amer-Indian-Eskimo
0.8584958759255821 -0.1942401369508242 race=Other
0.15855776355033657 0.6925903771103517 race=Black
-0.7775725218563168 -0.058677372937534056 sex
-0.4599655217275156 0.61105602527828 capital-gain
-0.5536743716382146 0.2790271641960105 capital-loss
-0.6340819071631152 -0.1165144756769354 hours-per-week
0.8097853300873596 -0.7552420466783536 native-country=United-States
-0.23455948696814843 0.682087814468546 native-country=Cambodia
-0.4257503736296031 -0.14280700445822925 native-country=England
-0.21237163945714044 0.15902706314101756 native-country=Puerto-Rico
-0.11103303660473718 -0.45497682663716854 native-country=Canada
-0.14612006052870385 0.4746026247123736 native-country=Germany
-0.9135517210994217 -0.8303732748108039 native-country=Outlying-US(Guam-USVI-etc)
-0.718778588052458 -0.1275909934026649 native-country=India
0.02791038719476746 0.4477088184703717 native-country=Japan
0.7674900210764657 -0.022002558638536396 native-country=Greece
-0.34257152048631956 0.7716447135352684 native-country=South
0.9451547182653406 -0.29692401033873184 native-country=China
-0.5065858815515285 -0.8101996656380288 native-country=Cuba
0.5743583483216506 0.36366983311295864 native-country=Iran
-0.6329637369987919 0.6775189038487779 native-country=Honduras
-0.9181169609548676 0.3698793825722084 native-country=Philippines
0.34251570440272494 0.2880893742752828 native-country=Italy
-0.2713260292525832 -0.28738264514449763 native-country=Poland
0.050800475349809915 0.15192469470198278 native-country=Jamaica
0.3156416565380249 -0.35156590155992595 native-country=Vietnam
-0.6433242088139506 0.26520889782797386 native-country=Mexico
-0.02923124001141475 -0.24954551874752928 native-country=Portugal
-0.32567342230206386 0.5939970753540826 native-country=Ireland
0.9989125568932369 0.7285045280961544 native-country=France
0.7559633254993707 0.07749756540240971 native-country=Dominican-Republic
0.16168498204298554 -0.9045985041650988 native-country=Laos
0.40428632785100227 -0.1498855712042142 native-country=Ecuador
-0.9252511860520343 -0.566425016867709 native-country=Taiwan
-0.6019861172702985 -0.5353957081371905 native-country=Haiti
0.9938588576586209 -0.6451223310103327 native-country=Columbia
0.6598782306596103 0.48098413628007 native-country=Hungary
-0.7171643310201685 0.4985883087426568 native-country=Guatemala
0.12161310400655756 0.7239448752013662 native-country=Nicaragua
-0.16603754742359378 -0.5760911458485645 native-country=Scotland
0.2274613872120277 -0.61444283848247 native-country=Thailand
-0.9946302019566957 0.9631649877070758 native-country=Yugoslavia
0.037333793160227335 0.3838268852179547 native-country=El-Salvador
0.9558993824391115 0.5436384770304696 native-country=Trinadad&Tobago
-0.4926068969431294 -0.25124895362488386 native-country=Peru
0.14454146444927685 -0.21355685804653035 native-country=Hong
-0.1022654884885521 -0.09273792617803323 native-country=Holand-Netherlands
Hidden Weights:
-0.8640702021314208 0.5319148354889993
0.20660716093014497 -0.9739932176344803
>50K <=50K
Error sum for iteration 100 = 72.72162626293165
Error sum for iteration 200 = 72.69795173384728
Error sum for iteration 300 = 74.24041840280526
Error sum for iteration 400 = 75.46911141440573
Error sum for iteration 500 = 76.58098577518963
Error sum for iteration 600 = 77.32085171845226
Error sum for iteration 700 = 77.64314880057869
Error sum for iteration 800 = 77.66797821214396
Error sum for iteration 900 = 77.52470024953087
Error sum for iteration 1000 = 77.31383162041902
Error sum for iteration 1100 = 77.03626188091587
Error sum for iteration 1200 = 76.67902268887467
Error sum for iteration 1300 = 76.22843852165758
Error sum for iteration 1400 = 75.69236529184306
Error sum for iteration 1500 = 75.13024890469251
Error sum for iteration 1600 = 74.58025050601312
Error sum for iteration 1700 = 74.07425386202502
Error sum for iteration 1800 = 73.6027258199797
Error sum for iteration 1900 = 73.16344151968852
Error sum for iteration 2000 = 72.74827666109962
Error sum for iteration 2100 = 72.3557290732908
Error sum for iteration 2200 = 71.96712336043247
Error sum for iteration 2300 = 71.57992181536461
Error sum for iteration 2400 = 71.18393226043254
Error sum for iteration 2500 = 70.77186392434665
Error sum for iteration 2600 = 70.34058717785044
Error sum for iteration 2700 = 69.89194615282095
Error sum for iteration 2800 = 69.43471596719645
Error sum for iteration 2900 = 68.98244921415545
Options: -I 3000
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 3000
-E 0.01
-S 1770293760
-H 2
-M 0.01
Input Weights:
-1.4871073808646227 0.006048962298716902 age
0.41879722147799064 -0.3069263734365197 workclass=Private
2.8725955490567707 0.015745433707066672 workclass=Self-emp-not-inc
-0.8331120518017717 -0.41325184750992466 workclass=Self-emp-inc
-1.275972432995298 -0.331949584864012 workclass=Federal-gov
-0.8685493076532413 -1.5929025728148243 workclass=Local-gov
1.2957406372834392 0.3286505968974491 workclass=State-gov
-0.014925000612260536 0.13172223046272807 workclass=Without-pay
-0.04935061822895339 0.7968033787188262 workclass=Never-worked
0.20551668745709928 0.6114882465972722 fnlwgt
0.07152419953694597 -0.5224728331740739 education=Bachelors
0.49642617677103 -0.21853148656454774 education=Some-college
2.6781016551239065 -1.0683786564430076 education=11th
0.7398599365887105 -0.15634357833448184 education=HS-grad
-3.2605160453501014 1.3374795525537073 education=Prof-school
0.11563571391714443 -0.7991572916592875 education=Assoc-acdm
-0.2734823051994983 0.14258940232889125 education=Assoc-voc
1.3318192551708754 -0.7365059069442815 education=9th
-0.5380594699698361 0.7925316725760817 education=7th-8th
-2.2498202515486447 2.314073340218508 education=12th
1.6807606982887824 0.32472693929487023 education=Masters
1.2852501034996096 -1.2660712587480254 education=1st-4th
1.1998086511684016 -1.235318706679968 education=10th
-2.0873544160002755 0.4123829518182573 education=Doctorate
1.1393311089177371 -0.8185748334009681 education=5th-6th
0.25871628765818927 0.22114128506517133 education=Preschool
-2.8795954510062147 0.889640300279895 education-num
-0.7190010003400701 1.2628138247822729 marital-status=Married-civ-spouse
-0.04053007597878276 -0.5668792843894324 marital-status=Divorced
1.1866675663167232 -0.04529072728161082 marital-status=Never-married
-0.31891163225128183 -0.8114769939141444 marital-status=Separated
1.2018322327939408 -1.8430928386624397 marital-status=Widowed
1.4089213177972957 -0.6353300987703738 marital-status=Married-spouse-absent
-0.21848302757086652 0.04761953223885875 marital-status=Married-AF-spouse
0.6811888039072747 0.2632557025965128 occupation=Tech-support
-0.48070166182858864 -0.5620382757850386 occupation=Craft-repair
0.06516964999010749 -0.27179217081695306 occupation=Other-service
1.7380742006117444 0.6856172756522477 occupation=Sales
-0.8960626786486119 0.5562501139526607 occupation=Exec-managerial
2.2423871924214906 1.1693407292859352 occupation=Prof-specialty
0.6569370209839153 -1.3510580626636177 occupation=Handlers-cleaners
-0.2738336059007939 -0.17966928626070397 occupation=Machine-op-inspct
-0.9697831744229719 -1.3926609723538166 occupation=Adm-clerical
-0.6756566202334572 -1.2368317972222413 occupation=Farming-fishing
1.585761512539115 -0.5675559291771487 occupation=Transport-moving
-0.05068584326063363 0.2694611009599995 occupation=Priv-house-serv
-0.8796381123634643 0.1898448748455183 occupation=Protective-serv
-0.4421575987263172 0.3710823507541913 occupation=Armed-Forces
0.8471136801786311 0.6080419384518125 relationship=Wife
1.7350554060175762 -0.7887809725538745 relationship=Own-child
-1.6913455380211526 -1.0112664139147354 relationship=Husband
-1.2131103226022062 -0.7709506115323645 relationship=Not-in-family
1.2236670284082218 -0.6828371270235146 relationship=Other-relative
2.6146559951178228 0.34287373926327924 relationship=Unmarried
0.9514239662449595 1.2564885963607553 race=White
-0.7839136710456406 -0.9380591374509003 race=Asian-Pac-Islander
1.1510860951007649 -0.6272578766818664 race=Amer-Indian-Eskimo
1.8736811624231944 -1.3346388623486878 race=Other
0.8045435625162396 1.1111283528293623 race=Black
0.21775875972608252 -0.3948132869081903 sex
-0.43759150201904146 1.1741063901975137 capital-gain
-3.2361667778334793 1.4900343449453461 capital-loss
-0.4329107654112542 0.9900453466435915 hours-per-week
0.8790151293439499 0.11834143162313963 native-country=United-States
-2.257863204030637 2.2189595239747923 native-country=Cambodia
0.24439154953098333 -0.7540664906889707 native-country=England
1.5762182169157908 -1.3567526867364448 native-country=Puerto-Rico
-1.648477853520251 0.6653459835934247 native-country=Canada
0.22767823189363162 -0.03328736232270035 native-country=Germany
-0.7528362695449708 -0.9602822310805315 native-country=Outlying-US(Guam-USVI-etc)
-1.6155245090920376 0.6317817273266852 native-country=India
0.18862583874923236 0.3177998622005829 native-country=Japan
0.9282054726309166 -0.15191151490830157 native-country=Greece
-0.6314236107845191 1.083880443165232 native-country=South
1.105870169819776 -0.4268329666085206 native-country=China
1.4089901008936891 -2.4567321848368695 native-country=Cuba
-0.4173163276485307 0.5692717541100585 native-country=Iran
-0.4964577205787192 0.6157805870391662 native-country=Honduras
-0.10568237801244863 -0.2951613974658582 native-country=Philippines
0.5020026768232955 0.191840266617327 native-country=Italy
0.9960003094443601 -1.4476584235317094 native-country=Poland
0.23456549761700116 0.01693692128562453 native-country=Jamaica
0.47635710809247 -0.4814748578297147 native-country=Vietnam
-0.9588422430239987 0.2940660105427884 native-country=Mexico
1.520162569887659 -1.1956654070021375 native-country=Portugal
-0.16495797074760257 0.464088119084283 native-country=Ireland
1.1803221193339557 0.38369725950661415 native-country=France
0.9084857987197356 -0.031425459280670205 native-country=Dominican-Republic
0.8547136775974468 -1.4198219836785473 native-country=Laos
1.5517477901778096 -1.021918834651308 native-country=Ecuador
-1.010065986431655 -0.3732567177955249 native-country=Taiwan
-0.4363667045316089 -0.6564628223134537 native-country=Haiti
1.1607506991304237 -0.7895153759410746 native-country=Columbia
0.8205936822140611 0.3510751800102812 native-country=Hungary
-0.5564488794657176 0.36867935247286804 native-country=Guatemala
0.2823285555610072 0.5940359189316387 native-country=Nicaragua
-0.005322095869131864 -0.706000102118292 native-country=Scotland
0.21908321709699463 -0.501096190945155 native-country=Thailand
-0.8339147504022448 0.8332560314373483 native-country=Yugoslavia
0.21520932794567668 0.275882525573206 native-country=El-Salvador
1.1166148339935758 0.4137295207606652 native-country=Trinadad&Tobago
-0.3318914453886843 -0.38115790989467263 native-country=Peru
0.3052569160037256 -0.3434658143163288 native-country=Hong
0.058449963065911485 -0.22264688244779912 native-country=Holand-Netherlands
Hidden Weights:
-5.290488313005423 5.2902851797778405
4.406854633997019 -4.406752216528685
>50K <=50K
=== Error on training data ===
Correctly Classified Instances 463 89.9029 %
Incorrectly Classified Instances 52 10.0971 %
Mean absolute error 0.2124
Root mean squared error 0.2818
Relative absolute error 61.4992 %
Root relative squared error 67.8768 %
Total Number of Instances 515
=== Confusion Matrix ===
a b <-- classified as
78 36 | a = >50K
16 385 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 13112 80.5356 %
Incorrectly Classified Instances 3169 19.4644 %
Mean absolute error 0.2664
Root mean squared error 0.3663
Relative absolute error 75.3558 %
Root relative squared error 86.1886 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
1823 2023 | a = >50K
1146 11289 | b = <=50K
|
|
|