|
Experiments
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 1000
-E 0.01
-S 1758327258
-H 2
-M 0.01
Input Weights:
-0.7159598027411922 -0.6560112274221384 age
0.5632300653324789 -0.6644753401809151 workclass=Private
0.9087776623919577 -0.5348834472989765 workclass=Self-emp-not-inc
-0.11261043993371378 -0.9184753683466533 workclass=Self-emp-inc
-0.5088034762753539 0.2170575732786535 workclass=Federal-gov
-0.8034900000178324 -0.5296341790772547 workclass=Local-gov
-0.6368365507822147 -0.580914831671741 workclass=State-gov
-0.9855669260550699 -0.8146819226146653 workclass=Without-pay
-0.8978756229555038 0.6037969074541467 workclass=Never-worked
-0.18271725720086196 0.5279199898092855 fnlwgt
0.08474481671205147 -0.7770322625284232 education=Bachelors
-0.9215814003787763 0.9412383251777965 education=Some-college
0.6276162660858748 0.5710637264115725 education=11th
0.806773341811404 0.08939428361683599 education=HS-grad
0.5793635423832415 -0.11937655297055083 education=Prof-school
0.7147491669418709 -0.6011242764980287 education=Assoc-acdm
0.10526678895989505 -0.34385326129238747 education=Assoc-voc
0.9675288884394793 0.7582382981524043 education=9th
0.023865929268683583 0.2286662823827279 education=7th-8th
-0.15970013932637706 0.49217940565561236 education=12th
0.5106503573781469 0.7806410835949276 education=Masters
-0.12643273283131085 -0.568152782953107 education=1st-4th
-0.03369399814318785 0.10278162971020555 education=10th
-0.5567201006230842 -0.8524206702442423 education=Doctorate
-0.8607043624827853 0.33722145576172013 education=5th-6th
-0.4305188656212442 -0.4612488121086509 education=Preschool
-0.4282561048812352 -0.4848313516942835 education-num
-0.36403983701598785 -0.0724894079390741 marital-status=Married-civ-spouse
0.5743857733713342 0.23563119360363105 marital-status=Divorced
-0.8110072389157823 -0.3879200514315859 marital-status=Never-married
0.29516993935761726 -0.8774120947284434 marital-status=Separated
0.674550435438452 -0.8720196758659011 marital-status=Widowed
0.18519164285819634 0.35240493951893037 marital-status=Married-spouse-absent
0.7529083525686455 0.9626692575358677 marital-status=Married-AF-spouse
0.036913678745361 -0.4835520004534697 occupation=Tech-support
-0.5662862556479125 -0.5148548859602324 occupation=Craft-repair
0.6188237367582801 0.1745483278865545 occupation=Other-service
-0.21662643069588894 0.795253765520832 occupation=Sales
-0.8027750760697157 -0.1941832334054736 occupation=Exec-managerial
-0.7060901857774504 0.06969543694031377 occupation=Prof-specialty
-0.5470339693414044 0.46059851899645654 occupation=Handlers-cleaners
0.4357853671466301 0.8787696225482367 occupation=Machine-op-inspct
0.5955414057978765 -0.40880314200192114 occupation=Adm-clerical
0.5579604687119961 0.55917202784013 occupation=Farming-fishing
0.06983399015812952 -0.536804310457482 occupation=Transport-moving
-0.3983314368419095 -0.16313223606749472 occupation=Priv-house-serv
-0.0437131560737285 0.7413581275667063 occupation=Protective-serv
-0.6410650133462719 0.8771661675179592 occupation=Armed-Forces
-0.1083241619414077 -0.3345045258016168 relationship=Wife
-0.12472226695110478 -0.7326831076814724 relationship=Own-child
-0.41312921737913033 0.3874721155212255 relationship=Husband
-0.4453448127770767 0.17468508796995752 relationship=Not-in-family
0.38571582985401864 0.07945807703058527 relationship=Other-relative
-0.5963606539883377 0.22905378927616793 relationship=Unmarried
0.9848891975837812 0.2382477499108131 race=White
0.3248240545225849 -0.6972088873555509 race=Asian-Pac-Islander
-0.2984852213018767 -0.06274870732146054 race=Amer-Indian-Eskimo
-0.545798878711903 -0.8467839195982623 race=Other
0.41035415719056934 -0.3032801151195097 race=Black
0.09498434501016684 0.2869520374420096 sex
-0.5536971493316158 0.07770870086995485 capital-gain
0.036209948329277486 0.939571386150494 capital-loss
0.9451079491144883 -0.6762040576743045 hours-per-week
-0.9927835975549986 0.8623671738120195 native-country=United-States
-0.06608366213636807 0.4879867708271026 native-country=Cambodia
0.10139116326994291 -0.10766579529504572 native-country=England
-0.764594517075903 0.9456179154293889 native-country=Puerto-Rico
-0.5593112053146045 -0.13413720375947435 native-country=Canada
-0.7394508057052274 0.30626812725622554 native-country=Germany
-0.2735432228723109 0.229440515679032 native-country=Outlying-US(Guam-USVI-etc)
0.9749772899931826 -0.8587473358086011 native-country=India
-0.9441230856412646 0.2037784098783202 native-country=Japan
0.7656077133542645 0.12456168421325375 native-country=Greece
-0.7555776442132183 -0.8330717343647009 native-country=South
0.23471299071878549 -0.025827437867095515 native-country=China
-0.5055308969836341 0.22659288932799893 native-country=Cuba
0.8285350412509525 -0.3486478919238285 native-country=Iran
0.5436655625378382 -0.9648506699688006 native-country=Honduras
-0.018566466612276677 0.6454461900638475 native-country=Philippines
0.2126820994725671 -0.36013110496861067 native-country=Italy
0.5325507813356862 0.7020564607435722 native-country=Poland
0.6931128476376245 0.5261174466815892 native-country=Jamaica
0.5520487263784692 0.2485082874417992 native-country=Vietnam
0.9589115817179032 0.5674204597165373 native-country=Mexico
0.4938279019758258 0.08094637555593232 native-country=Portugal
-0.32110663705363085 -0.9986252818468937 native-country=Ireland
-0.5392753248595008 0.9948329456701084 native-country=France
0.12734548319658145 0.05643824424316923 native-country=Dominican-Republic
0.10970868788838373 -0.7986005829442844 native-country=Laos
0.3522528899489281 -0.19266362392572844 native-country=Ecuador
-0.2844869878961218 -0.8432125852368442 native-country=Taiwan
-0.3726275834808206 -0.8243657340954404 native-country=Haiti
0.6221385052173944 -0.737954436643893 native-country=Columbia
-0.3095269878149669 0.7501532250372822 native-country=Hungary
0.80722387741891 -0.461604224062073 native-country=Guatemala
0.004319477021141438 -0.09370375933788 native-country=Nicaragua
-0.27742499452214675 0.45457691740126593 native-country=Scotland
0.16199462051175062 0.27470778573488674 native-country=Thailand
0.7071504974656904 0.536696488815293 native-country=Yugoslavia
0.33025703769433234 0.26246968299996465 native-country=El-Salvador
-0.05779211606224588 -0.9753058017617964 native-country=Trinadad&Tobago
0.3638973698845036 0.47243938806682606 native-country=Peru
0.5715830524403998 0.7958286581018543 native-country=Hong
-0.14568800815602767 0.5003146459738059 native-country=Holand-Netherlands
Hidden Weights:
-0.8356598255519347 0.8102711230375577
0.39987635027569435 -0.9170617717898604
>50K <=50K
Error sum for iteration 100 = 68.71976844805913
Error sum for iteration 200 = 66.28717795465332
Error sum for iteration 300 = 65.35728520611426
Error sum for iteration 400 = 65.64797925705786
Error sum for iteration 500 = 66.6234432976324
Error sum for iteration 600 = 67.75866620258688
Error sum for iteration 700 = 68.68064666230516
Error sum for iteration 800 = 69.31068548913797
Error sum for iteration 900 = 69.70912357967903
Options: -I 1000
Back Propagation Neural Network:
Numer Input Nodes: 104
Number Hidden Nodes: 2
Number Output Nodes: 2
-I 1000
-E 0.01
-S 1758327258
-H 2
-M 0.01
Input Weights:
-1.0829436465798328 -0.494701051643087 age
0.4358028214151618 -0.9185936299859256 workclass=Private
1.2606492387204278 -0.5782075250491159 workclass=Self-emp-not-inc
-0.5455642844522393 -0.6396319804967008 workclass=Self-emp-inc
-0.8794334152778056 0.32187864409245304 workclass=Federal-gov
0.2884174171771048 -0.5747784901217131 workclass=Local-gov
0.3685427320074455 -0.6236631854388909 workclass=State-gov
-0.8771278368497178 -0.8148012493077216 workclass=Without-pay
-0.7894365337501518 0.6036775807610905 workclass=Never-worked
-0.1904490804014005 0.5793966522921629 fnlwgt
0.3718228777236227 -0.6908730577358182 education=Bachelors
0.652206974444669 0.5306036807184233 education=Some-college
2.074237106964046 0.29317758367247504 education=11th
0.7799387839084663 0.2077484836106902 education=HS-grad
-1.679034856593628 0.229870526901011 education=Prof-school
0.4869487254136664 -0.7475409987865129 education=Assoc-acdm
-0.30982328394170267 -0.36028093395179667 education=Assoc-voc
1.7656821758261174 0.6021260941623982 education=9th
-0.5032802236433377 0.3960895370969609 education=7th-8th
-0.952873668555225 0.6944532100854137 education=12th
1.3850528112249407 0.9517431503055117 education=Masters
0.4866095360780935 -0.6429548508382573 education=1st-4th
1.2053221862439873 -0.06892652917127286 education=10th
-1.4122723553117318 -0.5482199145764091 education=Doctorate
-0.13588935403153907 0.19893813035040772 education=5th-6th
-0.2809017962482244 -0.47060208060853287 education=Preschool
-2.166128587892862 0.02745771970401562 education-num
-1.4684129715541638 0.24494620471481235 marital-status=Married-civ-spouse
0.2887133678855521 0.30840112738777403 marital-status=Divorced
0.5549893116157387 -0.6219702841800326 marital-status=Never-married
0.5028145425817432 -0.901122967834052 marital-status=Separated
1.622591240599431 -0.9351143699929948 marital-status=Widowed
0.5625313488042715 0.2877925645790159 marital-status=Married-spouse-absent
0.8705185658099531 0.9561419856228013 marital-status=Married-AF-spouse
-0.22442662923539042 -0.6259661278928067 occupation=Tech-support
-0.09797036633620507 -0.4989236599382412 occupation=Craft-repair
0.1511176609971816 -0.03512651162479186 occupation=Other-service
0.3059083118255316 0.6643780101243042 occupation=Sales
-1.1052319762993004 0.23737520124658115 occupation=Exec-managerial
-0.20032117764590604 0.3026508664233088 occupation=Prof-specialty
1.3051554292913925 0.07652499359311035 occupation=Handlers-cleaners
-8.776861897915819E-4 0.9972802876806952 occupation=Machine-op-inspct
0.09649757986530713 -0.30559462274739646 occupation=Adm-clerical
0.24499179328834314 0.5688423298790929 occupation=Farming-fishing
1.7541993634665525 -0.7181989573891409 occupation=Transport-moving
-0.289892347636581 -0.16325156276057662 occupation=Priv-house-serv
-0.6671912847564733 0.889381761326395 occupation=Protective-serv
-0.4933615845933027 0.8632349913029306 occupation=Armed-Forces
-0.6611804846068124 -0.08381259554959283 relationship=Wife
1.312022693496577 -0.9050000833270891 relationship=Own-child
-0.6274889098837609 0.3907242881434317 relationship=Husband
-0.6222726575973093 0.0614707282520042 relationship=Not-in-family
0.3009813773338217 0.18153950104566183 relationship=Other-relative
0.513919946949151 0.1568890240472283 relationship=Unmarried
0.33497026774590505 0.2916426392909882 race=White
-0.18181840742589753 -0.47231913901871075 race=Asian-Pac-Islander
0.6865102016126264 -0.1711203033586804 race=Amer-Indian-Eskimo
1.0318541454697026 -1.0762140973217629 race=Other
0.41397526155015524 -0.2453142260858375 race=Black
0.11149125663556249 0.10693886246172363 sex
-0.6144534209833253 0.11238855794671407 capital-gain
-2.312452842826031 1.2749569574265474 capital-loss
-0.7496315404549896 -0.19208987950547132 hours-per-week
0.2851126939080974 0.5574823912133053 native-country=United-States
-1.4906295580380438 0.7407486361664769 native-country=Cambodia
0.46922319614304975 -0.12398395608506593 native-country=England
0.8991907647429724 0.6867183193159402 native-country=Puerto-Rico
-1.576492079595136 0.053477781261268495 native-country=Canada
-0.3234042182105067 0.2917898934756026 native-country=Germany
-0.1651041336669881 0.2293211889859501 native-country=Outlying-US(Guam-USVI-etc)
0.1503166749286394 -0.8041888483949144 native-country=India
-0.8356839964359125 0.2036590831852383 native-country=Japan
0.8740468025596165 0.12444235752016453 native-country=Greece
-1.2216338362889685 -0.7987370314542899 native-country=South
0.3431520799241121 -0.025946764560177128 native-country=China
1.3723839872187023 0.09261845104864373 native-country=Cuba
0.008804417299088822 -0.18757874483753872 native-country=Iran
0.3855528980000594 -0.943800388406492 native-country=Honduras
0.42831310860007993 0.6332852033747641 native-country=Philippines
0.32147099441357907 -0.360043359762571 native-country=Italy
1.2085035106574518 0.6064927502589822 native-country=Poland
0.8019456385454091 0.5255117896872082 native-country=Jamaica
0.6604878155838213 0.2483889607487173 native-country=Vietnam
0.4379170254488117 0.6920132800018703 native-country=Mexico
1.0095488046576875 0.04429259631190276 native-country=Portugal
-0.21266754784830286 -0.9987446085399702 native-country=Ireland
-0.40212390924823865 0.9815428052064595 native-country=France
0.23632962351036957 0.05632982513808751 native-country=Dominican-Republic
0.7628631824847693 -0.8185091372149049 native-country=Laos
0.7795588558107956 -0.23189482600348546 native-country=Ecuador
-0.47067771516782936 -0.787393807535055 native-country=Taiwan
-0.26043137850975184 -0.8246736385428756 native-country=Haiti
0.7354402505915099 -0.7383026661926841 native-country=Columbia
-0.20108789860964268 0.750033898344226 native-country=Hungary
0.915662966624262 -0.4617235507551356 native-country=Guatemala
0.11275856622647187 -0.09382308603096923 native-country=Nicaragua
-0.1689859053168253 0.45445759070820335 native-country=Scotland
0.14500763849940326 0.3255516036912961 native-country=Thailand
0.8155895866710424 0.5365771621222367 native-country=Yugoslavia
0.43990126439577404 0.2624137398408131 native-country=El-Salvador
0.05064697314308517 -0.9754251284548526 native-country=Trinadad&Tobago
0.47233645908983213 0.4723200613737635 native-country=Peru
0.6800221416457518 0.7957093314087981 native-country=Hong
-0.0372489189506959 0.5001953192807458 native-country=Holand-Netherlands
Hidden Weights:
-4.67342137105156 4.671550815277942
0.8836323037067766 -0.8879489330371421
>50K <=50K
=== Error on training data ===
Correctly Classified Instances 452 87.767 %
Incorrectly Classified Instances 63 12.233 %
Mean absolute error 0.2428
Root mean squared error 0.3072
Relative absolute error 70.3106 %
Root relative squared error 73.9947 %
Total Number of Instances 515
=== Confusion Matrix ===
a b <-- classified as
71 43 | a = >50K
20 381 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 13378 82.1694 %
Incorrectly Classified Instances 2903 17.8306 %
Mean absolute error 0.2721
Root mean squared error 0.3534
Relative absolute error 76.9661 %
Root relative squared error 83.1655 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
1939 1907 | a = >50K
996 11439 | b = <=50K
|
|
|