|
Experiments
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 3000
-E 0.01
-S 1761400854
-H 2
-M 0.01
Input Weights:
-0.46057449299869124 0.8733365816302279 age
0.3266935470615455 0.2786046052050368 workclass=Private
-0.5729477116825463 0.591795597702786 workclass=Self-emp-not-inc
-0.36345064163798546 -0.933792538006101 workclass=Self-emp-inc
-0.010111148299840167 0.03251373777963096 workclass=Federal-gov
0.33148205316614643 -0.49779723836106715 workclass=Local-gov
-0.7562249140338089 -0.8577486072576157 workclass=State-gov
-0.7631090437634767 0.04726231788416868 workclass=Without-pay
-0.06847810120918085 -0.2320668839439124 workclass=Never-worked
0.42447530513617715 0.3958837098337973 fnlwgt
-0.8202289018721045 -0.7457226419789862 education=Bachelors
0.3483125703012777 0.6602257659053479 education=Some-college
-0.8187909938228168 -0.20282781975293163 education=11th
0.21196759945188037 0.9383459922916033 education=HS-grad
-0.4749931445686466 0.5088868037652503 education=Prof-school
-0.9350791745217388 -0.7939573615881625 education=Assoc-acdm
-0.3213213841881173 0.1978484678000474 education=Assoc-voc
-0.8324940149705786 0.473159531283204 education=9th
-0.5836367893602568 -0.4427510020357963 education=7th-8th
-0.9260453612672686 -0.6174140710381075 education=12th
0.9438074360749236 0.2482580982282323 education=Masters
0.8993885868370977 0.7177266710187649 education=1st-4th
0.434749516605919 -0.44606563145843636 education=10th
0.9387572140717104 -0.46986251860984973 education=Doctorate
0.6064364445144943 -0.4883766220711052 education=5th-6th
-0.3823868036970661 0.30526489234188525 education=Preschool
0.8568515905049794 0.19103795431297788 education-num
0.4438383021354422 0.34650566919046555 marital-status=Married-civ-spouse
-0.010161726390722103 0.9024126390687313 marital-status=Divorced
-0.1927063328445573 0.5655611953272535 marital-status=Never-married
-0.612618747896567 -0.7320666966738507 marital-status=Separated
-0.9040411831309905 0.4035057995232554 marital-status=Widowed
0.9653052282537555 -0.712349118476262 marital-status=Married-spouse-absent
0.4612678005311215 -0.45092470478753177 marital-status=Married-AF-spouse
0.7777717876074881 -0.3603852651042392 occupation=Tech-support
0.8146253126052572 0.4391082044586687 occupation=Craft-repair
-0.2808467447527625 -0.3219090593704639 occupation=Other-service
-0.7421792044054845 -0.21470202487621948 occupation=Sales
-0.49515765290195635 -0.017713140140495964 occupation=Exec-managerial
0.4723326899486153 -0.7703645547327216 occupation=Prof-specialty
-0.3152326986194611 0.25356970711971716 occupation=Handlers-cleaners
-0.20984679625403357 0.940097893528556 occupation=Machine-op-inspct
-0.36196773890914624 0.09806385346868018 occupation=Adm-clerical
0.2593483415866136 -0.1360304348734802 occupation=Farming-fishing
-0.30886012064480517 -0.6561746542435121 occupation=Transport-moving
0.3624251290298861 -0.6018808233990385 occupation=Priv-house-serv
-0.8336151581430711 -0.548654591252248 occupation=Protective-serv
0.8497825574097322 -0.5531919464524588 occupation=Armed-Forces
0.3656843430869825 0.050506588742436076 relationship=Wife
-0.03708907706042508 0.8451200170709339 relationship=Own-child
-0.6134627577689908 -0.712362458201689 relationship=Husband
0.03514470018317217 -0.34941528833342517 relationship=Not-in-family
0.00293127626448908 -0.5519440275824765 relationship=Other-relative
-0.19199768144064877 -0.8385296158718589 relationship=Unmarried
0.4705530576894983 0.03129070306957682 race=White
-0.13146343257142568 0.11575101744994787 race=Asian-Pac-Islander
0.47204508010988455 -0.759395539497852 race=Amer-Indian-Eskimo
-0.6784990108529068 -0.6381450274159999 race=Other
-0.9624902913195208 0.6918305593260345 race=Black
0.4270880616973507 -0.5333098547368325 sex
0.28492607294874195 -0.6210340142770154 capital-gain
-0.42815535510172564 -0.07244339237212061 capital-loss
0.44533363054784836 -0.2707402195753561 hours-per-week
0.052192968829491315 -0.33438490201123683 native-country=United-States
-0.31700878475899485 -0.5437255053660419 native-country=Cambodia
-0.9643864482886417 0.6765219276720162 native-country=England
-0.400547651915228 -0.763087628116879 native-country=Puerto-Rico
0.3665567358828845 0.56938046843351 native-country=Canada
-0.4754450673673034 0.7027596407506842 native-country=Germany
0.088867989189237 0.3027409842069866 native-country=Outlying-US(Guam-USVI-etc)
-0.6575884220013541 0.39614538956551826 native-country=India
-0.5059799290903237 0.8842143389572741 native-country=Japan
-0.13394067632827356 0.08960905725321089 native-country=Greece
-0.1514299176608509 0.8902984207400431 native-country=South
0.9436835620570176 -0.05964472684494959 native-country=China
0.7225755915313234 -0.7690435206267237 native-country=Cuba
-0.5707681719903059 -0.5711801387541942 native-country=Iran
-0.1054535528630891 -0.9312151749596114 native-country=Honduras
0.8514704824579542 0.8365107888799881 native-country=Philippines
0.35294918128790576 0.7384663660275608 native-country=Italy
-0.36742421880330767 0.42039352781315853 native-country=Poland
-0.0018487560950135595 -0.9744180685698791 native-country=Jamaica
-0.3016140436222652 -0.4494047282928568 native-country=Vietnam
-0.33543135794301016 0.47544203355199266 native-country=Mexico
0.5394276373583373 -0.6498167109931383 native-country=Portugal
-0.7330071974612014 -0.6731341817872925 native-country=Ireland
-0.4295259236316047 -0.8909436159889179 native-country=France
-0.19230292176887165 -0.8890294691325831 native-country=Dominican-Republic
0.9361430772514912 0.5811540416329186 native-country=Laos
0.08578906265312192 -0.5770009007789543 native-country=Ecuador
-0.24589454380941 -0.2984364724915294 native-country=Taiwan
0.9949609255209062 0.4617074201736253 native-country=Haiti
0.8028026172181901 0.10777029918468095 native-country=Columbia
-0.10837825737144224 0.8253119209287489 native-country=Hungary
-0.4321332689351236 0.7910754111317608 native-country=Guatemala
0.6174557734561945 -0.9613389593325137 native-country=Nicaragua
-0.32484633216183334 -0.742321032627633 native-country=Scotland
-0.8324393375312371 0.2400989799388198 native-country=Thailand
-0.5333622082935454 0.6054259803299844 native-country=Yugoslavia
0.8500659337990017 0.3491367701497581 native-country=El-Salvador
0.8203368757346694 0.12680745436966068 native-country=Trinadad&Tobago
-0.9281662518195077 -0.5680112796267409 native-country=Peru
0.372630656548917 0.4803365056906017 native-country=Hong
0.9375875374708562 -0.46052736184521814 native-country=Holand-Netherlands
Hidden Weights:
0.8404215127935579 -0.737331504287549
0.1432402696692079 0.8069682535992593
>50K <=50K
Error sum for iteration 100 = 806.3851801086203
Error sum for iteration 200 = 800.9970196199365
Error sum for iteration 300 = 786.4425853425491
Error sum for iteration 400 = 772.0004517905838
Error sum for iteration 500 = 758.6760070306034
Error sum for iteration 600 = 746.7916783150405
Error sum for iteration 700 = 736.295502277709
Error sum for iteration 800 = 726.9195877649626
Error sum for iteration 900 = 718.3387032512942
Error sum for iteration 1000 = 710.2844877932753
Error sum for iteration 1100 = 702.6147645570197
Error sum for iteration 1200 = 695.2714489456476
Error sum for iteration 1300 = 688.2477082164047
Error sum for iteration 1400 = 681.5565089526804
Error sum for iteration 1500 = 675.2103695347528
Error sum for iteration 1600 = 669.2198214788433
Error sum for iteration 1700 = 663.5833558976994
Error sum for iteration 1800 = 658.296296566184
Error sum for iteration 1900 = 653.3442239680691
Error sum for iteration 2000 = 648.7098923191863
Error sum for iteration 2100 = 644.3743213700686
Error sum for iteration 2200 = 640.3184196183859
Error sum for iteration 2300 = 636.5210894280696
Error sum for iteration 2400 = 632.9611081319125
Error sum for iteration 2500 = 629.6212656292535
Error sum for iteration 2600 = 626.4847426126477
Error sum for iteration 2700 = 623.5368719463576
Error sum for iteration 2800 = 620.7631848193791
Error sum for iteration 2900 = 618.1510613308451
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 1761400854
-H 2
-M 0.01
Input Weights:
1.7688360950338138 -1.8877461293146047 age
-0.5967023243008647 0.4098207694851932 workclass=Private
-0.2091573552563576 2.929231337107734 workclass=Self-emp-not-inc
-0.36919702544646077 -0.5735692113318744 workclass=Self-emp-inc
-0.5549301786326459 -1.3478577963215712 workclass=Federal-gov
-2.0276969264068327 -0.08270556430870069 workclass=Local-gov
-0.4729936894670445 1.026955873881551 workclass=State-gov
-0.9910870801764735 0.3195799870121406 workclass=Without-pay
-0.2960845492422124 0.03597428409461155 workclass=Never-worked
2.1712984370000914 2.218094484181108 fnlwgt
-1.9010550599615204 -3.021615768012938 education=Bachelors
-1.0707774315022893 -0.3224691429375551 education=Some-college
-1.7133850911812325 0.6924272058630815 education=11th
-0.7950175576867436 -0.390264557918748 education=HS-grad
2.8098397061446816 1.825310286852816 education=Prof-school
-0.6656222651179108 -1.4608424611136186 education=Assoc-acdm
0.12815939923234246 0.7331966274614188 education=Assoc-voc
0.10816398337522748 2.4243469995272373 education=9th
-1.0204271033169092 0.6272275715710852 education=7th-8th
-1.996676696178239 2.424041073249773 education=12th
1.217276238489686 1.3132454233689792 education=Masters
-0.213006181110595 3.1332459490904654 education=1st-4th
-3.2737270359747197 -0.13199964527665137 education=10th
1.6904871829340928 -0.8800203787301428 education=Doctorate
0.6374062729446793 -1.4987400655590202 education=5th-6th
-1.1157503142974234 0.8086374695893023 education=Preschool
3.320393956275925 -0.9586939634630506 education-num
2.6060004962531114 -2.2193071581147588 marital-status=Married-civ-spouse
-1.1001472617501706 0.8878730216646684 marital-status=Divorced
-0.2114197404514419 2.9847716190786557 marital-status=Never-married
-0.13415707232724733 1.2319431228201747 marital-status=Separated
-0.7892282553392402 0.32360283795244404 marital-status=Widowed
-3.0949684471500363 0.567803400652384 marital-status=Married-spouse-absent
-0.5392930990753513 0.5665754596959031 marital-status=Married-AF-spouse
0.07258335462840146 -1.3622053336699902 occupation=Tech-support
-0.2973438480162543 -0.36354217352593154 occupation=Craft-repair
-0.262599947281122 1.362954954349432 occupation=Other-service
-0.007956255250285618 -0.3331239521607495 occupation=Sales
1.1520979632632795 -0.24076636794660658 occupation=Exec-managerial
0.21681695272030949 0.11709276159297909 occupation=Prof-specialty
0.08303185220042461 1.4891808290671094 occupation=Handlers-cleaners
0.3415680012620655 1.2264799456963316 occupation=Machine-op-inspct
-0.42728007399004936 0.5217801429883445 occupation=Adm-clerical
-3.6359034544930666 0.6438136036160629 occupation=Farming-fishing
-0.5590369080383389 0.2293773236873466 occupation=Transport-moving
-0.6984496954154593 0.9085118221533287 occupation=Priv-house-serv
-1.2942953957333676 -0.7637456122541425 occupation=Protective-serv
0.2980053009712016 0.010930917385353948 occupation=Armed-Forces
1.3898891314537918 0.9481941199848151 relationship=Wife
-1.062115347166077 2.3783427327558098 relationship=Own-child
-2.2309437485679102 -0.7697005284100722 relationship=Husband
-0.3822804776085805 -0.8459016984612825 relationship=Not-in-family
-1.166454037382396 0.1288575995925639 relationship=Other-relative
-0.17337498992800113 0.35615934290150053 relationship=Unmarried
0.7629767131173988 0.12120267748311668 race=White
-0.9266217042476345 -1.61823109076144 race=Asian-Pac-Islander
-0.1343911913961031 2.466169678406339 race=Amer-Indian-Eskimo
-3.263220977771812 2.5935924203610767 race=Other
-0.22748126107742486 -0.6368667880566969 race=Black
0.6293833214465228 -0.12302017506859422 sex
5.384538724225654 -4.290370918335659 capital-gain
2.450646045301987 -2.533702008251303 capital-loss
3.3138922522709144 -3.900915862476073 hours-per-week
-0.5331766762359952 -1.1853303214754918 native-country=United-States
1.5323118961614073 -3.515189649851296 native-country=Cambodia
-0.7271129154065232 1.2383400995216534 native-country=England
-0.21573449931187272 -0.3610318319975214 native-country=Puerto-Rico
1.6750556569437367 1.2412110102184348 native-country=Canada
-0.13884945065677254 -0.39290999836781626 native-country=Germany
-0.34242217435743394 0.6477134043398245 native-country=Outlying-US(Guam-USVI-etc)
-3.4731596709749564 1.9167557201156262 native-country=India
-1.6113134084340823 2.9581835315300204 native-country=Japan
-1.5626732831371442 1.7873201432425685 native-country=Greece
0.9874661739059469 1.2557202628531008 native-country=South
-0.5391515899732405 1.3331834797825888 native-country=China
-1.455874455027922 2.3937479272089495 native-country=Cuba
1.9594556858291874 -2.578142753368965 native-country=Iran
-1.4015880690306795 -0.7829843055440094 native-country=Honduras
0.9828243463277025 -1.3170674273577496 native-country=Philippines
1.4335480736986068 -1.1066156800784046 native-country=Italy
-0.5802297823037884 2.3171412374030815 native-country=Poland
0.9203217519583821 -3.5324041081491533 native-country=Jamaica
0.2959034721003127 0.44148860975481524 native-country=Vietnam
-1.0184414374354063 3.5688196414491458 native-country=Mexico
0.13926355591478062 -1.6264350529385365 native-country=Portugal
1.0473824419261641 -1.856220442393652 native-country=Ireland
-0.2282563686932192 -0.781889730343598 native-country=France
0.20116123849950981 -1.9493480985584188 native-country=Dominican-Republic
-0.5785002448334925 1.6161844011744788 native-country=Laos
-0.3678162542476901 0.025904131975603345 native-country=Ecuador
0.653423850985218 -0.7398707942179719 native-country=Taiwan
-1.0858750587771837 1.6176819367783297 native-country=Haiti
-2.294248310897239 3.124102709197381 native-country=Columbia
-0.33598470540453096 1.0933530889674026 native-country=Hungary
1.0584289216878664 -0.3372874208700447 native-country=Guatemala
-1.2935998018776567 1.0655025255482897 native-country=Nicaragua
-0.8453611797983644 -0.32344229858077356 native-country=Scotland
-0.7212614054997126 1.3799082356566716 native-country=Thailand
-1.2298943645931846 1.125099271706742 native-country=Yugoslavia
0.2921832895836492 1.8688098982344878 native-country=El-Salvador
-0.7258308293347288 0.834895175410275 native-country=Trinadad&Tobago
-1.5922166073103843 -0.4442720554864997 native-country=Peru
0.1437185117065336 0.7505223044397628 native-country=Hong
0.7099810894377419 -0.19248619380672558 native-country=Holand-Netherlands
Hidden Weights:
2.668223306983546 -2.6682233069835464
-2.264325743487562 2.2643257434875617
>50K <=50K
=== Error on training data ===
Correctly Classified Instances 4235 84.4467 %
Incorrectly Classified Instances 780 15.5533 %
Mean absolute error 0.2668
Root mean squared error 0.3322
Relative absolute error 72.2641 %
Root relative squared error 77.3257 %
Total Number of Instances 5015
=== Confusion Matrix ===
a b <-- classified as
764 461 | a = >50K
319 3471 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 13559 83.2811 %
Incorrectly Classified Instances 2722 16.7189 %
Mean absolute error 0.2761
Root mean squared error 0.3454
Relative absolute error 75.6176 %
Root relative squared error 81.3051 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
2295 1551 | a = >50K
1171 11264 | b = <=50K
|
|
|