|
Experiments
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 2000
-E 0.01
-S 1758547936
-H 2
-M 0.01
Input Weights:
-0.5135673303082671 0.0265771126694081 age
0.009292850650479911 0.40433524956731337 workclass=Private
0.2677316476099192 -0.6839092946930161 workclass=Self-emp-not-inc
0.22115390356692477 0.5885931337069124 workclass=Self-emp-inc
0.420832934693375 0.2800080658711914 workclass=Federal-gov
0.3082954537891762 0.6288807845560604 workclass=Local-gov
-0.10313767366313953 0.3362400929941749 workclass=State-gov
0.12655416329689584 -0.18801546552149873 workclass=Without-pay
-0.621433413075255 0.5369123952330983 workclass=Never-worked
-0.7683821599561467 -0.020271921613662647 fnlwgt
-0.28176129841654096 0.11103174576621266 education=Bachelors
-0.2054351347087966 0.1332886382298506 education=Some-college
-0.12722157450715388 0.5618456959713465 education=11th
0.1730114849083535 -0.5803864987006815 education=HS-grad
-0.5744142962617009 -0.6401790855668148 education=Prof-school
-0.7331719280670317 -0.8187669868495298 education=Assoc-acdm
-0.5052931708917321 -0.31223803082765333 education=Assoc-voc
0.14743896562728298 0.2947166672515704 education=9th
-0.9905982824882766 0.7150461499028935 education=7th-8th
-0.751381658370236 0.08296508371772116 education=12th
0.19814717827940687 -0.963533804499473 education=Masters
-0.7911134066495435 -0.06995691435997409 education=1st-4th
-0.2811323669677819 0.33470387183104333 education=10th
0.9193029946357236 -0.5343297285166522 education=Doctorate
0.5694675171801542 -0.7652955299557187 education=5th-6th
0.7075955452437903 0.274872387716699 education=Preschool
-0.020141806007807128 -0.4723574790576599 education-num
-0.7741331186378777 -0.1745137654211224 marital-status=Married-civ-spouse
0.48570230716609264 0.3599624172569409 marital-status=Divorced
-0.55597706127292 -0.6652160001795968 marital-status=Never-married
-0.2571283359649874 0.11109689120753452 marital-status=Separated
-0.782209327288016 -0.8972362814820432 marital-status=Widowed
0.12770556642316055 0.11761866116209374 marital-status=Married-spouse-absent
-0.17432604536917595 0.2537242746604875 marital-status=Married-AF-spouse
-0.6071032101502474 -0.6687870107038021 occupation=Tech-support
0.3741489644939653 -0.4765726115031972 occupation=Craft-repair
-0.4327048600786656 -0.2938194005320429 occupation=Other-service
0.3692724940486294 0.7240327946859428 occupation=Sales
-0.30106070619331704 -0.5238593494451114 occupation=Exec-managerial
-0.5461271303043422 0.6743928104810912 occupation=Prof-specialty
0.08677543350376116 0.46990559087019834 occupation=Handlers-cleaners
0.3145671140894719 -0.09570164553057192 occupation=Machine-op-inspct
-0.6858667368076024 -0.20240019765230377 occupation=Adm-clerical
0.16770087589633342 0.376700183651153 occupation=Farming-fishing
0.016177258035070974 0.2681909427202387 occupation=Transport-moving
0.7273967198614737 -0.7856318554819557 occupation=Priv-house-serv
0.05806548936326106 0.030653965127247496 occupation=Protective-serv
-0.07458227412555263 -0.79677374495143 occupation=Armed-Forces
0.18800764642100964 0.5086920791185698 relationship=Wife
0.26846866079919307 -0.7462126261717645 relationship=Own-child
-0.3788552826405036 -0.33724647554899634 relationship=Husband
0.05456213315457226 0.45854171119964193 relationship=Not-in-family
-0.888745050969574 0.996208381614839 relationship=Other-relative
0.7906297736239294 -0.34560089471533817 relationship=Unmarried
0.4265505105239946 -0.8480615167145116 race=White
0.21685894595934174 -0.9033178321002255 race=Asian-Pac-Islander
-0.34415162955144774 0.1419529456755162 race=Amer-Indian-Eskimo
0.10123948547559514 -0.07021271559367559 race=Other
0.1684988797171343 0.5304190021984778 race=Black
0.26621267817844085 0.3983052214941212 sex
-0.5842766572694922 0.657901011915305 capital-gain
0.5875822065869856 -0.6763003310440678 capital-loss
0.01626650600896329 -0.7464194644923032 hours-per-week
-0.5028248757972626 0.26190890589600047 native-country=United-States
-0.01690216315240045 -0.37150979556856334 native-country=Cambodia
0.9520834254496797 0.2865391409578151 native-country=England
0.6316167858333788 0.7657873138204183 native-country=Puerto-Rico
0.12537882768012376 -0.3155099820219731 native-country=Canada
0.11851816629155865 0.8070237308143628 native-country=Germany
0.04042353840773805 -0.47653299147108474 native-country=Outlying-US(Guam-USVI-etc)
-0.007024543995250321 0.05318762899828977 native-country=India
0.9215068763494803 0.41522359340978743 native-country=Japan
0.24068463411422103 0.1267055185457402 native-country=Greece
0.6694702846043967 0.5596129916406243 native-country=South
0.5529057589007593 0.44005106476516986 native-country=China
0.18794575993786178 0.8614483785815119 native-country=Cuba
0.7870222854038753 0.7463146553953601 native-country=Iran
-0.5267201280001015 0.45734087546080904 native-country=Honduras
0.47613662138945756 -0.9410030612322327 native-country=Philippines
0.7223490082208668 -0.8905536209380607 native-country=Italy
0.8104136736376073 -0.5318952779652457 native-country=Poland
0.08424346398525517 0.6974720157408367 native-country=Jamaica
0.6136004757935161 0.7868006075742524 native-country=Vietnam
-0.9450860349143781 -0.6067934527815309 native-country=Mexico
-0.3205355252665858 0.07059159379197899 native-country=Portugal
-0.5472142117844689 0.30082129083503006 native-country=Ireland
-0.5363595248339526 -0.01370666768042672 native-country=France
-0.9237444159690062 -0.49743218807756584 native-country=Dominican-Republic
-0.06087447011276104 0.9914709856748634 native-country=Laos
0.78284928573606 0.01835371112533024 native-country=Ecuador
0.6547495311675575 0.131198264978303 native-country=Taiwan
0.1903368850035574 -0.5321625287110086 native-country=Haiti
-0.7345516550352778 0.8759863278374853 native-country=Columbia
-0.5782739876898655 -0.14227703946500414 native-country=Hungary
-0.5450925895942631 -0.6854254082595703 native-country=Guatemala
0.3319948113111091 0.39118634625181037 native-country=Nicaragua
0.012704028232455755 -0.22635574437302464 native-country=Scotland
0.09162659057754952 0.340906192893756 native-country=Thailand
0.4707849780662898 0.7528687452761176 native-country=Yugoslavia
0.5811780790205121 0.5158229089367614 native-country=El-Salvador
0.10304846718675309 0.22125399660819323 native-country=Trinadad&Tobago
-0.9132937144996836 0.7021027063838179 native-country=Peru
0.045787499895858286 -0.30359894259375775 native-country=Hong
0.6860921866866381 -0.4678458165969088 native-country=Holand-Netherlands
Hidden Weights:
-0.5169074559094136 0.7370167482795522
-0.10088754984464421 -0.3565573647925222
>50K <=50K
Error sum for iteration 100 = 69.65136775110584
Error sum for iteration 200 = 67.57859319286
Error sum for iteration 300 = 67.0244089189579
Error sum for iteration 400 = 67.46202922159915
Error sum for iteration 500 = 68.43640329230416
Error sum for iteration 600 = 69.31055523208039
Error sum for iteration 700 = 69.76119581133405
Error sum for iteration 800 = 69.94512172946456
Error sum for iteration 900 = 70.04226311072055
Error sum for iteration 1000 = 70.1475718075351
Error sum for iteration 1100 = 70.28434457193994
Error sum for iteration 1200 = 70.45355614961645
Error sum for iteration 1300 = 70.62262474382628
Error sum for iteration 1400 = 70.76089463235998
Error sum for iteration 1500 = 70.85683632914039
Error sum for iteration 1600 = 70.92083326359096
Error sum for iteration 1700 = 70.95929383982698
Error sum for iteration 1800 = 70.9816752151452
Error sum for iteration 1900 = 70.99057510016526
Options: -I 2000
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 2000
-E 0.01
-S 1758547936
-H 2
-M 0.01
Input Weights:
-0.7319013251103834 0.033919684783744894 age
0.5137928582904316 1.6121033650721834 workclass=Private
1.718278641332918 -1.6871693020565506 workclass=Self-emp-not-inc
-0.20511212955059285 0.4946161727822468 workclass=Self-emp-inc
-0.610713558760574 -0.054522091404793915 workclass=Federal-gov
0.4326239561824691 1.6700673319845183 workclass=Local-gov
1.0545054303096368 -0.5883773646798911 workclass=State-gov
0.25364031195101583 -0.1956890312575738 workclass=Without-pay
-0.4943472644211197 0.5292388294970385 workclass=Never-worked
-0.4370246645587167 -0.05565745290261057 fnlwgt
-0.012565760393817385 0.9951030070596115 education=Bachelors
0.4509936856256643 -0.6901865814590414 education=Some-college
1.9294060329967315 0.6670373220200401 education=11th
0.4310099822167535 -0.3792558460993428 education=HS-grad
-2.7741424459254596 -1.013419488574978 education=Prof-school
0.6608042766840682 -1.6560190139746238 education=Assoc-acdm
-0.7159482821059708 0.5994784313594946 education=Assoc-voc
1.2014758076083902 0.469964291374191 education=9th
-1.4912995750763642 0.6836096983727927 education=7th-8th
-2.7258866400096906 -0.12954330215730994 education=12th
1.2155827951041402 -1.3587332622739468 education=Masters
0.7487892996004244 0.2137981191811098 education=1st-4th
0.8457086553286658 0.53549507423447 education=10th
-1.4225194303413928 -0.8999259568541823 education=Doctorate
1.3475021937639446 -0.6592149054905468 education=5th-6th
0.8345975411679484 0.26143049672743107 education=Preschool
-2.507819799376532 -1.1751637375747848 education-num
-2.3390067740251643 0.2591906427909705 marital-status=Married-civ-spouse
-0.2797367834283232 0.10194665755791318 marital-status=Divorced
0.53731474544873 -1.076292441939319 marital-status=Never-married
-0.0024826975292249927 0.01485903414521839 marital-status=Separated
1.5587213584802304 -0.6331029430415993 marital-status=Widowed
0.5357133048544049 0.08717436185635614 marital-status=Married-spouse-absent
-0.034596938932997354 0.2365573997937027 marital-status=Married-AF-spouse
0.3319369277488632 -0.8931775068336205 occupation=Tech-support
0.30941228749281086 -1.200245775788659 occupation=Craft-repair
0.10782019488625534 -0.3039470956547788 occupation=Other-service
-0.4323280304431997 1.6934360414858132 occupation=Sales
-0.6843141786805389 -1.5168820644025036 occupation=Exec-managerial
-0.25849443410282924 0.941749511042395 occupation=Prof-specialty
1.3250691012491198 0.547576562724517 occupation=Handlers-cleaners
0.09495992284824847 -0.5164288548828325 occupation=Machine-op-inspct
-0.237307603682987 1.1729667072157166 occupation=Adm-clerical
0.1622765733923478 0.5794158792271226 occupation=Farming-fishing
1.418536070152123 0.25805159618525764 occupation=Transport-moving
0.8544828685155967 -0.7933054212180155 occupation=Priv-house-serv
-0.7994006132771305 -0.6352048790147511 occupation=Protective-serv
0.06990561592387948 -0.8024926745436548 occupation=Armed-Forces
-0.3253756254168017 0.5713086556721252 relationship=Wife
2.1408117190284393 -0.7922838077384828 relationship=Own-child
-0.4055845300785273 0.1617198579336428 relationship=Husband
-0.5588400852046681 0.09332520499961812 relationship=Not-in-family
-0.3865243075866424 1.1822736150705224 relationship=Other-relative
1.3487867908042477 -0.7893912707455178 relationship=Unmarried
0.13627786364818345 -1.3803456137258558 race=White
-0.1400593683872541 -0.7849317473460599 race=Asian-Pac-Islander
0.7710377667365786 0.3381802256697745 race=Amer-Indian-Eskimo
1.7870855131070447 0.38121752030828004 race=Other
-0.333225650476562 0.19690314399054476 race=Black
0.43856730749754874 -0.2404216549500643 sex
-0.8397827311255752 0.5639229571654223 capital-gain
-2.8263330999626346 -1.378752223182047 capital-loss
-0.8100206875032673 -0.27738475633022264 hours-per-week
0.5649669070602545 -0.443102057870566 native-country=United-States
-2.0847390233484218 -0.5131748974520776 native-country=Cambodia
1.2131358855598382 0.30592100581623927 native-country=England
1.7795868396540295 1.0327533228190626 native-country=Puerto-Rico
-1.281879317392696 -0.3605009454964398 native-country=Canada
0.308817189377205 0.8109227463462723 native-country=Germany
0.16750968706185534 -0.4842065572071349 native-country=Outlying-US(Guam-USVI-etc)
-0.6767629730687975 -0.22922158418037977 native-country=India
1.048593025003503 0.40755002767373727 native-country=Japan
0.367770782768337 0.11903195280966605 native-country=Greece
-0.8556257908442169 0.26509744219590897 native-country=South
0.6799919075548824 0.4323774990291197 native-country=China
1.9167709500494947 1.2693934809444425 native-country=Cuba
-0.2278912395915074 0.503896735823925 native-country=Iran
-0.48335889309705077 0.4182218075372619 native-country=Honduras
1.4111657411001746 -0.8425287301085245 native-country=Philippines
0.8506186470384002 -0.8979515215428953 native-country=Italy
1.8538958991769705 -0.286128402084977 native-country=Poland
0.20747006260127257 0.6752462379293273 native-country=Jamaica
0.7406866244476391 0.7791270418381926 native-country=Vietnam
-0.604613112025715 -0.6606009934151923 native-country=Mexico
1.4531797689217816 0.17999090373742 native-country=Portugal
-0.4201280631303664 0.2931477250989799 native-country=Ireland
-0.3555416139845121 -0.0011539054183660458 native-country=France
-0.7800781939046357 -0.49826084605622145 native-country=Dominican-Republic
0.9847836186258659 1.2452193432789747 native-country=Laos
1.6922386018449385 0.24766870603754748 native-country=Ecuador
-0.12202712860737899 0.05510938354020506 native-country=Taiwan
0.3131422997697605 -0.561748732850309 native-country=Haiti
-0.29349266516550426 0.9559051864851946 native-country=Columbia
-0.4511878390357646 -0.14995060520107922 native-country=Hungary
-0.41800644094015443 -0.6930989739956301 native-country=Guatemala
0.45908095996522474 0.3835127805157602 native-country=Nicaragua
0.13979017688656878 -0.23402931010909972 native-country=Scotland
0.1185513008479169 0.30416826890110393 native-country=Thailand
0.5978711267204111 0.7451951795400578 native-country=Yugoslavia
0.7099106305039304 0.5043558576247303 native-country=El-Salvador
0.23013461584087344 0.21358043087211814 native-country=Trinadad&Tobago
-0.7862075658455605 0.6944291406477581 native-country=Peru
0.17287364854997786 -0.3112725083298079 native-country=Hong
0.8131783353407611 -0.475519382332959 native-country=Holand-Netherlands
Hidden Weights:
-5.366440615251267 5.36470295387294
-2.8649766920701345 2.861863618697735
>50K <=50K
=== Error on training data ===
Correctly Classified Instances 454 88.1553 %
Incorrectly Classified Instances 61 11.8447 %
Mean absolute error 0.2285
Root mean squared error 0.2937
Relative absolute error 66.1836 %
Root relative squared error 70.7489 %
Total Number of Instances 515
=== Confusion Matrix ===
a b <-- classified as
79 35 | a = >50K
26 375 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 13248 81.3709 %
Incorrectly Classified Instances 3033 18.6291 %
Mean absolute error 0.2722
Root mean squared error 0.3614
Relative absolute error 76.9917 %
Root relative squared error 85.0401 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
2093 1753 | a = >50K
1280 11155 | b = <=50K
|
|
|