1、physician-fee-freezeel-salvador-aidreligious-groups-in-schoolsanti-satellite-test-banaid-to-nicaraguan-contrasmx-missileimmigrationsynfuels-corporation-cutbackeducation-spendingsuperfund-right-to-suecrimeduty-free-exportsexport-administration-act-south-africa Class= Associator model (full training s
2、et) =Apriori=Minimum support: 0.5 (218 instances)Minimum metric : 0.9Number of cycles performed: 10Generated sets of large itemsets:Size of set of large itemsetsL(1): 12Large ItemsetsL(1):handicapped-infants=n 236adoption-of-the-budget-resolution=y 253physician-fee-freeze=n 247religious-groups-in-sc
3、hools=y 272anti-satellite-test-ban=y 239aid-to-nicaraguan-contras=y 242synfuels-corporation-cutback=n 264education-spending=n 233crime=y 248duty-free-exports=n 233export-administration-act-south-africa=y 269Class=democrat 267Size of set of large itemsetsL(2): 4Large ItemsetsL(2):adoption-of-the-budg
4、et-resolution=y physician-fee-freeze=n 219adoption-of-the-budget-resolution=y Class=democrat 231physician-fee-freeze=n Class=democrat 245aid-to-nicaraguan-contras=y Class=democrat 218Size of set of large itemsetsL(3): 1Large ItemsetsL(3):adoption-of-the-budget-resolution=y physician-fee-freeze=n Cla
5、ss=democrat 219Best rules found: 1. adoption-of-the-budget-resolution=y physician-fee-freeze=n 219 = Class=democrat 219 conf:(1) 2. physician-fee-freeze=n 247 = Class=democrat 245 conf:(0.99) 3. adoption-of-the-budget-resolution=y Class=democrat 231 = physician-fee-freeze=n 219 conf:(0.95) 4. Class=
6、democrat 267 = physician-fee-freeze=n 245 conf:(0.92) 5. adoption-of-the-budget-resolution=y 253 = Class=democrat 231 conf:(0.91) 6. aid-to-nicaraguan-contras=y 242 = Class=democrat 218 conf:(0.9)3) 结果分析:a) 该样本数据,数据记录数435个,17个属性,进行了10轮测试b) 最小支持度为0.5,即至少需要218个实例;c) 最小置信度为0.9;d) 进行了10轮搜索,频繁1项集 12个,频繁2
7、项集4个,频繁3项集1个;4. 分类算法-随机树分析b) 选择“Classify ”选项卡;c) 点击“Choose”按钮,选择“trees”“RandomTree”规则d) 设置 Cross-validation为10次weka.classifiers.trees.RandomTree -K 0 -M 1.0 -S 143517Test mode:10-fold cross-validation= Classifier model (full training set) =RandomTree=el-salvador-aid = n| physician-fee-freeze = n| |
8、duty-free-exports = n| | | anti-satellite-test-ban = n| | | | synfuels-corporation-cutback = n| | | | | crime = n : republican (0.96/0)| | | | | crime = y| | | | | | handicapped-infants = n : democrat (2.02/0.01)| | | | | | handicapped-infants = y : democrat (0.05/0)| | | | synfuels-corporation-cutb
9、ack = y| | | | | handicapped-infants = n : democrat (0.79/0.01)| | | | | handicapped-infants = y : democrat (2.12/0)| | | anti-satellite-test-ban = y| | | | adoption-of-the-budget-resolution = n democrat (1.26/0.01) republican (1.25/0.25)| | | | adoption-of-the-budget-resolution = y| | | | | handica
10、pped-infants = n| | | | | | crime = n : democrat (5.94/0.01)| | | | | | crime = y : democrat (5.15/0.12) democrat (36.99/0.09)| | duty-free-exports = y| | | crime = n : democrat (124.23/0.29)| | | crime = y| | | | handicapped-infants = n : democrat (16.9/0.38)| | | | handicapped-infants = y : democr
11、at (8.99/0.02)| physician-fee-freeze = y| | immigration = n| | | education-spending = n| | | | crime = n : democrat (1.09/0)| | | | crime = y : democrat (1.01/0.01)| | | education-spending = y : republican (1.06/0.02)| | immigration = y| | | synfuels-corporation-cutback = n| | | | religious-groups-i
12、n-schools = n : republican (3.02/0.01)| | | | religious-groups-in-schools = y : republican (1.54/0.04)| | | synfuels-corporation-cutback = y : republican (1.06/0.05)el-salvador-aid = y| synfuels-corporation-cutback = n| | physician-fee-freeze = n| | | handicapped-infants = n| | | | superfund-right-t
13、o-sue = n democrat (1.36/0)| | | | | | mx-missile = n : republican (1.01/0)| | | | | | mx-missile = y :| | | | superfund-right-to-sue = y : democrat (4.83/0.03)| | | handicapped-infants = y : democrat (8.42/0.02)| | physician-fee-freeze = y| | | adoption-of-the-budget-resolution = n| | | | export-ad
14、ministration-act-south-africa = n| | | | | mx-missile = n : republican (49.03/0)| | | | | mx-missile = y : democrat (0.11/0)| | | | export-administration-act-south-africa = y| | | | | duty-free-exports = n republican (60.67/0) republican (6.21/0.15)| | | | | duty-free-exports = y| | | | | | aid-to-n
15、icaraguan-contras = n| | | | | | | water-project-cost-sharing = n| | | | | | | | mx-missile = n : republican (3.12/0)| | | | | | | | mx-missile = y : democrat (0.01/0)| | | | | | | water-project-cost-sharing = y : democrat (1.15/0.14)| | | | | | aid-to-nicaraguan-contras = y : republican (0.16/0)| |
16、 | adoption-of-the-budget-resolution = y| | | | anti-satellite-test-ban = n| | | | | immigration = n : democrat (2.01/0.01)| | | | | immigration = y| | | | | | water-project-cost-sharing = n| | | | | | | mx-missile = n : republican (1.63/0)| | | | | | | mx-missile = y : republican (1.01/0.01)| | | |
17、 | | water-project-cost-sharing = y| | | | | | | superfund-right-to-sue = n : republican (0.45/0)| | | | | | | superfund-right-to-sue = y : republican (1.71/0.64)| | | | anti-satellite-test-ban = y republican (7.74/0) republican (4.05/0.03)| synfuels-corporation-cutback = y| | adoption-of-the-budget
18、-resolution = n| | | superfund-right-to-sue = n| | | | | physician-fee-freeze = n : democrat (1.39/0.01)| | | | | physician-fee-freeze = y| | | | | | water-project-cost-sharing = n :| | | | | | water-project-cost-sharing = y : democrat (1.05/0.05)| | | | anti-satellite-test-ban = y : democrat (1.13/
19、0.01)| | | superfund-right-to-sue = y| | | | education-spending = n| | | | | physician-fee-freeze = n democrat (0.09/0)| | | | | | crime = y| | | | | | | handicapped-infants = n :| | | | | | | handicapped-infants = y : democrat (1/0)| | | | | | immigration = n| | | | | | | export-administration-act-
20、south-africa = n : democrat (0.34/0.11)| | | | | | | export-administration-act-south-africa = y| | | | | | | | crime = n : democrat (0.16/0)| | | | | | | | crime = y| | | | | | | | | mx-missile = n| | | | | | | | | | handicapped-infants = n : republican (0.29/0)| | | | | | | | | | handicapped-infant
21、s = y : republican (1.88/0.87)| | | | | | | | | mx-missile = y :| | | | | | immigration = y :| | | | education-spending = y democrat (1.51/0.01) democrat (2.01/0) republican (1.02/0)| | | | | | | export-administration-act-south-africa = n| | | | | | | | handicapped-infants = n| | | | | | | | | immig
22、ration = n| | | | | | | | | | mx-missile = n| | | | | | | | | | | water-project-cost-sharing = n :| | | | | | | | | | | water-project-cost-sharing = y : republican (1.81/0)| | | | | | | | | | mx-missile = y :| | | | | | | | | immigration = y| | | | | | | | | | mx-missile = n : republican (2.78/0)| |
23、 | | | | | | handicapped-infants = y| | | | | | | | | mx-missile = n : republican (2/0) democrat (0.4/0) republican (8.77/0) democrat (0.02/0)| | adoption-of-the-budget-resolution = y| | | | handicapped-infants = n democrat (2.52/0.01)| | | | | crime = y : democrat (7.65/0.07) democrat (10.83/0.02)| | | | physician-fee-freeze = n democrat (2.42/0.01) democrat (2.28/0.03) democrat (4.17/0.01)| | | | physician-fee-freeze = y republican (2.3/0)Size of the tree : 143Time taken to build model: 0.01seconds= Stratified cross-validation = Summary =Correctly Classified Instances 407 93.563
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1