pip install ydf -U
import ydf
import pandas as pd
收集数据集和训练模型¶
ds_path = "https://raw.githubusercontent.com/google/yggdrasil-decision-forests/main/yggdrasil_decision_forests/test_data/dataset"
train_ds = pd.read_csv(f"{ds_path}/adult_train.csv")
test_ds = pd.read_csv(f"{ds_path}/adult_test.csv")
# 打印前5个训练样本
train_ds.head(5)
# 训练一个模型
model = ydf.RandomForestLearner(label="income").train(train_ds)
Train model on 22792 examples Model trained in 0:00:00.889971
模型描述¶
模型描述包含理解模型的两个关键信息:
变量重要性:变量重要性显示哪些特征对模型最为重要。得分高的变量对模型的预测更有用,而得分低的变量则相对较低。
变量重要性存在不同的衡量标准。例如,“num_nodes”表示决策树中使用特定特征的节点数量。
另一种变量重要性是“平均{减少,增加} [指标名称]”。这些指标显示如果去掉该特征,模型质量将下降多少(实际上,去掉一个特征是昂贵的,因此会对特征进行洗牌处理)。 例如,一个具有“平均准确率下降”0.1的特征意味着去掉这个特征会将模型的准确率降低约0.1。
YDF展示的变量重要性衡量标准相辅相成;单一指标无法全面理解模型。
结构:决策森林模型由决策树组成。模型描述的结构选项卡显示了模型中的第一棵决策树。这对于理解模型如何进行预测是很有帮助的。
model.describe()
Task : CLASSIFICATION
Label : income
Features (14) : age workclass fnlwgt education education_num marital_status occupation relationship race sex capital_gain capital_loss hours_per_week native_country
Weights : None
Trained with tuner : No
Model size : 107179 kB
Number of records: 22792 Number of columns: 15 Number of columns by type: CATEGORICAL: 9 (60%) NUMERICAL: 6 (40%) Columns: CATEGORICAL: 9 (60%) 0: "income" CATEGORICAL has-dict vocab-size:3 zero-ood-items most-frequent:"<=50K" 17308 (75.9389%) dtype:DTYPE_BYTES 2: "workclass" CATEGORICAL num-nas:1257 (5.51509%) has-dict vocab-size:8 num-oods:3 (0.0139308%) most-frequent:"Private" 15879 (73.7358%) dtype:DTYPE_BYTES 4: "education" CATEGORICAL has-dict vocab-size:17 zero-ood-items most-frequent:"HS-grad" 7340 (32.2043%) dtype:DTYPE_BYTES 6: "marital_status" CATEGORICAL has-dict vocab-size:8 zero-ood-items most-frequent:"Married-civ-spouse" 10431 (45.7661%) dtype:DTYPE_BYTES 7: "occupation" CATEGORICAL num-nas:1260 (5.52826%) has-dict vocab-size:14 num-oods:4 (0.018577%) most-frequent:"Prof-specialty" 2870 (13.329%) dtype:DTYPE_BYTES 8: "relationship" CATEGORICAL has-dict vocab-size:7 zero-ood-items most-frequent:"Husband" 9191 (40.3256%) dtype:DTYPE_BYTES 9: "race" CATEGORICAL has-dict vocab-size:6 zero-ood-items most-frequent:"White" 19467 (85.4115%) dtype:DTYPE_BYTES 10: "sex" CATEGORICAL has-dict vocab-size:3 zero-ood-items most-frequent:"Male" 15165 (66.5365%) dtype:DTYPE_BYTES 14: "native_country" CATEGORICAL num-nas:407 (1.78571%) has-dict vocab-size:41 num-oods:1 (0.00446728%) most-frequent:"United-States" 20436 (91.2933%) dtype:DTYPE_BYTES NUMERICAL: 6 (40%) 1: "age" NUMERICAL mean:38.6153 min:17 max:90 sd:13.661 dtype:DTYPE_INT64 3: "fnlwgt" NUMERICAL mean:189879 min:12285 max:1.4847e+06 sd:106423 dtype:DTYPE_INT64 5: "education_num" NUMERICAL mean:10.0927 min:1 max:16 sd:2.56427 dtype:DTYPE_INT64 11: "capital_gain" NUMERICAL mean:1081.9 min:0 max:99999 sd:7509.48 dtype:DTYPE_INT64 12: "capital_loss" NUMERICAL mean:87.2806 min:0 max:4356 sd:403.01 dtype:DTYPE_INT64 13: "hours_per_week" NUMERICAL mean:40.3955 min:1 max:99 sd:12.249 dtype:DTYPE_INT64 Terminology: nas: Number of non-available (i.e. missing) values. ood: Out of dictionary. manually-defined: Attribute whose type is manually defined by the user, i.e., the type was not automatically inferred. tokenized: The attribute value is obtained through tokenization. has-dict: The attribute is attached to a string dictionary e.g. a categorical attribute stored as a string. vocab-size: Number of unique values.
The following evaluation is computed on the validation or out-of-bag dataset.
Number of predictions (without weights): 22792 Number of predictions (with weights): 22792 Task: CLASSIFICATION Label: income Accuracy: 0.86504 CI95[W][0.861261 0.86875] LogLoss: : 0.553873 ErrorRate: : 0.13496 Default Accuracy: : 0.759389 Default LogLoss: : 0.551783 Default ErrorRate: : 0.240611 Confusion Table: truth\prediction <=50K >50K <=50K 16332 976 >50K 2100 3384 Total: 22792
Variable importances measure the importance of an input feature for a model.
1. "capital_gain" 0.257114 ################ 2. "occupation" 0.180923 ######### 3. "relationship" 0.174742 ######## 4. "age" 0.168138 ####### 5. "education" 0.158981 ####### 6. "education_num" 0.135442 ##### 7. "hours_per_week" 0.130342 #### 8. "marital_status" 0.127251 #### 9. "capital_loss" 0.109360 ## 10. "native_country" 0.099152 # 11. "workclass" 0.093803 # 12. "fnlwgt" 0.090826 # 13. "sex" 0.083221 14. "race" 0.079196
1. "relationship" 112.000000 ################ 2. "marital_status" 72.000000 ########## 3. "capital_gain" 47.000000 ###### 4. "age" 26.000000 ### 5. "education_num" 17.000000 ## 6. "education" 16.000000 ## 7. "sex" 4.000000 8. "occupation" 3.000000 9. "hours_per_week" 2.000000 10. "capital_loss" 1.000000
1. "fnlwgt" 42675.000000 ################ 2. "age" 35511.000000 ############# 3. "occupation" 22243.000000 ####### 4. "hours_per_week" 20670.000000 ###### 5. "workclass" 14154.000000 #### 6. "education" 12187.000000 ### 7. "native_country" 8259.000000 # 8. "education_num" 5939.000000 9. "capital_loss" 5823.000000 10. "relationship" 5739.000000 11. "capital_gain" 5647.000000 12. "marital_status" 5307.000000 13. "race" 4184.000000 14. "sex" 3820.000000
1. "relationship" 433858.904815 ################ 2. "capital_gain" 334790.855075 ############ 3. "marital_status" 299233.579206 ########## 4. "age" 252975.600507 ######### 5. "occupation" 223965.058088 ####### 6. "education" 200117.765345 ####### 7. "education_num" 154575.292088 ##### 8. "fnlwgt" 154205.723560 ##### 9. "hours_per_week" 127125.702869 #### 10. "capital_loss" 83300.645241 ## 11. "workclass" 69589.484423 ## 12. "native_country" 63947.686620 # 13. "sex" 21599.142087 14. "race" 16565.403860
Those variable importances are computed during training. More, and possibly more informative, variable importances are available when analyzing a model on a test dataset.
Only printing the first tree.
Tree #0: "capital_gain">=7073.5 [s:0.0599087 n:22792 np:984 miss:0] ; val:"<=50K" prob:[0.758117, 0.241883] ├─(pos)─ "education_num">=10.5 [s:0.0169105 n:984 np:631 miss:0] ; val:">50K" prob:[0.0162602, 0.98374] | ├─(pos)─ val:">50K" prob:[0, 1] | └─(neg)─ "marital_status" is in [BITMAP] {Married-civ-spouse, Divorced, Widowed, Married-spouse-absent} [s:0.0338831 n:353 np:309 miss:0] ; val:">50K" prob:[0.0453258, 0.954674] | ├─(pos)─ "age">=54.5 [s:0.0138487 n:309 np:83 miss:0] ; val:">50K" prob:[0.0194175, 0.980583] | | ├─(pos)─ "age">=63.5 [s:0.0330799 n:83 np:34 miss:0] ; val:">50K" prob:[0.060241, 0.939759] | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | └─(neg)─ "workclass" is in [BITMAP] {<OOD>, Private, Local-gov, Self-emp-inc, Federal-gov} [s:0.120433 n:49 np:41 miss:1] ; val:">50K" prob:[0.102041, 0.897959] | | | ├─(pos)─ "hours_per_week">=42.5 [s:0.0446453 n:41 np:7 miss:0] ; val:">50K" prob:[0.0243902, 0.97561] | | | | ├─(pos)─ val:">50K" prob:[0.142857, 0.857143] | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | └─(neg)─ val:"<=50K" prob:[0.5, 0.5] | | └─(neg)─ "occupation" is in [BITMAP] {<OOD>, Prof-specialty, Exec-managerial, Craft-repair, Sales, Other-service, Machine-op-inspct, Transport-moving, Handlers-cleaners, Farming-fishing, ...[2 left]} [s:0.0108318 n:226 np:206 miss:1] ; val:">50K" prob:[0.00442478, 0.995575] | | ├─(pos)─ val:">50K" prob:[0, 1] | | └─(neg)─ "fnlwgt">=93471 [s:0.0633469 n:20 np:14 miss:1] ; val:">50K" prob:[0.05, 0.95] | | ├─(pos)─ val:">50K" prob:[0, 1] | | └─(neg)─ val:">50K" prob:[0.166667, 0.833333] | └─(neg)─ "age">=20.5 [s:0.360411 n:44 np:36 miss:1] ; val:">50K" prob:[0.227273, 0.772727] | ├─(pos)─ "relationship" is in [BITMAP] {Not-in-family, Own-child} [s:0.098229 n:36 np:29 miss:0] ; val:">50K" prob:[0.0555556, 0.944444] | | ├─(pos)─ val:">50K" prob:[0, 1] | | └─(neg)─ val:">50K" prob:[0.285714, 0.714286] | └─(neg)─ val:"<=50K" prob:[1, 0] └─(neg)─ "age">=27.5 [s:0.0480935 n:21808 np:16092 miss:1] ; val:"<=50K" prob:[0.79159, 0.20841] ├─(pos)─ "marital_status" is in [BITMAP] {Married-civ-spouse} [s:0.0854872 n:16092 np:8886 miss:0] ; val:"<=50K" prob:[0.72651, 0.27349] | ├─(pos)─ "education" is in [BITMAP] {Some-college, Bachelors, Masters, Assoc-voc, Assoc-acdm, Prof-school, Doctorate} [s:0.0551913 n:8886 np:4863 miss:0] ; val:"<=50K" prob:[0.56876, 0.43124] | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Tech-support, Protective-serv} [s:0.040518 n:4863 np:2532 miss:0] ; val:">50K" prob:[0.421139, 0.578861] | | | ├─(pos)─ "capital_loss">=1794 [s:0.0244222 n:2532 np:289 miss:0] ; val:">50K" prob:[0.287125, 0.712875] | | | | ├─(pos)─ "age">=35.5 [s:0.0491393 n:289 np:235 miss:1] ; val:">50K" prob:[0.0449827, 0.955017] | | | | | ├─(pos)─ "age">=56.5 [s:0.0180709 n:235 np:29 miss:0] ; val:">50K" prob:[0.00851064, 0.991489] | | | | | | ├─(pos)─ "fnlwgt">=86032 [s:0.119262 n:29 np:23 miss:1] ; val:">50K" prob:[0.0689655, 0.931034] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ val:">50K" prob:[0.333333, 0.666667] | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | └─(neg)─ "education" is in [BITMAP] {Bachelors, Prof-school, Doctorate} [s:0.210668 n:54 np:31 miss:0] ; val:">50K" prob:[0.203704, 0.796296] | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | └─(neg)─ "capital_loss">=1989.5 [s:0.3082 n:23 np:10 miss:0] ; val:">50K" prob:[0.478261, 0.521739] | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Exec-managerial, Tech-support} [s:0.0748818 n:10 np:5 miss:0] ; val:"<=50K" prob:[0.9, 0.1] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Exec-managerial, Protective-serv} [s:0.170472 n:13 np:8 miss:0] ; val:">50K" prob:[0.153846, 0.846154] | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | └─(neg)─ val:">50K" prob:[0.4, 0.6] | | | | └─(neg)─ "education" is in [BITMAP] {Masters, Prof-school, Doctorate} [s:0.0198223 n:2243 np:625 miss:0] ; val:">50K" prob:[0.318324, 0.681676] | | | | ├─(pos)─ "native_country" is in [BITMAP] {United-States, Philippines, Germany, El-Salvador, Cuba, Japan, Taiwan, Poland, Portugal, Ecuador} [s:0.0299431 n:625 np:561 miss:0] ; val:">50K" prob:[0.1744, 0.8256] | | | | | ├─(pos)─ "age">=34.5 [s:0.0149602 n:561 np:481 miss:1] ; val:">50K" prob:[0.139037, 0.860963] | | | | | | ├─(pos)─ "age">=67.5 [s:0.0174852 n:481 np:15 miss:0] ; val:">50K" prob:[0.112266, 0.887734] | | | | | | | ├─(pos)─ "fnlwgt">=182790 [s:0.489979 n:15 np:7 miss:1] ; val:"<=50K" prob:[0.533333, 0.466667] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ val:">50K" prob:[0.125, 0.875] | | | | | | | └─(neg)─ "capital_gain">=3442 [s:0.00701676 n:466 np:10 miss:0] ; val:">50K" prob:[0.0987124, 0.901288] | | | | | | | ├─(pos)─ "fnlwgt">=192906 [s:0.42281 n:10 np:5 miss:0] ; val:">50K" prob:[0.4, 0.6] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Private, Self-emp-inc, Federal-gov} [s:0.00749674 n:456 np:282 miss:0] ; val:">50K" prob:[0.0921053, 0.907895] | | | | | | | ├─(pos)─ "fnlwgt">=151600 [s:0.0201295 n:282 np:173 miss:1] ; val:">50K" prob:[0.0638298, 0.93617] | | | | | | | | ├─(pos)─ "relationship" is in [BITMAP] {Husband} [s:0.0126974 n:173 np:159 miss:0] ; val:">50K" prob:[0.0982659, 0.901734] | | | | | | | | | ├─(pos)─ "hours_per_week">=53.5 [s:0.0267099 n:159 np:40 miss:0] ; val:">50K" prob:[0.081761, 0.918239] | | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.2, 0.8] | | | | | | | | | | └─(neg)─ val:">50K" prob:[0.0420168, 0.957983] | | | | | | | | | └─(neg)─ "hours_per_week">=35 [s:0.156651 n:14 np:9 miss:1] ; val:">50K" prob:[0.285714, 0.714286] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.444444, 0.555556] | | | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ "age">=36.5 [s:0.0292176 n:109 np:104 miss:1] ; val:">50K" prob:[0.00917431, 0.990826] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:">50K" prob:[0.2, 0.8] | | | | | | | └─(neg)─ "education" is in [BITMAP] {Prof-school} [s:0.0139494 n:174 np:43 miss:0] ; val:">50K" prob:[0.137931, 0.862069] | | | | | | | ├─(pos)─ "fnlwgt">=290363 [s:0.0223845 n:43 np:5 miss:0] ; val:">50K" prob:[0.0465116, 0.953488] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.2, 0.8] | | | | | | | | └─(neg)─ "hours_per_week">=67.5 [s:0.0461447 n:38 np:7 miss:0] ; val:">50K" prob:[0.0263158, 0.973684] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.142857, 0.857143] | | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Local-gov, State-gov} [s:0.020479 n:131 np:112 miss:0] ; val:">50K" prob:[0.167939, 0.832061] | | | | | | | ├─(pos)─ "age">=51.5 [s:0.035361 n:112 np:40 miss:0] ; val:">50K" prob:[0.133929, 0.866071] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.025, 0.975] | | | | | | | | └─(neg)─ val:">50K" prob:[0.194444, 0.805556] | | | | | | | └─(neg)─ "education" is in [BITMAP] {Masters} [s:0.0874922 n:19 np:13 miss:0] ; val:">50K" prob:[0.368421, 0.631579] | | | | | | | ├─(pos)─ val:">50K" prob:[0.230769, 0.769231] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | | └─(neg)─ "education" is in [BITMAP] {Prof-school} [s:0.0429791 n:80 np:30 miss:0] ; val:">50K" prob:[0.3, 0.7] | | | | | | ├─(pos)─ "fnlwgt">=183004 [s:0.152331 n:30 np:11 miss:1] ; val:">50K" prob:[0.133333, 0.866667] | | | | | | | ├─(pos)─ "fnlwgt">=208818 [s:0.103807 n:11 np:6 miss:0] ; val:">50K" prob:[0.363636, 0.636364] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.166667, 0.833333] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ "age">=29.5 [s:0.0544777 n:50 np:40 miss:1] ; val:">50K" prob:[0.4, 0.6] | | | | | | ├─(pos)─ "fnlwgt">=368744 [s:0.108618 n:40 np:6 miss:0] ; val:">50K" prob:[0.475, 0.525] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Exec-managerial} [s:0.136758 n:34 np:5 miss:0] ; val:"<=50K" prob:[0.558824, 0.441176] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Private, Self-emp-not-inc, State-gov, Self-emp-inc} [s:0.0820948 n:29 np:24 miss:0] ; val:"<=50K" prob:[0.655172, 0.344828] | | | | | | | ├─(pos)─ "fnlwgt">=179314 [s:0.0584291 n:24 np:12 miss:1] ; val:"<=50K" prob:[0.583333, 0.416667] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.416667, 0.583333] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.75, 0.25] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "sex" is in [BITMAP] {Male} [s:0.0748818 n:10 np:5 miss:0] ; val:">50K" prob:[0.1, 0.9] | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:">50K" prob:[0.2, 0.8] | | | | | └─(neg)─ "fnlwgt">=78081.5 [s:0.0864732 n:64 np:57 miss:1] ; val:">50K" prob:[0.484375, 0.515625] | | | | | ├─(pos)─ "age">=39 [s:0.0958961 n:57 np:31 miss:0] ; val:">50K" prob:[0.421053, 0.578947] | | | | | | ├─(pos)─ "native_country" is in [BITMAP] {Canada, China, Iran} [s:0.0902623 n:31 np:9 miss:0] ; val:">50K" prob:[0.225806, 0.774194] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "fnlwgt">=103596 [s:0.127081 n:22 np:16 miss:1] ; val:">50K" prob:[0.318182, 0.681818] | | | | | | | ├─(pos)─ "age">=45 [s:0.073365 n:16 np:8 miss:0] ; val:">50K" prob:[0.4375, 0.5625] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.625, 0.375] | | | | | | | | └─(neg)─ val:">50K" prob:[0.25, 0.75] | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ "fnlwgt">=176700 [s:0.0535151 n:26 np:8 miss:1] ; val:"<=50K" prob:[0.653846, 0.346154] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.875, 0.125] | | | | | | └─(neg)─ "education_num">=14.5 [s:0.328879 n:18 np:7 miss:0] ; val:"<=50K" prob:[0.555556, 0.444444] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "native_country" is in [BITMAP] {India, France, Hong} [s:0.280038 n:11 np:6 miss:0] ; val:">50K" prob:[0.272727, 0.727273] | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:"<=50K" prob:[0.6, 0.4] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "hours_per_week">=31 [s:0.010727 n:1618 np:1525 miss:1] ; val:">50K" prob:[0.373918, 0.626082] | | | | ├─(pos)─ "age">=33.5 [s:0.0113781 n:1525 np:1216 miss:1] ; val:">50K" prob:[0.356066, 0.643934] | | | | | ├─(pos)─ "hours_per_week">=64.5 [s:0.00827863 n:1216 np:52 miss:0] ; val:">50K" prob:[0.319079, 0.680921] | | | | | | ├─(pos)─ "native_country" is in [BITMAP] {United-States, Canada, Thailand} [s:0.119993 n:52 np:41 miss:0] ; val:"<=50K" prob:[0.615385, 0.384615] | | | | | | | ├─(pos)─ "age">=36.5 [s:0.089664 n:41 np:36 miss:1] ; val:"<=50K" prob:[0.512195, 0.487805] | | | | | | | | ├─(pos)─ "race" is in [BITMAP] {Black, Asian-Pac-Islander, Amer-Indian-Eskimo} [s:0.233199 n:36 np:11 miss:0] ; val:">50K" prob:[0.444444, 0.555556] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Self-emp-inc, Federal-gov} [s:0.104514 n:25 np:7 miss:0] ; val:"<=50K" prob:[0.64, 0.36] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.285714, 0.714286] | | | | | | | | | └─(neg)─ "fnlwgt">=251412 [s:0.0839205 n:18 np:5 miss:0] ; val:"<=50K" prob:[0.777778, 0.222222] | | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.692308, 0.307692] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "age">=59.5 [s:0.0123123 n:1164 np:58 miss:0] ; val:">50K" prob:[0.305842, 0.694158] | | | | | | ├─(pos)─ "education" is in [BITMAP] {Bachelors, Assoc-voc} [s:0.102699 n:58 np:30 miss:0] ; val:"<=50K" prob:[0.637931, 0.362069] | | | | | | | ├─(pos)─ "age">=61.5 [s:0.0849082 n:30 np:24 miss:0] ; val:">50K" prob:[0.433333, 0.566667] | | | | | | | | ├─(pos)─ "fnlwgt">=132249 [s:0.0281077 n:24 np:13 miss:1] ; val:">50K" prob:[0.333333, 0.666667] | | | | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Local-gov} [s:0.22029 n:13 np:7 miss:0] ; val:">50K" prob:[0.230769, 0.769231] | | | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | | | | └─(neg)─ "age">=64.5 [s:0.00501458 n:11 np:5 miss:0] ; val:">50K" prob:[0.454545, 0.545455] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | | | └─(neg)─ "fnlwgt">=212073 [s:0.0994475 n:28 np:13 miss:0] ; val:"<=50K" prob:[0.857143, 0.142857] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "fnlwgt">=179146 [s:0.093357 n:15 np:6 miss:1] ; val:"<=50K" prob:[0.733333, 0.266667] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.888889, 0.111111] | | | | | | └─(neg)─ "race" is in [BITMAP] {White} [s:0.0105089 n:1106 np:981 miss:0] ; val:">50K" prob:[0.288427, 0.711573] | | | | | | ├─(pos)─ "native_country" is in [BITMAP] {Mexico, Canada, Cuba, England, Italy, Poland, Greece, France, Ireland, Scotland} [s:0.00728758 n:981 np:23 miss:0] ; val:">50K" prob:[0.264016, 0.735984] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Private, Local-gov, Self-emp-inc, Federal-gov} [s:0.00835731 n:958 np:821 miss:0] ; val:">50K" prob:[0.270355, 0.729645] | | | | | | | ├─(pos)─ "fnlwgt">=120024 [s:0.00525091 n:821 np:625 miss:1] ; val:">50K" prob:[0.246041, 0.753959] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.2208, 0.7792] | | | | | | | | └─(neg)─ val:">50K" prob:[0.326531, 0.673469] | | | | | | | └─(neg)─ "age">=36.5 [s:0.0474754 n:137 np:123 miss:1] ; val:">50K" prob:[0.416058, 0.583942] | | | | | | | ├─(pos)─ val:">50K" prob:[0.365854, 0.634146] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.857143, 0.142857] | | | | | | └─(neg)─ "native_country" is in [BITMAP] {United-States, Philippines, India, Jamaica, China, Japan, Haiti} [s:0.088665 n:125 np:97 miss:0] ; val:">50K" prob:[0.48, 0.52] | | | | | | ├─(pos)─ "race" is in [BITMAP] {Asian-Pac-Islander} [s:0.0225796 n:97 np:28 miss:0] ; val:">50K" prob:[0.371134, 0.628866] | | | | | | | ├─(pos)─ "age">=47.5 [s:0.0963855 n:28 np:9 miss:0] ; val:">50K" prob:[0.214286, 0.785714] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:">50K" prob:[0.315789, 0.684211] | | | | | | | └─(neg)─ "age">=34.5 [s:0.062256 n:69 np:62 miss:1] ; val:">50K" prob:[0.434783, 0.565217] | | | | | | | ├─(pos)─ val:">50K" prob:[0.483871, 0.516129] | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Exec-managerial, Protective-serv} [s:0.0788625 n:28 np:17 miss:0] ; val:"<=50K" prob:[0.857143, 0.142857] | | | | | | ├─(pos)─ "native_country" is in [BITMAP] {<OOD>, South} [s:0.264397 n:17 np:7 miss:1] ; val:"<=50K" prob:[0.764706, 0.235294] | | | | | | | ├─(pos)─ val:">50K" prob:[0.428571, 0.571429] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "education_num">=11.5 [s:0.0336887 n:309 np:192 miss:0] ; val:"<=50K" prob:[0.501618, 0.498382] | | | | | ├─(pos)─ "native_country" is in [BITMAP] {<OOD>, United-States, India, England, China, Thailand, Hong} [s:0.0343486 n:192 np:185 miss:1] ; val:">50K" prob:[0.401042, 0.598958] | | | | | | ├─(pos)─ "race" is in [BITMAP] {Asian-Pac-Islander} [s:0.0321961 n:185 np:12 miss:0] ; val:">50K" prob:[0.378378, 0.621622] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "fnlwgt">=139866 [s:0.0302135 n:173 np:126 miss:1] ; val:">50K" prob:[0.404624, 0.595376] | | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Self-emp-not-inc, State-gov, Federal-gov} [s:0.0602415 n:126 np:11 miss:0] ; val:">50K" prob:[0.47619, 0.52381] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Tech-support} [s:0.0470553 n:115 np:7 miss:0] ; val:"<=50K" prob:[0.521739, 0.478261] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.555556, 0.444444] | | | | | | | └─(neg)─ "age">=29.5 [s:0.0582256 n:47 np:37 miss:1] ; val:">50K" prob:[0.212766, 0.787234] | | | | | | | ├─(pos)─ "fnlwgt">=109554 [s:0.178518 n:37 np:21 miss:1] ; val:">50K" prob:[0.27027, 0.72973] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.047619, 0.952381] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.5625, 0.4375] | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "race" is in [BITMAP] {White} [s:0.0400411 n:117 np:99 miss:0] ; val:"<=50K" prob:[0.666667, 0.333333] | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Self-emp-not-inc, Local-gov} [s:0.0468219 n:99 np:90 miss:0] ; val:"<=50K" prob:[0.616162, 0.383838] | | | | | | ├─(pos)─ "fnlwgt">=370480 [s:0.0607727 n:90 np:6 miss:0] ; val:"<=50K" prob:[0.577778, 0.422222] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Private, Self-emp-not-inc} [s:0.0686078 n:84 np:67 miss:0] ; val:"<=50K" prob:[0.619048, 0.380952] | | | | | | | ├─(pos)─ "fnlwgt">=83554.5 [s:0.0267832 n:67 np:60 miss:1] ; val:"<=50K" prob:[0.537313, 0.462687] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.857143, 0.142857] | | | | | | | └─(neg)─ "fnlwgt">=102124 [s:0.0765409 n:17 np:12 miss:1] ; val:"<=50K" prob:[0.941176, 0.0588235] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "sex" is in [BITMAP] {Male} [s:0.0339575 n:18 np:10 miss:0] ; val:"<=50K" prob:[0.944444, 0.0555556] | | | | | ├─(pos)─ "hours_per_week">=57.5 [s:0.0748818 n:10 np:5 miss:0] ; val:"<=50K" prob:[0.9, 0.1] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "hours_per_week">=26.5 [s:0.0729362 n:93 np:15 miss:1] ; val:"<=50K" prob:[0.666667, 0.333333] | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "occupation" is in [BITMAP] {Tech-support, Protective-serv} [s:0.0812552 n:78 np:15 miss:0] ; val:"<=50K" prob:[0.602564, 0.397436] | | | | ├─(pos)─ "age">=54.5 [s:0.181712 n:15 np:7 miss:0] ; val:">50K" prob:[0.2, 0.8] | | | | | ├─(pos)─ val:">50K" prob:[0.428571, 0.571429] | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | └─(neg)─ "relationship" is in [BITMAP] {Wife} [s:0.0467119 n:63 np:32 miss:0] ; val:"<=50K" prob:[0.698413, 0.301587] | | | | ├─(pos)─ "fnlwgt">=57656.5 [s:0.138394 n:32 np:24 miss:1] ; val:"<=50K" prob:[0.5625, 0.4375] | | | | | ├─(pos)─ "education_num">=12 [s:0.0552913 n:24 np:11 miss:0] ; val:"<=50K" prob:[0.708333, 0.291667] | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Self-emp-inc} [s:0.0359053 n:11 np:5 miss:0] ; val:"<=50K" prob:[0.545455, 0.454545] | | | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | | └─(neg)─ "fnlwgt">=193580 [s:0.135547 n:13 np:7 miss:0] ; val:"<=50K" prob:[0.846154, 0.153846] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | └─(neg)─ val:">50K" prob:[0.125, 0.875] | | | | └─(neg)─ "hours_per_week">=22.5 [s:0.0828318 n:31 np:6 miss:1] ; val:"<=50K" prob:[0.83871, 0.16129] | | | | ├─(pos)─ val:"<=50K" prob:[0.5, 0.5] | | | | └─(neg)─ "workclass" is in [BITMAP] {Private, Self-emp-inc} [s:0.0625 n:25 np:12 miss:0] ; val:"<=50K" prob:[0.92, 0.08] | | | | ├─(pos)─ "hours_per_week">=15.5 [s:0.132304 n:12 np:6 miss:1] ; val:"<=50K" prob:[0.833333, 0.166667] | | | | | ├─(pos)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "education" is in [BITMAP] {Bachelors, Masters, Doctorate} [s:0.0143658 n:2331 np:753 miss:0] ; val:"<=50K" prob:[0.56671, 0.43329] | | | ├─(pos)─ "capital_loss">=1794 [s:0.0288382 n:753 np:43 miss:0] ; val:">50K" prob:[0.444887, 0.555113] | | | | ├─(pos)─ "hours_per_week">=52.5 [s:0.0348524 n:43 np:10 miss:0] ; val:">50K" prob:[0.0232558, 0.976744] | | | | | ├─(pos)─ "age">=45.5 [s:0.0748818 n:10 np:5 miss:0] ; val:">50K" prob:[0.1, 0.9] | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:">50K" prob:[0.2, 0.8] | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | └─(neg)─ "workclass" is in [BITMAP] {Private, Self-emp-inc, Federal-gov} [s:0.0256632 n:710 np:512 miss:0] ; val:">50K" prob:[0.470423, 0.529577] | | | | ├─(pos)─ "native_country" is in [BITMAP] {<OOD>, United-States, Philippines, Germany, Canada, England, Italy, Iran, Poland, Haiti, ...[2 left]} [s:0.0300223 n:512 np:491 miss:1] ; val:">50K" prob:[0.400391, 0.599609] | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Adm-clerical, Sales} [s:0.0169603 n:491 np:301 miss:0] ; val:">50K" prob:[0.376782, 0.623218] | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Federal-gov} [s:0.00801537 n:301 np:14 miss:0] ; val:">50K" prob:[0.305648, 0.694352] | | | | | | | ├─(pos)─ "native_country" is in [BITMAP] {United-States, Germany} [s:0.064221 n:14 np:8 miss:0] ; val:">50K" prob:[0.0714286, 0.928571] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:">50K" prob:[0.166667, 0.833333] | | | | | | | └─(neg)─ "age">=56.5 [s:0.0111004 n:287 np:38 miss:0] ; val:">50K" prob:[0.317073, 0.682927] | | | | | | | ├─(pos)─ "age">=59.5 [s:0.2946 n:38 np:26 miss:0] ; val:"<=50K" prob:[0.5, 0.5] | | | | | | | | ├─(pos)─ "hours_per_week">=55 [s:0.0844564 n:26 np:6 miss:0] ; val:">50K" prob:[0.269231, 0.730769] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | | └─(neg)─ "hours_per_week">=32.5 [s:0.162244 n:20 np:14 miss:1] ; val:">50K" prob:[0.35, 0.65] | | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "hours_per_week">=44.5 [s:0.0192851 n:249 np:135 miss:0] ; val:">50K" prob:[0.289157, 0.710843] | | | | | | | ├─(pos)─ "age">=52.5 [s:0.0256334 n:135 np:14 miss:0] ; val:">50K" prob:[0.207407, 0.792593] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ "fnlwgt">=214519 [s:0.0259951 n:121 np:28 miss:0] ; val:">50K" prob:[0.231405, 0.768595] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.0714286, 0.928571] | | | | | | | | └─(neg)─ val:">50K" prob:[0.27957, 0.72043] | | | | | | | └─(neg)─ "hours_per_week">=32.5 [s:0.0256679 n:114 np:103 miss:1] ; val:">50K" prob:[0.385965, 0.614035] | | | | | | | ├─(pos)─ "native_country" is in [BITMAP] {<OOD>, Canada} [s:0.0215359 n:103 np:5 miss:1] ; val:">50K" prob:[0.349515, 0.650485] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:">50K" prob:[0.367347, 0.632653] | | | | | | | └─(neg)─ "age">=39.5 [s:0.280038 n:11 np:6 miss:0] ; val:"<=50K" prob:[0.727273, 0.272727] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:">50K" prob:[0.4, 0.6] | | | | | | └─(neg)─ "hours_per_week">=27.5 [s:0.0432197 n:190 np:179 miss:1] ; val:">50K" prob:[0.489474, 0.510526] | | | | | | ├─(pos)─ "capital_gain">=1551.5 [s:0.0431033 n:179 np:12 miss:0] ; val:">50K" prob:[0.458101, 0.541899] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "native_country" is in [BITMAP] {Germany, Italy, Iran, Poland, Haiti, Cambodia} [s:0.0603166 n:167 np:14 miss:0] ; val:">50K" prob:[0.491018, 0.508982] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "hours_per_week">=37.5 [s:0.0528318 n:153 np:143 miss:1] ; val:"<=50K" prob:[0.535948, 0.464052] | | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Self-emp-inc} [s:0.0281563 n:143 np:136 miss:0] ; val:"<=50K" prob:[0.573427, 0.426573] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.551471, 0.448529] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "native_country" is in {Mexico} [s:0.0723007 n:21 np:5 miss:0] ; val:"<=50K" prob:[0.952381, 0.047619] | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "hours_per_week">=7 [s:0.0462652 n:198 np:178 miss:1] ; val:"<=50K" prob:[0.651515, 0.348485] | | | | ├─(pos)─ "occupation" is in [BITMAP] {<OOD>, Craft-repair, Sales, Other-service, Machine-op-inspct, Farming-fishing} [s:0.0393778 n:178 np:153 miss:1] ; val:"<=50K" prob:[0.61236, 0.38764] | | | | | ├─(pos)─ "education" is in [BITMAP] {Masters, Doctorate} [s:0.0255913 n:153 np:32 miss:0] ; val:"<=50K" prob:[0.562092, 0.437908] | | | | | | ├─(pos)─ "hours_per_week">=57.5 [s:0.120095 n:32 np:6 miss:0] ; val:">50K" prob:[0.34375, 0.65625] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | | | └─(neg)─ "fnlwgt">=123080 [s:0.0854289 n:26 np:18 miss:1] ; val:">50K" prob:[0.230769, 0.769231] | | | | | | | ├─(pos)─ "fnlwgt">=204865 [s:0.083979 n:18 np:9 miss:0] ; val:">50K" prob:[0.111111, 0.888889] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.222222, 0.777778] | | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | └─(neg)─ "fnlwgt">=104724 [s:0.0393019 n:121 np:77 miss:1] ; val:"<=50K" prob:[0.619835, 0.380165] | | | | | | ├─(pos)─ "fnlwgt">=122948 [s:0.0905285 n:77 np:64 miss:1] ; val:"<=50K" prob:[0.519481, 0.480519] | | | | | | | ├─(pos)─ "fnlwgt">=376354 [s:0.0769095 n:64 np:9 miss:0] ; val:"<=50K" prob:[0.609375, 0.390625] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ "fnlwgt">=164382 [s:0.045304 n:55 np:38 miss:1] ; val:"<=50K" prob:[0.545455, 0.454545] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.447368, 0.552632] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.764706, 0.235294] | | | | | | | └─(neg)─ "hours_per_week">=46.5 [s:0.0787269 n:13 np:5 miss:0] ; val:">50K" prob:[0.0769231, 0.923077] | | | | | | | ├─(pos)─ val:">50K" prob:[0.2, 0.8] | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ "fnlwgt">=97185.5 [s:0.0401119 n:44 np:7 miss:1] ; val:"<=50K" prob:[0.795455, 0.204545] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "occupation" is in [BITMAP] {<OOD>, Sales, Other-service, Farming-fishing} [s:0.0500424 n:37 np:31 miss:1] ; val:"<=50K" prob:[0.756757, 0.243243] | | | | | | ├─(pos)─ "fnlwgt">=43931.5 [s:0.0456972 n:31 np:17 miss:1] ; val:"<=50K" prob:[0.709677, 0.290323] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.588235, 0.411765] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.857143, 0.142857] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "age">=50.5 [s:0.144167 n:25 np:5 miss:0] ; val:"<=50K" prob:[0.92, 0.08] | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "fnlwgt">=73251.5 [s:0.00607106 n:1578 np:1349 miss:1] ; val:"<=50K" prob:[0.624842, 0.375158] | | | ├─(pos)─ "capital_loss">=1794 [s:0.016674 n:1349 np:51 miss:0] ; val:"<=50K" prob:[0.60341, 0.39659] | | | | ├─(pos)─ "capital_loss">=2078 [s:0.336313 n:51 np:10 miss:0] ; val:">50K" prob:[0.156863, 0.843137] | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Adm-clerical, Sales, Machine-op-inspct, Transport-moving} [s:0.163897 n:10 np:5 miss:0] ; val:"<=50K" prob:[0.8, 0.2] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | └─(neg)─ "native_country" is in [BITMAP] {<OOD>, United-States, Philippines, Germany, Canada, Puerto-Rico, Cuba, England, Jamaica, South, ...[6 left]} [s:0.0131751 n:1298 np:1254 miss:1] ; val:"<=50K" prob:[0.620955, 0.379045] | | | | ├─(pos)─ "capital_gain">=2966 [s:0.0103907 n:1254 np:59 miss:0] ; val:"<=50K" prob:[0.608453, 0.391547] | | | | | ├─(pos)─ "age">=35.5 [s:0.0741433 n:59 np:53 miss:1] ; val:">50K" prob:[0.288136, 0.711864] | | | | | | ├─(pos)─ "capital_gain">=3120 [s:0.126778 n:53 np:33 miss:0] ; val:">50K" prob:[0.226415, 0.773585] | | | | | | | ├─(pos)─ "capital_gain">=4147 [s:0.269774 n:33 np:26 miss:0] ; val:">50K" prob:[0.363636, 0.636364] | | | | | | | | ├─(pos)─ "occupation" is in [BITMAP] {<OOD>, Adm-clerical, Machine-op-inspct, Transport-moving} [s:0.0934536 n:26 np:9 miss:1] ; val:">50K" prob:[0.192308, 0.807692] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | | └─(neg)─ "age">=45.5 [s:0.256148 n:17 np:5 miss:0] ; val:">50K" prob:[0.294118, 0.705882] | | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | | | | └─(neg)─ val:">50K" prob:[0.0833333, 0.916667] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | └─(neg)─ "occupation" is in [BITMAP] {<OOD>, Craft-repair, Adm-clerical, Sales} [s:0.0160017 n:1195 np:840 miss:1] ; val:"<=50K" prob:[0.624268, 0.375732] | | | | | ├─(pos)─ "race" is in [BITMAP] {Black, Asian-Pac-Islander, Other} [s:0.00804704 n:840 np:78 miss:0] ; val:"<=50K" prob:[0.569048, 0.430952] | | | | | | ├─(pos)─ "education" is in [BITMAP] {Some-college} [s:0.0518904 n:78 np:53 miss:0] ; val:">50K" prob:[0.371795, 0.628205] | | | | | | | ├─(pos)─ "age">=41.5 [s:0.114833 n:53 np:28 miss:0] ; val:">50K" prob:[0.264151, 0.735849] | | | | | | | | ├─(pos)─ "occupation" is in [BITMAP] {<OOD>, Craft-repair, Sales} [s:0.107751 n:28 np:21 miss:1] ; val:">50K" prob:[0.0714286, 0.928571] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | | └─(neg)─ val:">50K" prob:[0.285714, 0.714286] | | | | | | | | └─(neg)─ "hours_per_week">=42.5 [s:0.130292 n:25 np:8 miss:0] ; val:">50K" prob:[0.48, 0.52] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.125, 0.875] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.647059, 0.352941] | | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Local-gov, Federal-gov} [s:0.281875 n:25 np:6 miss:0] ; val:"<=50K" prob:[0.6, 0.4] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "education_num">=11.5 [s:0.160437 n:19 np:9 miss:0] ; val:"<=50K" prob:[0.789474, 0.210526] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | └─(neg)─ "native_country" is in [BITMAP] {Germany, Canada, Puerto-Rico, Cuba, England, Iran, Poland, Portugal} [s:0.00940645 n:762 np:26 miss:0] ; val:"<=50K" prob:[0.589239, 0.410761] | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Local-gov, Self-emp-inc, Federal-gov} [s:0.18996 n:26 np:21 miss:0] ; val:">50K" prob:[0.230769, 0.769231] | | | | | | | ├─(pos)─ "native_country" is in [BITMAP] {Canada, Cuba, England, Poland, Portugal} [s:0.0874753 n:21 np:12 miss:0] ; val:">50K" prob:[0.0952381, 0.904762] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:">50K" prob:[0.222222, 0.777778] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | └─(neg)─ "workclass" is in [BITMAP] {<OOD>, Private, Self-emp-inc, Federal-gov} [s:0.0107313 n:736 np:637 miss:1] ; val:"<=50K" prob:[0.601902, 0.398098] | | | | | | ├─(pos)─ "age">=38.5 [s:0.0149706 n:637 np:377 miss:1] ; val:"<=50K" prob:[0.574568, 0.425432] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.503979, 0.496021] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.676923, 0.323077] | | | | | | └─(neg)─ "age">=32.5 [s:0.0490093 n:99 np:85 miss:1] ; val:"<=50K" prob:[0.777778, 0.222222] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.835294, 0.164706] | | | | | | └─(neg)─ val:">50K" prob:[0.428571, 0.571429] | | | | | └─(neg)─ "age">=28.5 [s:0.0168783 n:355 np:348 miss:1] ; val:"<=50K" prob:[0.75493, 0.24507] | | | | | ├─(pos)─ "fnlwgt">=83158.5 [s:0.0220571 n:348 np:340 miss:1] ; val:"<=50K" prob:[0.767241, 0.232759] | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Self-emp-not-inc, State-gov, Self-emp-inc} [s:0.0228187 n:340 np:310 miss:0] ; val:"<=50K" prob:[0.782353, 0.217647] | | | | | | | ├─(pos)─ "age">=64 [s:0.00805353 n:310 np:9 miss:0] ; val:"<=50K" prob:[0.76129, 0.23871] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.754153, 0.245847] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:">50K" prob:[0.125, 0.875] | | | | | └─(neg)─ val:">50K" prob:[0.142857, 0.857143] | | | | └─(neg)─ "occupation" is in [BITMAP] {Adm-clerical} [s:0.0432255 n:44 np:7 miss:0] ; val:"<=50K" prob:[0.977273, 0.0227273] | | | | ├─(pos)─ val:"<=50K" prob:[0.857143, 0.142857] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "age">=40.5 [s:0.0399904 n:229 np:122 miss:0] ; val:"<=50K" prob:[0.751092, 0.248908] | | | ├─(pos)─ "capital_loss">=1738 [s:0.0805621 n:122 np:9 miss:0] ; val:"<=50K" prob:[0.639344, 0.360656] | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | └─(neg)─ "hours_per_week">=32 [s:0.053648 n:113 np:98 miss:1] ; val:"<=50K" prob:[0.690265, 0.309735] | | | | ├─(pos)─ "education" is in [BITMAP] {Assoc-voc, Assoc-acdm, Prof-school} [s:0.0303522 n:98 np:18 miss:0] ; val:"<=50K" prob:[0.642857, 0.357143] | | | | | ├─(pos)─ "workclass" is in [BITMAP] {<OOD>, Self-emp-not-inc, State-gov, Self-emp-inc} [s:0.322592 n:18 np:11 miss:1] ; val:">50K" prob:[0.388889, 0.611111] | | | | | | ├─(pos)─ "fnlwgt">=45567 [s:0.0771804 n:11 np:6 miss:1] ; val:">50K" prob:[0.0909091, 0.909091] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ val:">50K" prob:[0.2, 0.8] | | | | | | └─(neg)─ val:"<=50K" prob:[0.857143, 0.142857] | | | | | └─(neg)─ "workclass" is in [BITMAP] {Private, State-gov, Federal-gov} [s:0.110729 n:80 np:52 miss:0] ; val:"<=50K" prob:[0.7, 0.3] | | | | | ├─(pos)─ "hours_per_week">=47 [s:0.100841 n:52 np:8 miss:0] ; val:"<=50K" prob:[0.557692, 0.442308] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "fnlwgt">=44383.5 [s:0.106549 n:44 np:21 miss:1] ; val:">50K" prob:[0.477273, 0.522727] | | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Craft-repair} [s:0.23736 n:21 np:11 miss:0] ; val:"<=50K" prob:[0.714286, 0.285714] | | | | | | | ├─(pos)─ val:">50K" prob:[0.454545, 0.545455] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Adm-clerical, Transport-moving} [s:0.113747 n:23 np:7 miss:0] ; val:">50K" prob:[0.26087, 0.73913] | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:">50K" prob:[0.375, 0.625] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Sales} [s:0.0575273 n:28 np:6 miss:0] ; val:"<=50K" prob:[0.964286, 0.0357143] | | | | | ├─(pos)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "fnlwgt">=29712 [s:0.0531952 n:107 np:94 miss:1] ; val:"<=50K" prob:[0.878505, 0.121495] | | | ├─(pos)─ "occupation" is in [BITMAP] {Craft-repair, Adm-clerical, Machine-op-inspct, Transport-moving} [s:0.0405872 n:94 np:56 miss:0] ; val:"<=50K" prob:[0.925532, 0.0744681] | | | | ├─(pos)─ "fnlwgt">=65553 [s:0.0301848 n:56 np:9 miss:1] ; val:"<=50K" prob:[0.875, 0.125] | | | | | ├─(pos)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Craft-repair, Transport-moving} [s:0.0435244 n:47 np:29 miss:0] ; val:"<=50K" prob:[0.914894, 0.0851064] | | | | | ├─(pos)─ "hours_per_week">=47.5 [s:0.187995 n:29 np:9 miss:0] ; val:"<=50K" prob:[0.862069, 0.137931] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.555556, 0.444444] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "age">=36.5 [s:0.0906073 n:13 np:8 miss:1] ; val:"<=50K" prob:[0.538462, 0.461538] | | | ├─(pos)─ val:">50K" prob:[0.375, 0.625] | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | └─(neg)─ "education" is in [BITMAP] {HS-grad, 10th, 12th} [s:0.0170254 n:4023 np:3275 miss:0] ; val:"<=50K" prob:[0.747204, 0.252796] | | ├─(pos)─ "capital_gain">=5095.5 [s:0.0105225 n:3275 np:35 miss:0] ; val:"<=50K" prob:[0.711756, 0.288244] | | | ├─(pos)─ "age">=57.5 [s:0.122888 n:35 np:5 miss:0] ; val:">50K" prob:[0.0571429, 0.942857] | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | └─(neg)─ "capital_loss">=1782.5 [s:0.0111123 n:3240 np:110 miss:0] ; val:"<=50K" prob:[0.718827, 0.281173] | | | ├─(pos)─ "occupation" is in [BITMAP] {<OOD>, Prof-specialty, Exec-managerial, Sales, Machine-op-inspct, Transport-moving, Tech-support, Protective-serv} [s:0.122419 n:110 np:64 miss:1] ; val:">50K" prob:[0.336364, 0.663636] | | | | ├─(pos)─ "capital_loss">=2014 [s:0.193853 n:64 np:13 miss:0] ; val:">50K" prob:[0.140625, 0.859375] | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial} [s:0.666278 n:13 np:5 miss:0] ; val:"<=50K" prob:[0.615385, 0.384615] | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "occupation" is in [BITMAP] {<OOD>, Prof-specialty, Exec-managerial, Sales, Transport-moving, Tech-support, Protective-serv} [s:0.0435017 n:51 np:45 miss:1] ; val:">50K" prob:[0.0196078, 0.980392] | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | └─(neg)─ val:">50K" prob:[0.166667, 0.833333] | | | | └─(neg)─ "capital_loss">=1989.5 [s:0.375998 n:46 np:30 miss:0] ; val:"<=50K" prob:[0.608696, 0.391304] | | | | ├─(pos)─ "capital_loss">=2093 [s:0.212914 n:30 np:5 miss:0] ; val:"<=50K" prob:[0.9, 0.1] | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "age">=39 [s:0.0774159 n:16 np:11 miss:0] ; val:">50K" prob:[0.0625, 0.9375] | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | └─(neg)─ val:">50K" prob:[0.2, 0.8] | | | └─(neg)─ "hours_per_week">=35.5 [s:0.013726 n:3130 np:2681 miss:1] ; val:"<=50K" prob:[0.732268, 0.267732] | | | ├─(pos)─ "native_country" is in [BITMAP] {<OOD>, United-States, Mexico, Germany, Canada, Cuba, England, Dominican-Republic, South, Italy, ...[6 left]} [s:0.011046 n:2681 np:2598 miss:1] ; val:"<=50K" prob:[0.704588, 0.295412] | | | | ├─(pos)─ "age">=36.5 [s:0.0137837 n:2598 np:1789 miss:1] ; val:"<=50K" prob:[0.69515, 0.30485] | | | | | ├─(pos)─ "age">=53.5 [s:0.00282265 n:1789 np:533 miss:0] ; val:"<=50K" prob:[0.645053, 0.354947] | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {<OOD>, Private, Self-emp-not-inc, State-gov, Self-emp-inc, Federal-gov} [s:0.0220566 n:533 np:491 miss:1] ; val:"<=50K" prob:[0.699812, 0.300188] | | | | | | | ├─(pos)─ "occupation" is in [BITMAP] {<OOD>, Prof-specialty, Exec-managerial, Craft-repair, Adm-clerical, Sales, Transport-moving, Handlers-cleaners, Tech-support} [s:0.0302252 n:491 np:379 miss:1] ; val:"<=50K" prob:[0.676171, 0.323829] | | | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Self-emp-inc, Federal-gov} [s:0.0142801 n:379 np:42 miss:0] ; val:"<=50K" prob:[0.617414, 0.382586] | | | | | | | | | ├─(pos)─ "sex" is in [BITMAP] {Female} [s:0.0619672 n:42 np:5 miss:0] ; val:">50K" prob:[0.380952, 0.619048] | | | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | | | └─(neg)─ val:">50K" prob:[0.432432, 0.567568] | | | | | | | | | └─(neg)─ "relationship" is in [BITMAP] {Husband} [s:0.0199503 n:337 np:322 miss:0] ; val:"<=50K" prob:[0.646884, 0.353116] | | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.630435, 0.369565] | | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ "fnlwgt">=193580 [s:0.0562939 n:112 np:38 miss:0] ; val:"<=50K" prob:[0.875, 0.125] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ "age">=54.5 [s:0.04972 n:74 np:68 miss:0] ; val:"<=50K" prob:[0.810811, 0.189189] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.852941, 0.147059] | | | | | | | | └─(neg)─ val:">50K" prob:[0.333333, 0.666667] | | | | | | | └─(neg)─ "age">=61.5 [s:0.025041 n:42 np:15 miss:0] ; val:"<=50K" prob:[0.97619, 0.0238095] | | | | | | | ├─(pos)─ "age">=62.5 [s:0.0781292 n:15 np:10 miss:0] ; val:"<=50K" prob:[0.933333, 0.0666667] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Craft-repair, Adm-clerical, Sales, Machine-op-inspct, Transport-moving, Tech-support, Protective-serv} [s:0.0242673 n:1256 np:1061 miss:0] ; val:"<=50K" prob:[0.621815, 0.378185] | | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Adm-clerical, Tech-support} [s:0.0117647 n:1061 np:281 miss:0] ; val:"<=50K" prob:[0.578699, 0.421301] | | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Local-gov, Self-emp-inc, Federal-gov} [s:0.0328531 n:281 np:74 miss:0] ; val:">50K" prob:[0.451957, 0.548043] | | | | | | | | ├─(pos)─ "fnlwgt">=210103 [s:0.0400182 n:74 np:20 miss:0] ; val:">50K" prob:[0.243243, 0.756757] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.45, 0.55] | | | | | | | | | └─(neg)─ val:">50K" prob:[0.166667, 0.833333] | | | | | | | | └─(neg)─ "fnlwgt">=131966 [s:0.0307803 n:207 np:135 miss:1] ; val:"<=50K" prob:[0.52657, 0.47343] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.437037, 0.562963] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.694444, 0.305556] | | | | | | | └─(neg)─ "hours_per_week">=44.5 [s:0.011545 n:780 np:288 miss:0] ; val:"<=50K" prob:[0.624359, 0.375641] | | | | | | | ├─(pos)─ "age">=41.5 [s:0.0161359 n:288 np:188 miss:0] ; val:"<=50K" prob:[0.527778, 0.472222] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.462766, 0.537234] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.65, 0.35] | | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Local-gov, Federal-gov} [s:0.0118446 n:492 np:50 miss:0] ; val:"<=50K" prob:[0.680894, 0.319106] | | | | | | | ├─(pos)─ val:">50K" prob:[0.46, 0.54] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.705882, 0.294118] | | | | | | └─(neg)─ "hours_per_week">=47 [s:0.0170851 n:195 np:56 miss:0] ; val:"<=50K" prob:[0.85641, 0.14359] | | | | | | ├─(pos)─ "hours_per_week">=65 [s:0.051134 n:56 np:17 miss:0] ; val:"<=50K" prob:[0.75, 0.25] | | | | | | | ├─(pos)─ "fnlwgt">=155340 [s:0.0765409 n:17 np:5 miss:1] ; val:"<=50K" prob:[0.941176, 0.0588235] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "workclass" is in [BITMAP] {<OOD>, Private} [s:0.144552 n:39 np:13 miss:1] ; val:"<=50K" prob:[0.666667, 0.333333] | | | | | | | ├─(pos)─ val:">50K" prob:[0.307692, 0.692308] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.846154, 0.153846] | | | | | | └─(neg)─ "workclass" is in [BITMAP] {State-gov, Self-emp-inc} [s:0.028551 n:139 np:9 miss:0] ; val:"<=50K" prob:[0.899281, 0.100719] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.555556, 0.444444] | | | | | | └─(neg)─ "hours_per_week">=44.5 [s:0.00983934 n:130 np:15 miss:0] ; val:"<=50K" prob:[0.923077, 0.0769231] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.913043, 0.0869565] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Craft-repair, Adm-clerical, Sales, Other-service, Machine-op-inspct, Tech-support, Protective-serv} [s:0.0180931 n:809 np:606 miss:0] ; val:"<=50K" prob:[0.805933, 0.194067] | | | | | ├─(pos)─ "fnlwgt">=101306 [s:0.0146936 n:606 np:509 miss:1] ; val:"<=50K" prob:[0.765677, 0.234323] | | | | | | ├─(pos)─ "relationship" is in [BITMAP] {Wife} [s:0.0142652 n:509 np:47 miss:0] ; val:"<=50K" prob:[0.736739, 0.263261] | | | | | | | ├─(pos)─ "age">=30.5 [s:0.120645 n:47 np:36 miss:1] ; val:">50K" prob:[0.489362, 0.510638] | | | | | | | | ├─(pos)─ "age">=31.5 [s:0.100004 n:36 np:29 miss:1] ; val:">50K" prob:[0.361111, 0.638889] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.448276, 0.551724] | | | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ "fnlwgt">=191956 [s:0.0588755 n:11 np:5 miss:0] ; val:"<=50K" prob:[0.909091, 0.0909091] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | | | └─(neg)─ "race" is in [BITMAP] {White} [s:0.0221995 n:462 np:426 miss:0] ; val:"<=50K" prob:[0.761905, 0.238095] | | | | | | | ├─(pos)─ "native_country" is in [BITMAP] {<OOD>, Cuba, Iran, Ireland, Yugoslavia} [s:0.0158555 n:426 np:16 miss:1] ; val:"<=50K" prob:[0.741784, 0.258216] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.3125, 0.6875] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.758537, 0.241463] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "capital_gain">=1551.5 [s:0.0422346 n:97 np:6 miss:0] ; val:"<=50K" prob:[0.917526, 0.0824742] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | └─(neg)─ "age">=34.5 [s:0.0140801 n:91 np:20 miss:1] ; val:"<=50K" prob:[0.945055, 0.0549451] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "hours_per_week">=46.5 [s:0.0148287 n:71 np:13 miss:0] ; val:"<=50K" prob:[0.929577, 0.0704225] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.913793, 0.0862069] | | | | | └─(neg)─ "hours_per_week">=44.5 [s:0.0345315 n:203 np:85 miss:0] ; val:"<=50K" prob:[0.926108, 0.0738916] | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private} [s:0.0367514 n:85 np:55 miss:0] ; val:"<=50K" prob:[0.847059, 0.152941] | | | | | | ├─(pos)─ "age">=29.5 [s:0.0391266 n:55 np:47 miss:1] ; val:"<=50K" prob:[0.781818, 0.218182] | | | | | | | ├─(pos)─ "hours_per_week">=72.5 [s:0.20494 n:47 np:6 miss:0] ; val:"<=50K" prob:[0.744681, 0.255319] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.853659, 0.146341] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "fnlwgt">=134045 [s:0.050451 n:30 np:23 miss:1] ; val:"<=50K" prob:[0.966667, 0.0333333] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.857143, 0.142857] | | | | | └─(neg)─ "sex" is in [BITMAP] {Female} [s:0.00948217 n:118 np:11 miss:0] ; val:"<=50K" prob:[0.983051, 0.0169492] | | | | | ├─(pos)─ "race" is in [BITMAP] {White} [s:0.0771805 n:11 np:5 miss:0] ; val:"<=50K" prob:[0.909091, 0.0909091] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "age">=30.5 [s:0.010008 n:107 np:70 miss:1] ; val:"<=50K" prob:[0.990654, 0.00934579] | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "fnlwgt">=137341 [s:0.0312229 n:37 np:25 miss:1] ; val:"<=50K" prob:[0.972973, 0.027027] | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:"<=50K" prob:[0.916667, 0.0833333] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Other-service, Handlers-cleaners, Tech-support} [s:0.0309487 n:449 np:151 miss:0] ; val:"<=50K" prob:[0.89755, 0.10245] | | | ├─(pos)─ "native_country" is in [BITMAP] {Cuba, South} [s:0.0285493 n:151 np:7 miss:0] ; val:"<=50K" prob:[0.788079, 0.211921] | | | | ├─(pos)─ val:">50K" prob:[0.285714, 0.714286] | | | | └─(neg)─ "capital_gain">=1203.5 [s:0.0213637 n:144 np:14 miss:0] ; val:"<=50K" prob:[0.8125, 0.1875] | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "relationship" is in [BITMAP] {Wife} [s:0.0711772 n:130 np:45 miss:0] ; val:"<=50K" prob:[0.792308, 0.207692] | | | | ├─(pos)─ "occupation" is in [BITMAP] {Exec-managerial, Handlers-cleaners} [s:0.229094 n:45 np:13 miss:0] ; val:"<=50K" prob:[0.577778, 0.422222] | | | | | ├─(pos)─ "age">=51.5 [s:0.0787269 n:13 np:5 miss:0] ; val:">50K" prob:[0.0769231, 0.923077] | | | | | | ├─(pos)─ val:">50K" prob:[0.2, 0.8] | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | └─(neg)─ "age">=38.5 [s:0.122507 n:32 np:19 miss:1] ; val:"<=50K" prob:[0.78125, 0.21875] | | | | | ├─(pos)─ "hours_per_week">=14 [s:0.0745072 n:19 np:14 miss:1] ; val:"<=50K" prob:[0.947368, 0.0526316] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | └─(neg)─ "hours_per_week">=22 [s:0.0742648 n:13 np:7 miss:1] ; val:"<=50K" prob:[0.538462, 0.461538] | | | | | ├─(pos)─ val:"<=50K" prob:[0.714286, 0.285714] | | | | | └─(neg)─ val:">50K" prob:[0.333333, 0.666667] | | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Handlers-cleaners, Tech-support} [s:0.0248483 n:85 np:47 miss:0] ; val:"<=50K" prob:[0.905882, 0.0941176] | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Self-emp-not-inc, Self-emp-inc} [s:0.0390153 n:47 np:37 miss:0] ; val:"<=50K" prob:[0.851064, 0.148936] | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Tech-support} [s:0.0504583 n:37 np:6 miss:0] ; val:"<=50K" prob:[0.810811, 0.189189] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | └─(neg)─ val:"<=50K" prob:[0.870968, 0.129032] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "fnlwgt">=373088 [s:0.05585 n:38 np:5 miss:0] ; val:"<=50K" prob:[0.973684, 0.0263158] | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "native_country" is in [BITMAP] {Mexico, Japan} [s:0.0229273 n:298 np:9 miss:0] ; val:"<=50K" prob:[0.95302, 0.0469799] | | | ├─(pos)─ val:"<=50K" prob:[0.555556, 0.444444] | | | └─(neg)─ "hours_per_week">=34 [s:0.0111887 n:289 np:67 miss:1] ; val:"<=50K" prob:[0.965398, 0.0346021] | | | ├─(pos)─ "occupation" is in [BITMAP] {<OOD>, Craft-repair, Adm-clerical, Transport-moving} [s:0.0515962 n:67 np:39 miss:1] ; val:"<=50K" prob:[0.910448, 0.0895522] | | | | ├─(pos)─ "fnlwgt">=248792 [s:0.0828646 n:39 np:5 miss:0] ; val:"<=50K" prob:[0.846154, 0.153846] | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | └─(neg)─ "fnlwgt">=86122.5 [s:0.028638 n:34 np:25 miss:1] ; val:"<=50K" prob:[0.911765, 0.0882353] | | | | | ├─(pos)─ "fnlwgt">=122540 [s:0.0574557 n:25 np:19 miss:1] ; val:"<=50K" prob:[0.88, 0.12] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.947368, 0.0526316] | | | | | | └─(neg)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "age">=47.5 [s:0.0211577 n:222 np:152 miss:0] ; val:"<=50K" prob:[0.981982, 0.018018] | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "fnlwgt">=139270 [s:0.0349927 n:70 np:53 miss:1] ; val:"<=50K" prob:[0.942857, 0.0571429] | | | ├─(pos)─ "fnlwgt">=323352 [s:0.042593 n:53 np:6 miss:0] ; val:"<=50K" prob:[0.981132, 0.0188679] | | | | ├─(pos)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "age">=36.5 [s:0.0284277 n:17 np:10 miss:1] ; val:"<=50K" prob:[0.823529, 0.176471] | | | ├─(pos)─ "fnlwgt">=103028 [s:0.0748818 n:10 np:5 miss:1] ; val:"<=50K" prob:[0.9, 0.1] | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | └─(neg)─ val:"<=50K" prob:[0.714286, 0.285714] | | └─(neg)─ "age">=64.5 [s:0.0118071 n:748 np:81 miss:0] ; val:"<=50K" prob:[0.902406, 0.0975936] | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "hours_per_week">=47.5 [s:0.0207948 n:667 np:146 miss:0] ; val:"<=50K" prob:[0.890555, 0.109445] | | ├─(pos)─ "hours_per_week">=67.5 [s:0.0522734 n:146 np:25 miss:0] ; val:"<=50K" prob:[0.760274, 0.239726] | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "race" is in [BITMAP] {White, Black} [s:0.0174523 n:121 np:115 miss:0] ; val:"<=50K" prob:[0.710744, 0.289256] | | | ├─(pos)─ "workclass" is in [BITMAP] {Self-emp-not-inc, Self-emp-inc} [s:0.0314363 n:115 np:27 miss:0] ; val:"<=50K" prob:[0.695652, 0.304348] | | | | ├─(pos)─ "education_num">=4.5 [s:0.141957 n:27 np:8 miss:1] ; val:">50K" prob:[0.481481, 0.518519] | | | | | ├─(pos)─ val:"<=50K" prob:[0.875, 0.125] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Exec-managerial, Craft-repair} [s:0.322148 n:19 np:10 miss:0] ; val:">50K" prob:[0.315789, 0.684211] | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | └─(neg)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | └─(neg)─ "occupation" is in [BITMAP] {Exec-managerial, Craft-repair, Machine-op-inspct, Handlers-cleaners} [s:0.103251 n:88 np:41 miss:0] ; val:"<=50K" prob:[0.761364, 0.238636] | | | | ├─(pos)─ "education" is in [BITMAP] {11th, 7th-8th, 1st-4th} [s:0.105217 n:41 np:24 miss:0] ; val:"<=50K" prob:[0.560976, 0.439024] | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Exec-managerial} [s:0.0738751 n:24 np:8 miss:0] ; val:">50K" prob:[0.375, 0.625] | | | | | | ├─(pos)─ val:">50K" prob:[0.125, 0.875] | | | | | | └─(neg)─ "age">=37 [s:0.290305 n:16 np:11 miss:1] ; val:"<=50K" prob:[0.5, 0.5] | | | | | | ├─(pos)─ "age">=42.5 [s:0.207872 n:11 np:6 miss:0] ; val:">50K" prob:[0.272727, 0.727273] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "age">=50.5 [s:0.268055 n:17 np:5 miss:0] ; val:"<=50K" prob:[0.823529, 0.176471] | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "hours_per_week">=55.5 [s:0.0730961 n:47 np:16 miss:0] ; val:"<=50K" prob:[0.93617, 0.0638298] | | | | ├─(pos)─ "age">=45.5 [s:0.272261 n:16 np:5 miss:0] ; val:"<=50K" prob:[0.8125, 0.1875] | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "native_country" is in [BITMAP] {<OOD>, Puerto-Rico, Vietnam, Haiti, Laos, Yugoslavia} [s:0.0218885 n:521 np:31 miss:1] ; val:"<=50K" prob:[0.927063, 0.0729367] | | ├─(pos)─ "education" is in [BITMAP] {9th, 5th-6th, 1st-4th} [s:0.369787 n:31 np:15 miss:0] ; val:"<=50K" prob:[0.645161, 0.354839] | | | ├─(pos)─ "native_country" is in [BITMAP] {<OOD>, Puerto-Rico, Vietnam, Yugoslavia} [s:0.261225 n:15 np:8 miss:1] ; val:">50K" prob:[0.266667, 0.733333] | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | └─(neg)─ val:"<=50K" prob:[0.571429, 0.428571] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "education" is in [BITMAP] {11th, 7th-8th, 9th} [s:0.0152249 n:490 np:375 miss:0] ; val:"<=50K" prob:[0.944898, 0.055102] | | ├─(pos)─ "age">=35.5 [s:0.0167516 n:375 np:300 miss:1] ; val:"<=50K" prob:[0.928, 0.072] | | | ├─(pos)─ "hours_per_week">=34.5 [s:0.0128176 n:300 np:262 miss:1] ; val:"<=50K" prob:[0.91, 0.09] | | | | ├─(pos)─ "fnlwgt">=385792 [s:0.00841005 n:262 np:13 miss:0] ; val:"<=50K" prob:[0.896947, 0.103053] | | | | | ├─(pos)─ "fnlwgt">=445882 [s:0.323466 n:13 np:7 miss:0] ; val:"<=50K" prob:[0.692308, 0.307692] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:">50K" prob:[0.333333, 0.666667] | | | | | └─(neg)─ "capital_loss">=1760 [s:0.00929558 n:249 np:14 miss:0] ; val:"<=50K" prob:[0.907631, 0.0923695] | | | | | ├─(pos)─ "capital_loss">=1952 [s:0.256816 n:14 np:7 miss:0] ; val:"<=50K" prob:[0.714286, 0.285714] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:">50K" prob:[0.428571, 0.571429] | | | | | └─(neg)─ "capital_gain">=3761.5 [s:0.0289205 n:235 np:6 miss:0] ; val:"<=50K" prob:[0.919149, 0.0808511] | | | | | ├─(pos)─ val:">50K" prob:[0.333333, 0.666667] | | | | | └─(neg)─ "fnlwgt">=178286 [s:0.00838123 n:229 np:99 miss:1] ; val:"<=50K" prob:[0.934498, 0.0655022] | | | | | ├─(pos)─ val:"<=50K" prob:[0.969697, 0.030303] | | | | | └─(neg)─ val:"<=50K" prob:[0.907692, 0.0923077] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "education" is in [BITMAP] {Bachelors, Masters, Prof-school, Doctorate} [s:0.0268962 n:7206 np:1733 miss:0] ; val:"<=50K" prob:[0.921038, 0.078962] | ├─(pos)─ "education_num">=14.5 [s:0.0112926 n:1733 np:154 miss:0] ; val:"<=50K" prob:[0.799769, 0.200231] | | ├─(pos)─ "age">=30.5 [s:0.0749495 n:154 np:134 miss:1] ; val:"<=50K" prob:[0.590909, 0.409091] | | | ├─(pos)─ "native_country" is in [BITMAP] {United-States, India, Japan, Taiwan, France} [s:0.0395987 n:134 np:126 miss:0] ; val:"<=50K" prob:[0.529851, 0.470149] | | | | ├─(pos)─ "fnlwgt">=198743 [s:0.0488141 n:126 np:49 miss:0] ; val:"<=50K" prob:[0.5, 0.5] | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, State-gov, Federal-gov} [s:0.191587 n:49 np:30 miss:0] ; val:"<=50K" prob:[0.693878, 0.306122] | | | | | | ├─(pos)─ "fnlwgt">=252521 [s:0.111988 n:30 np:22 miss:0] ; val:"<=50K" prob:[0.5, 0.5] | | | | | | | ├─(pos)─ "fnlwgt">=306274 [s:0.261772 n:22 np:13 miss:0] ; val:">50K" prob:[0.363636, 0.636364] | | | | | | | | ├─(pos)─ "hours_per_week">=46.5 [s:0.0906074 n:13 np:7 miss:0] ; val:"<=50K" prob:[0.615385, 0.384615] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.428571, 0.571429] | | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.875, 0.125] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "workclass" is in [BITMAP] {Private, Self-emp-not-inc, State-gov, Self-emp-inc, Federal-gov} [s:0.110738 n:77 np:63 miss:0] ; val:">50K" prob:[0.376623, 0.623377] | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Craft-repair, Sales} [s:0.0745517 n:63 np:57 miss:0] ; val:">50K" prob:[0.269841, 0.730159] | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Self-emp-not-inc, Federal-gov} [s:0.046024 n:57 np:47 miss:0] ; val:">50K" prob:[0.210526, 0.789474] | | | | | | | ├─(pos)─ "marital_status" is in [BITMAP] {Never-married} [s:0.0255979 n:47 np:26 miss:0] ; val:">50K" prob:[0.148936, 0.851064] | | | | | | | | ├─(pos)─ "fnlwgt">=168929 [s:0.0503575 n:26 np:12 miss:1] ; val:">50K" prob:[0.0769231, 0.923077] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | | └─(neg)─ "fnlwgt">=107096 [s:0.110982 n:14 np:7 miss:1] ; val:">50K" prob:[0.142857, 0.857143] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.285714, 0.714286] | | | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ "hours_per_week">=42.5 [s:0.0703506 n:21 np:15 miss:0] ; val:">50K" prob:[0.238095, 0.761905] | | | | | | | | ├─(pos)─ "fnlwgt">=104236 [s:0.0927624 n:15 np:7 miss:1] ; val:">50K" prob:[0.133333, 0.866667] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | | └─(neg)─ val:">50K" prob:[0.25, 0.75] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | | └─(neg)─ "relationship" is in [BITMAP] {Unmarried, Other-relative} [s:0.192745 n:10 np:5 miss:0] ; val:"<=50K" prob:[0.5, 0.5] | | | | | | | ├─(pos)─ val:">50K" prob:[0.2, 0.8] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | └─(neg)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | └─(neg)─ "age">=45.5 [s:0.169755 n:14 np:9 miss:0] ; val:"<=50K" prob:[0.857143, 0.142857] | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:"<=50K" prob:[0.6, 0.4] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "relationship" is in [BITMAP] {Not-in-family, Unmarried} [s:0.0113453 n:1579 np:1391 miss:0] ; val:"<=50K" prob:[0.820139, 0.179861] | | ├─(pos)─ "capital_loss">=2391.5 [s:0.00936957 n:1391 np:8 miss:0] ; val:"<=50K" prob:[0.801582, 0.198418] | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | └─(neg)─ "hours_per_week">=44.5 [s:0.0210208 n:1383 np:570 miss:0] ; val:"<=50K" prob:[0.806218, 0.193782] | | | ├─(pos)─ "occupation" is in [BITMAP] {Exec-managerial, Sales, Other-service, Handlers-cleaners, Tech-support} [s:0.0411856 n:570 np:265 miss:0] ; val:"<=50K" prob:[0.708772, 0.291228] | | | | ├─(pos)─ "fnlwgt">=101596 [s:0.0352749 n:265 np:234 miss:1] ; val:"<=50K" prob:[0.569811, 0.430189] | | | | | ├─(pos)─ "fnlwgt">=308433 [s:0.0352395 n:234 np:38 miss:0] ; val:"<=50K" prob:[0.525641, 0.474359] | | | | | | ├─(pos)─ "age">=34 [s:0.222348 n:38 np:24 miss:1] ; val:"<=50K" prob:[0.815789, 0.184211] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "fnlwgt">=342804 [s:0.352622 n:14 np:9 miss:0] ; val:"<=50K" prob:[0.5, 0.5] | | | | | | | ├─(pos)─ val:">50K" prob:[0.222222, 0.777778] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "fnlwgt">=262201 [s:0.0422186 n:196 np:38 miss:0] ; val:">50K" prob:[0.469388, 0.530612] | | | | | | ├─(pos)─ "age">=40 [s:0.148663 n:38 np:19 miss:0] ; val:">50K" prob:[0.184211, 0.815789] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "education_num">=13.5 [s:0.278621 n:19 np:8 miss:0] ; val:">50K" prob:[0.368421, 0.631579] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "fnlwgt">=280478 [s:0.103807 n:11 np:5 miss:0] ; val:"<=50K" prob:[0.636364, 0.363636] | | | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Exec-managerial, Handlers-cleaners} [s:0.0551208 n:158 np:106 miss:0] ; val:"<=50K" prob:[0.537975, 0.462025] | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Self-emp-inc, Federal-gov} [s:0.0530136 n:106 np:93 miss:0] ; val:">50K" prob:[0.424528, 0.575472] | | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Federal-gov} [s:0.0253392 n:93 np:5 miss:0] ; val:">50K" prob:[0.365591, 0.634409] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:">50K" prob:[0.386364, 0.613636] | | | | | | | └─(neg)─ "fnlwgt">=180454 [s:0.170472 n:13 np:8 miss:1] ; val:"<=50K" prob:[0.846154, 0.153846] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | └─(neg)─ "marital_status" is in [BITMAP] {Divorced} [s:0.0690427 n:52 np:14 miss:0] ; val:"<=50K" prob:[0.769231, 0.230769] | | | | | | ├─(pos)─ "fnlwgt">=204364 [s:0.0423193 n:14 np:6 miss:0] ; val:"<=50K" prob:[0.5, 0.5] | | | | | | | ├─(pos)─ val:">50K" prob:[0.333333, 0.666667] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.625, 0.375] | | | | | | └─(neg)─ "hours_per_week">=52.5 [s:0.128074 n:38 np:8 miss:0] ; val:"<=50K" prob:[0.868421, 0.131579] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.5, 0.5] | | | | | | └─(neg)─ val:"<=50K" prob:[0.966667, 0.0333333] | | | | | └─(neg)─ "hours_per_week">=58 [s:0.147211 n:31 np:8 miss:0] ; val:"<=50K" prob:[0.903226, 0.0967742] | | | | | ├─(pos)─ val:"<=50K" prob:[0.625, 0.375] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "sex" is in [BITMAP] {Male} [s:0.023741 n:305 np:157 miss:0] ; val:"<=50K" prob:[0.829508, 0.170492] | | | | ├─(pos)─ "age">=34.5 [s:0.0229258 n:157 np:84 miss:1] ; val:"<=50K" prob:[0.751592, 0.248408] | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Self-emp-not-inc, Self-emp-inc, Federal-gov} [s:0.0880663 n:84 np:68 miss:0] ; val:"<=50K" prob:[0.666667, 0.333333] | | | | | | ├─(pos)─ "fnlwgt">=71269.5 [s:0.0587175 n:68 np:61 miss:1] ; val:"<=50K" prob:[0.588235, 0.411765] | | | | | | | ├─(pos)─ "age">=55 [s:0.0496417 n:61 np:18 miss:0] ; val:"<=50K" prob:[0.540984, 0.459016] | | | | | | | | ├─(pos)─ "fnlwgt">=155716 [s:0.186225 n:18 np:9 miss:1] ; val:"<=50K" prob:[0.777778, 0.222222] | | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.555556, 0.444444] | | | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Craft-repair, Adm-clerical} [s:0.104786 n:43 np:38 miss:0] ; val:">50K" prob:[0.44186, 0.55814] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.368421, 0.631579] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "fnlwgt">=204190 [s:0.115449 n:73 np:37 miss:0] ; val:"<=50K" prob:[0.849315, 0.150685] | | | | | ├─(pos)─ "fnlwgt">=228595 [s:0.277031 n:37 np:26 miss:0] ; val:"<=50K" prob:[0.702703, 0.297297] | | | | | | ├─(pos)─ "age">=29.5 [s:0.070592 n:26 np:11 miss:1] ; val:"<=50K" prob:[0.923077, 0.0769231] | | | | | | | ├─(pos)─ "age">=31 [s:0.12695 n:11 np:5 miss:1] ; val:"<=50K" prob:[0.818182, 0.181818] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Self-emp-not-inc, Federal-gov} [s:0.168225 n:11 np:6 miss:0] ; val:">50K" prob:[0.181818, 0.818182] | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:">50K" prob:[0.4, 0.6] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "marital_status" is in [BITMAP] {Never-married, Widowed, Separated} [s:0.0201083 n:148 np:80 miss:0] ; val:"<=50K" prob:[0.912162, 0.0878378] | | | | ├─(pos)─ "fnlwgt">=166638 [s:0.0742232 n:80 np:49 miss:1] ; val:"<=50K" prob:[0.8625, 0.1375] | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty} [s:0.059056 n:49 np:39 miss:0] ; val:"<=50K" prob:[0.77551, 0.22449] | | | | | | ├─(pos)─ "fnlwgt">=232284 [s:0.091159 n:39 np:20 miss:0] ; val:"<=50K" prob:[0.717949, 0.282051] | | | | | | | ├─(pos)─ "age">=43.5 [s:0.0748818 n:20 np:10 miss:0] ; val:"<=50K" prob:[0.9, 0.1] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "age">=33.5 [s:0.250931 n:19 np:14 miss:1] ; val:"<=50K" prob:[0.526316, 0.473684] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.714286, 0.285714] | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "fnlwgt">=45553.5 [s:0.013572 n:68 np:60 miss:1] ; val:"<=50K" prob:[0.970588, 0.0294118] | | | | ├─(pos)─ "workclass" is in [BITMAP] {Local-gov} [s:0.0128639 n:60 np:28 miss:0] ; val:"<=50K" prob:[0.983333, 0.0166667] | | | | | ├─(pos)─ "fnlwgt">=214407 [s:0.0647185 n:28 np:5 miss:0] ; val:"<=50K" prob:[0.964286, 0.0357143] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[0.875, 0.125] | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Sales, Tech-support, Protective-serv} [s:0.0235222 n:813 np:592 miss:0] ; val:"<=50K" prob:[0.874539, 0.125461] | | | ├─(pos)─ "capital_gain">=4718.5 [s:0.0217549 n:592 np:7 miss:0] ; val:"<=50K" prob:[0.836149, 0.163851] | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | └─(neg)─ "hours_per_week">=31 [s:0.0163294 n:585 np:511 miss:1] ; val:"<=50K" prob:[0.846154, 0.153846] | | | | ├─(pos)─ "age">=34.5 [s:0.0165106 n:511 np:385 miss:1] ; val:"<=50K" prob:[0.825832, 0.174168] | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Self-emp-not-inc, Federal-gov} [s:0.0150107 n:385 np:272 miss:0] ; val:"<=50K" prob:[0.78961, 0.21039] | | | | | | ├─(pos)─ "relationship" is in [BITMAP] {Not-in-family} [s:0.0106803 n:272 np:195 miss:0] ; val:"<=50K" prob:[0.746324, 0.253676] | | | | | | | ├─(pos)─ "age">=54.5 [s:0.0522867 n:195 np:22 miss:0] ; val:"<=50K" prob:[0.707692, 0.292308] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.272727, 0.727273] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.763006, 0.236994] | | | | | | | └─(neg)─ "native_country" is in [BITMAP] {<OOD>, Philippines} [s:0.0740395 n:77 np:5 miss:1] ; val:"<=50K" prob:[0.844156, 0.155844] | | | | | | | ├─(pos)─ val:">50K" prob:[0.2, 0.8] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.888889, 0.111111] | | | | | | └─(neg)─ "relationship" is in [BITMAP] {Not-in-family} [s:0.0110242 n:113 np:72 miss:0] ; val:"<=50K" prob:[0.893805, 0.106195] | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Local-gov} [s:0.0364759 n:72 np:34 miss:0] ; val:"<=50K" prob:[0.861111, 0.138889] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.764706, 0.235294] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.947368, 0.0526316] | | | | | | └─(neg)─ "fnlwgt">=99952.5 [s:0.0224328 n:41 np:36 miss:1] ; val:"<=50K" prob:[0.95122, 0.0487805] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.972222, 0.0277778] | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | └─(neg)─ "age">=31.5 [s:0.0483564 n:126 np:65 miss:1] ; val:"<=50K" prob:[0.936508, 0.0634921] | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Sales} [s:0.0651807 n:61 np:8 miss:0] ; val:"<=50K" prob:[0.868852, 0.131148] | | | | | ├─(pos)─ val:"<=50K" prob:[0.5, 0.5] | | | | | └─(neg)─ "fnlwgt">=346884 [s:0.0472111 n:53 np:5 miss:0] ; val:"<=50K" prob:[0.924528, 0.0754717] | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | └─(neg)─ val:"<=50K" prob:[0.958333, 0.0416667] | | | | └─(neg)─ "marital_status" is in [BITMAP] {Separated, Married-spouse-absent} [s:0.0291593 n:74 np:9 miss:0] ; val:"<=50K" prob:[0.986486, 0.0135135] | | | | ├─(pos)─ val:"<=50K" prob:[0.888889, 0.111111] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "relationship" is in [BITMAP] {Not-in-family} [s:0.00601396 n:221 np:170 miss:0] ; val:"<=50K" prob:[0.977376, 0.0226244] | | | ├─(pos)─ "age">=51.5 [s:0.0328972 n:170 np:25 miss:0] ; val:"<=50K" prob:[0.970588, 0.0294118] | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private, Federal-gov} [s:0.0917207 n:25 np:15 miss:0] ; val:"<=50K" prob:[0.84, 0.16] | | | | | ├─(pos)─ "age">=61.5 [s:0.32531 n:15 np:9 miss:0] ; val:"<=50K" prob:[0.733333, 0.266667] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:">50K" prob:[0.333333, 0.666667] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "occupation" is in [BITMAP] {Adm-clerical} [s:0.00494947 n:145 np:71 miss:0] ; val:"<=50K" prob:[0.993103, 0.00689655] | | | | ├─(pos)─ "age">=35.5 [s:0.0188445 n:71 np:52 miss:1] ; val:"<=50K" prob:[0.985915, 0.0140845] | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "fnlwgt">=177638 [s:0.0745072 n:19 np:5 miss:1] ; val:"<=50K" prob:[0.947368, 0.0526316] | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "race" is in [BITMAP] {White} [s:0.00898003 n:188 np:153 miss:0] ; val:"<=50K" prob:[0.957447, 0.0425532] | | ├─(pos)─ "fnlwgt">=32899.5 [s:0.0354068 n:153 np:147 miss:1] ; val:"<=50K" prob:[0.947712, 0.0522876] | | | ├─(pos)─ "age">=43.5 [s:0.0552589 n:147 np:31 miss:0] ; val:"<=50K" prob:[0.965986, 0.0340136] | | | | ├─(pos)─ "education_num">=13.5 [s:0.0699852 n:31 np:10 miss:0] ; val:"<=50K" prob:[0.83871, 0.16129] | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Adm-clerical, Sales} [s:0.160764 n:21 np:12 miss:0] ; val:"<=50K" prob:[0.761905, 0.238095] | | | | | ├─(pos)─ "age">=46 [s:0.135656 n:12 np:6 miss:0] ; val:"<=50K" prob:[0.583333, 0.416667] | | | | | | ├─(pos)─ val:">50K" prob:[0.333333, 0.666667] | | | | | | └─(neg)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[0.5, 0.5] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Craft-repair, Sales, Transport-moving, Tech-support, Protective-serv} [s:0.0111707 n:5473 np:2421 miss:0] ; val:"<=50K" prob:[0.959437, 0.0405628] | ├─(pos)─ "sex" is in [BITMAP] {Male} [s:0.00458166 n:2421 np:1335 miss:0] ; val:"<=50K" prob:[0.92689, 0.0731103] | | ├─(pos)─ "native_country" is in [BITMAP] {<OOD>, United-States, Iran} [s:0.0062675 n:1335 np:1254 miss:1] ; val:"<=50K" prob:[0.904869, 0.0951311] | | | ├─(pos)─ "age">=52.5 [s:0.0117139 n:1254 np:161 miss:0] ; val:"<=50K" prob:[0.898724, 0.101276] | | | | ├─(pos)─ "hours_per_week">=32.5 [s:0.0764315 n:161 np:122 miss:1] ; val:"<=50K" prob:[0.763975, 0.236025] | | | | | ├─(pos)─ "education_num">=4.5 [s:0.0217815 n:122 np:117 miss:1] ; val:"<=50K" prob:[0.688525, 0.311475] | | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Local-gov, Federal-gov} [s:0.0288021 n:117 np:13 miss:0] ; val:"<=50K" prob:[0.709402, 0.290598] | | | | | | | ├─(pos)─ "fnlwgt">=194694 [s:0.0613755 n:13 np:5 miss:0] ; val:">50K" prob:[0.384615, 0.615385] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | | | └─(neg)─ val:">50K" prob:[0.25, 0.75] | | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Transport-moving, Tech-support} [s:0.0532748 n:104 np:47 miss:0] ; val:"<=50K" prob:[0.75, 0.25] | | | | | | | ├─(pos)─ "relationship" is in [BITMAP] {Own-child, Unmarried} [s:0.0350257 n:47 np:13 miss:0] ; val:"<=50K" prob:[0.595745, 0.404255] | | | | | | | | ├─(pos)─ "fnlwgt">=176447 [s:0.259163 n:13 np:5 miss:1] ; val:">50K" prob:[0.384615, 0.615385] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.625, 0.375] | | | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Tech-support} [s:0.0696899 n:34 np:19 miss:0] ; val:"<=50K" prob:[0.676471, 0.323529] | | | | | | | | ├─(pos)─ "hours_per_week">=41 [s:0.0754993 n:19 np:11 miss:0] ; val:"<=50K" prob:[0.526316, 0.473684] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.363636, 0.636364] | | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.75, 0.25] | | | | | | | | └─(neg)─ "fnlwgt">=123357 [s:0.168337 n:15 np:10 miss:1] ; val:"<=50K" prob:[0.866667, 0.133333] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | | └─(neg)─ "age">=59.5 [s:0.0859503 n:57 np:12 miss:0] ; val:"<=50K" prob:[0.877193, 0.122807] | | | | | | | ├─(pos)─ "fnlwgt">=166294 [s:0.0723292 n:12 np:5 miss:1] ; val:"<=50K" prob:[0.583333, 0.416667] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | | | └─(neg)─ val:">50K" prob:[0.428571, 0.571429] | | | | | | | └─(neg)─ "education_num">=9.5 [s:0.0616706 n:45 np:12 miss:1] ; val:"<=50K" prob:[0.955556, 0.0444444] | | | | | | | ├─(pos)─ "fnlwgt">=125362 [s:0.17014 n:12 np:5 miss:1] ; val:"<=50K" prob:[0.833333, 0.166667] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:">50K" prob:[0.2, 0.8] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "relationship" is in [BITMAP] {Not-in-family, Unmarried, Other-relative} [s:0.0107966 n:1093 np:896 miss:0] ; val:"<=50K" prob:[0.918573, 0.0814273] | | | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Sales, Tech-support, Protective-serv} [s:0.00658163 n:896 np:400 miss:0] ; val:"<=50K" prob:[0.902902, 0.0970982] | | | | | ├─(pos)─ "race" is in [BITMAP] {White} [s:0.00863433 n:400 np:345 miss:0] ; val:"<=50K" prob:[0.865, 0.135] | | | | | | ├─(pos)─ "marital_status" is in [BITMAP] {Widowed} [s:0.010787 n:345 np:13 miss:0] ; val:"<=50K" prob:[0.849275, 0.150725] | | | | | | | ├─(pos)─ "fnlwgt">=181497 [s:0.690186 n:13 np:6 miss:1] ; val:"<=50K" prob:[0.538462, 0.461538] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "hours_per_week">=59 [s:0.0144515 n:332 np:69 miss:0] ; val:"<=50K" prob:[0.861446, 0.138554] | | | | | | | ├─(pos)─ "fnlwgt">=191046 [s:0.05986 n:69 np:34 miss:0] ; val:"<=50K" prob:[0.73913, 0.26087] | | | | | | | | ├─(pos)─ "marital_status" is in [BITMAP] {Never-married, Separated} [s:0.0760779 n:34 np:25 miss:0] ; val:"<=50K" prob:[0.588235, 0.411765] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.48, 0.52] | | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.888889, 0.111111] | | | | | | | | └─(neg)─ "education" is in [BITMAP] {HS-grad} [s:0.178736 n:35 np:9 miss:0] ; val:"<=50K" prob:[0.885714, 0.114286] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.555556, 0.444444] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "education" is in [BITMAP] {Some-college, Assoc-voc, 9th} [s:0.0197815 n:263 np:133 miss:0] ; val:"<=50K" prob:[0.893536, 0.106464] | | | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Tech-support, Protective-serv} [s:0.0155319 n:133 np:31 miss:0] ; val:"<=50K" prob:[0.834586, 0.165414] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.709677, 0.290323] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.872549, 0.127451] | | | | | | | └─(neg)─ "hours_per_week">=46 [s:0.0145522 n:130 np:38 miss:0] ; val:"<=50K" prob:[0.953846, 0.0461538] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.894737, 0.105263] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.978261, 0.0217391] | | | | | | └─(neg)─ "age">=29.5 [s:0.074416 n:55 np:47 miss:1] ; val:"<=50K" prob:[0.963636, 0.0363636] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.75, 0.25] | | | | | └─(neg)─ "hours_per_week">=47 [s:0.033694 n:496 np:131 miss:0] ; val:"<=50K" prob:[0.933468, 0.0665323] | | | | | ├─(pos)─ "education" is in [BITMAP] {Assoc-voc, Assoc-acdm, 9th, 12th} [s:0.0846743 n:131 np:23 miss:0] ; val:"<=50K" prob:[0.816794, 0.183206] | | | | | | ├─(pos)─ "age">=39.5 [s:0.169303 n:23 np:12 miss:0] ; val:">50K" prob:[0.434783, 0.565217] | | | | | | | ├─(pos)─ "age">=43.5 [s:0.17014 n:12 np:5 miss:0] ; val:">50K" prob:[0.166667, 0.833333] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ "fnlwgt">=165392 [s:0.0342775 n:11 np:6 miss:1] ; val:"<=50K" prob:[0.727273, 0.272727] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | └─(neg)─ "age">=38.5 [s:0.0198341 n:108 np:47 miss:1] ; val:"<=50K" prob:[0.898148, 0.101852] | | | | | | ├─(pos)─ "fnlwgt">=275125 [s:0.121953 n:47 np:5 miss:0] ; val:"<=50K" prob:[0.829787, 0.170213] | | | | | | | ├─(pos)─ val:">50K" prob:[0.2, 0.8] | | | | | | | └─(neg)─ "fnlwgt">=178227 [s:0.0163459 n:42 np:22 miss:1] ; val:"<=50K" prob:[0.904762, 0.0952381] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.954545, 0.0454545] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.85, 0.15] | | | | | | └─(neg)─ "fnlwgt">=220830 [s:0.0153003 n:61 np:18 miss:0] ; val:"<=50K" prob:[0.95082, 0.0491803] | | | | | | ├─(pos)─ "marital_status" is in [BITMAP] {Never-married, Married-spouse-absent} [s:0.161884 n:18 np:5 miss:0] ; val:"<=50K" prob:[0.888889, 0.111111] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "race" is in [BITMAP] {Black, Amer-Indian-Eskimo} [s:0.0522667 n:43 np:5 miss:0] ; val:"<=50K" prob:[0.976744, 0.0232558] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "education" is in [BITMAP] {Some-college, 10th} [s:0.0114737 n:365 np:115 miss:0] ; val:"<=50K" prob:[0.975342, 0.0246575] | | | | | ├─(pos)─ "fnlwgt">=56757 [s:0.0284654 n:115 np:105 miss:1] ; val:"<=50K" prob:[0.93913, 0.0608696] | | | | | | ├─(pos)─ "relationship" is in [BITMAP] {Unmarried} [s:0.0342845 n:105 np:17 miss:0] ; val:"<=50K" prob:[0.961905, 0.0380952] | | | | | | | ├─(pos)─ "age">=41 [s:0.268055 n:17 np:5 miss:0] ; val:"<=50K" prob:[0.823529, 0.176471] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "fnlwgt">=132336 [s:0.0189594 n:88 np:71 miss:1] ; val:"<=50K" prob:[0.988636, 0.0113636] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.941176, 0.0588235] | | | | | | └─(neg)─ "workclass" is in [BITMAP] {Private, Federal-gov} [s:0.274359 n:10 np:5 miss:0] ; val:"<=50K" prob:[0.7, 0.3] | | | | | | ├─(pos)─ val:">50K" prob:[0.4, 0.6] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Transport-moving} [s:0.00949398 n:250 np:77 miss:0] ; val:"<=50K" prob:[0.992, 0.008] | | | | | ├─(pos)─ "fnlwgt">=83959 [s:0.0527219 n:77 np:66 miss:1] ; val:"<=50K" prob:[0.974026, 0.025974] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "fnlwgt">=53215 [s:0.168225 n:11 np:5 miss:1] ; val:"<=50K" prob:[0.818182, 0.181818] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "workclass" is in [BITMAP] {Self-emp-inc} [s:0.0396186 n:197 np:5 miss:0] ; val:"<=50K" prob:[0.989848, 0.0101523] | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "capital_loss">=2119 [s:0.00355503 n:1086 np:9 miss:0] ; val:"<=50K" prob:[0.953959, 0.0460405] | | ├─(pos)─ val:"<=50K" prob:[0.666667, 0.333333] | | └─(neg)─ "workclass" is in [BITMAP] {Self-emp-inc, Federal-gov} [s:0.00293874 n:1077 np:71 miss:0] ; val:"<=50K" prob:[0.95636, 0.0436397] | | ├─(pos)─ "age">=54 [s:0.0580241 n:71 np:14 miss:0] ; val:"<=50K" prob:[0.887324, 0.112676] | | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Sales} [s:0.352622 n:14 np:7 miss:0] ; val:"<=50K" prob:[0.642857, 0.357143] | | | | ├─(pos)─ val:">50K" prob:[0.285714, 0.714286] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "marital_status" is in [BITMAP] {Widowed} [s:0.0334998 n:57 np:10 miss:0] ; val:"<=50K" prob:[0.947368, 0.0526316] | | | ├─(pos)─ "hours_per_week">=42.5 [s:0.163897 n:10 np:5 miss:0] ; val:"<=50K" prob:[0.8, 0.2] | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "fnlwgt">=49383.5 [s:0.0454482 n:47 np:41 miss:1] ; val:"<=50K" prob:[0.978723, 0.0212766] | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[0.833333, 0.166667] | | └─(neg)─ "hours_per_week">=34 [s:0.00212511 n:1006 np:850 miss:1] ; val:"<=50K" prob:[0.961233, 0.0387674] | | ├─(pos)─ "age">=35.5 [s:0.00521963 n:850 np:586 miss:1] ; val:"<=50K" prob:[0.956471, 0.0435294] | | | ├─(pos)─ "fnlwgt">=226388 [s:0.00674399 n:586 np:140 miss:0] ; val:"<=50K" prob:[0.943686, 0.056314] | | | | ├─(pos)─ "education_num">=9.5 [s:0.0129881 n:140 np:83 miss:1] ; val:"<=50K" prob:[0.985714, 0.0142857] | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Exec-managerial, Sales} [s:0.0185594 n:57 np:34 miss:0] ; val:"<=50K" prob:[0.964912, 0.0350877] | | | | | ├─(pos)─ "fnlwgt">=342524 [s:0.0324928 n:34 np:20 miss:0] ; val:"<=50K" prob:[0.941176, 0.0588235] | | | | | | ├─(pos)─ "fnlwgt">=373380 [s:0.0643064 n:20 np:9 miss:0] ; val:"<=50K" prob:[0.9, 0.1] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.818182, 0.181818] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "relationship" is in [BITMAP] {Not-in-family, Own-child, Wife} [s:0.00633718 n:446 np:211 miss:0] ; val:"<=50K" prob:[0.930493, 0.0695067] | | | | ├─(pos)─ "fnlwgt">=202472 [s:0.0340007 n:211 np:26 miss:0] ; val:"<=50K" prob:[0.900474, 0.0995261] | | | | | ├─(pos)─ "marital_status" is in [BITMAP] {Divorced, Married-AF-spouse} [s:0.165162 n:26 np:18 miss:0] ; val:"<=50K" prob:[0.653846, 0.346154] | | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Craft-repair, Sales} [s:0.247361 n:18 np:5 miss:0] ; val:"<=50K" prob:[0.5, 0.5] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.692308, 0.307692] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "marital_status" is in [BITMAP] {Widowed} [s:0.0261297 n:185 np:26 miss:0] ; val:"<=50K" prob:[0.935135, 0.0648649] | | | | | ├─(pos)─ "hours_per_week">=41.5 [s:0.0995405 n:26 np:8 miss:0] ; val:"<=50K" prob:[0.769231, 0.230769] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Tech-support, Protective-serv} [s:0.0564015 n:159 np:18 miss:0] ; val:"<=50K" prob:[0.962264, 0.0377358] | | | | | ├─(pos)─ val:"<=50K" prob:[0.722222, 0.277778] | | | | | └─(neg)─ val:"<=50K" prob:[0.992908, 0.0070922] | | | | └─(neg)─ "education" is in [BITMAP] {Assoc-voc} [s:0.0198317 n:235 np:28 miss:0] ; val:"<=50K" prob:[0.957447, 0.0425532] | | | | ├─(pos)─ "age">=49.5 [s:0.221668 n:28 np:10 miss:0] ; val:"<=50K" prob:[0.821429, 0.178571] | | | | | ├─(pos)─ "age">=55.5 [s:0.0201355 n:10 np:5 miss:0] ; val:"<=50K" prob:[0.5, 0.5] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | └─(neg)─ val:">50K" prob:[0.4, 0.6] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "age">=47.5 [s:0.0123793 n:207 np:82 miss:0] ; val:"<=50K" prob:[0.975845, 0.0241546] | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "fnlwgt">=176190 [s:0.0209861 n:125 np:50 miss:1] ; val:"<=50K" prob:[0.96, 0.04] | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[0.933333, 0.0666667] | | | └─(neg)─ "fnlwgt">=140109 [s:0.00526904 n:264 np:173 miss:1] ; val:"<=50K" prob:[0.984848, 0.0151515] | | | ├─(pos)─ "occupation" is in [BITMAP] {Sales} [s:0.00721641 n:173 np:50 miss:0] ; val:"<=50K" prob:[0.99422, 0.00578035] | | | | ├─(pos)─ "fnlwgt">=360219 [s:0.0439718 n:50 np:6 miss:0] ; val:"<=50K" prob:[0.98, 0.02] | | | | | ├─(pos)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "marital_status" is in [BITMAP] {Divorced, Widowed} [s:0.0334057 n:91 np:34 miss:0] ; val:"<=50K" prob:[0.967033, 0.032967] | | | ├─(pos)─ "occupation" is in [BITMAP] {Exec-managerial, Sales} [s:0.0599034 n:34 np:18 miss:0] ; val:"<=50K" prob:[0.911765, 0.0882353] | | | | ├─(pos)─ "fnlwgt">=82334.5 [s:0.132304 n:18 np:9 miss:1] ; val:"<=50K" prob:[0.833333, 0.166667] | | | | | ├─(pos)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "relationship" is in [BITMAP] {Other-relative} [s:0.0365162 n:156 np:10 miss:0] ; val:"<=50K" prob:[0.987179, 0.0128205] | | ├─(pos)─ "occupation" is in [BITMAP] {Sales} [s:0.163897 n:10 np:5 miss:0] ; val:"<=50K" prob:[0.8, 0.2] | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "hours_per_week">=40.5 [s:0.00833055 n:3052 np:480 miss:0] ; val:"<=50K" prob:[0.985256, 0.0147444] | ├─(pos)─ "education" is in [BITMAP] {HS-grad, Some-college, Assoc-voc, Assoc-acdm} [s:0.0120591 n:480 np:393 miss:0] ; val:"<=50K" prob:[0.941667, 0.0583333] | | ├─(pos)─ "age">=33.5 [s:0.0153741 n:393 np:260 miss:1] ; val:"<=50K" prob:[0.928753, 0.0712468] | | | ├─(pos)─ "marital_status" is in [BITMAP] {Never-married, Divorced, Separated, Married-spouse-absent} [s:0.0125024 n:260 np:231 miss:0] ; val:"<=50K" prob:[0.9, 0.1] | | | | ├─(pos)─ "workclass" is in [BITMAP] {<OOD>, State-gov} [s:0.0125994 n:231 np:20 miss:1] ; val:"<=50K" prob:[0.887446, 0.112554] | | | | | ├─(pos)─ "fnlwgt">=283836 [s:0.162244 n:20 np:7 miss:0] ; val:"<=50K" prob:[0.7, 0.3] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "fnlwgt">=133102 [s:0.344133 n:13 np:8 miss:1] ; val:"<=50K" prob:[0.538462, 0.461538] | | | | | | ├─(pos)─ val:">50K" prob:[0.25, 0.75] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "education" is in [BITMAP] {Some-college, Assoc-voc, Assoc-acdm} [s:0.0133934 n:211 np:106 miss:0] ; val:"<=50K" prob:[0.905213, 0.0947867] | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Private} [s:0.0536358 n:106 np:75 miss:0] ; val:"<=50K" prob:[0.858491, 0.141509] | | | | | | ├─(pos)─ "fnlwgt">=33669 [s:0.0154612 n:75 np:70 miss:1] ; val:"<=50K" prob:[0.8, 0.2] | | | | | | | ├─(pos)─ "fnlwgt">=47317 [s:0.0273531 n:70 np:65 miss:1] ; val:"<=50K" prob:[0.785714, 0.214286] | | | | | | | | ├─(pos)─ "age">=40.5 [s:0.0288287 n:65 np:43 miss:0] ; val:"<=50K" prob:[0.815385, 0.184615] | | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.883721, 0.116279] | | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.681818, 0.318182] | | | | | | | | └─(neg)─ val:">50K" prob:[0.4, 0.6] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "age">=38.5 [s:0.0210998 n:105 np:68 miss:1] ; val:"<=50K" prob:[0.952381, 0.047619] | | | | | ├─(pos)─ "marital_status" is in [BITMAP] {Separated, Married-spouse-absent} [s:0.0288425 n:68 np:10 miss:0] ; val:"<=50K" prob:[0.985294, 0.0147059] | | | | | | ├─(pos)─ "fnlwgt">=198280 [s:0.0748818 n:10 np:5 miss:0] ; val:"<=50K" prob:[0.9, 0.1] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "relationship" is in [BITMAP] {Not-in-family} [s:0.0720537 n:37 np:20 miss:0] ; val:"<=50K" prob:[0.891892, 0.108108] | | | | | ├─(pos)─ "workclass" is in [BITMAP] {Self-emp-not-inc, Federal-gov} [s:0.0851114 n:20 np:7 miss:0] ; val:"<=50K" prob:[0.8, 0.2] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.571429, 0.428571] | | | | | | └─(neg)─ "age">=34.5 [s:0.0787269 n:13 np:8 miss:1] ; val:"<=50K" prob:[0.923077, 0.0769231] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "occupation" is in [BITMAP] {Other-service} [s:0.0217892 n:133 np:32 miss:0] ; val:"<=50K" prob:[0.984962, 0.0150376] | | | ├─(pos)─ "fnlwgt">=180530 [s:0.0375736 n:32 np:14 miss:1] ; val:"<=50K" prob:[0.9375, 0.0625] | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "age">=28.5 [s:0.0387654 n:18 np:13 miss:1] ; val:"<=50K" prob:[0.888889, 0.111111] | | | | ├─(pos)─ "hours_per_week">=51 [s:0.00500199 n:13 np:5 miss:0] ; val:"<=50K" prob:[0.846154, 0.153846] | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | └─(neg)─ val:"<=50K" prob:[0.875, 0.125] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "capital_loss">=2218.5 [s:0.00423184 n:2572 np:19 miss:0] ; val:"<=50K" prob:[0.99339, 0.00660964] | ├─(pos)─ "occupation" is in [BITMAP] {Adm-clerical, Handlers-cleaners} [s:0.313649 n:19 np:6 miss:0] ; val:"<=50K" prob:[0.789474, 0.210526] | | ├─(pos)─ val:">50K" prob:[0.333333, 0.666667] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "occupation" is in [BITMAP] {Adm-clerical, Farming-fishing} [s:0.00168391 n:2553 np:948 miss:0] ; val:"<=50K" prob:[0.994908, 0.00509205] | ├─(pos)─ "fnlwgt">=184894 [s:0.0025559 n:948 np:439 miss:1] ; val:"<=50K" prob:[0.989451, 0.0105485] | | ├─(pos)─ "fnlwgt">=192383 [s:0.0141877 n:439 np:390 miss:0] ; val:"<=50K" prob:[0.981777, 0.0182232] | | | ├─(pos)─ "education" is in [BITMAP] {Assoc-voc, 7th-8th} [s:0.00997938 n:390 np:23 miss:0] ; val:"<=50K" prob:[0.992308, 0.00769231] | | | | ├─(pos)─ "relationship" is in [BITMAP] {Not-in-family, Unmarried} [s:0.0527783 n:23 np:13 miss:0] ; val:"<=50K" prob:[0.913043, 0.0869565] | | | | | ├─(pos)─ "hours_per_week">=39 [s:0.0832706 n:13 np:8 miss:1] ; val:"<=50K" prob:[0.846154, 0.153846] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.75, 0.25] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "education" is in [BITMAP] {Some-college} [s:0.00251721 n:367 np:146 miss:0] ; val:"<=50K" prob:[0.997275, 0.0027248] | | | | ├─(pos)─ "fnlwgt">=200112 [s:0.0145076 n:146 np:128 miss:0] ; val:"<=50K" prob:[0.993151, 0.00684932] | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "fnlwgt">=197382 [s:0.0755585 n:18 np:5 miss:0] ; val:"<=50K" prob:[0.944444, 0.0555556] | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ "age">=38.5 [s:0.0500359 n:49 np:31 miss:1] ; val:"<=50K" prob:[0.897959, 0.102041] | | | ├─(pos)─ "age">=40 [s:0.183168 n:31 np:25 miss:0] ; val:"<=50K" prob:[0.83871, 0.16129] | | | | ├─(pos)─ "workclass" is in [BITMAP] {Local-gov} [s:0.0678637 n:25 np:5 miss:0] ; val:"<=50K" prob:[0.96, 0.04] | | | | | ├─(pos)─ val:"<=50K" prob:[0.8, 0.2] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:">50K" prob:[0.333333, 0.666667] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "fnlwgt">=110670 [s:0.00374211 n:509 np:312 miss:1] ; val:"<=50K" prob:[0.996071, 0.00392927] | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "relationship" is in [BITMAP] {Not-in-family} [s:0.00801517 n:197 np:90 miss:0] ; val:"<=50K" prob:[0.989848, 0.0101523] | | ├─(pos)─ "hours_per_week">=39 [s:0.0087626 n:90 np:61 miss:1] ; val:"<=50K" prob:[0.977778, 0.0222222] | | | ├─(pos)─ "fnlwgt">=104808 [s:0.0180451 n:61 np:6 miss:1] ; val:"<=50K" prob:[0.967213, 0.0327869] | | | | ├─(pos)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | └─(neg)─ "age">=35.5 [s:0.0206567 n:55 np:37 miss:1] ; val:"<=50K" prob:[0.981818, 0.0181818] | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "age">=33.5 [s:0.0643721 n:18 np:6 miss:1] ; val:"<=50K" prob:[0.944444, 0.0555556] | | | | ├─(pos)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "relationship" is in [BITMAP] {Not-in-family} [s:0.00129382 n:1605 np:804 miss:0] ; val:"<=50K" prob:[0.998131, 0.00186916] | ├─(pos)─ "education_num">=9.5 [s:0.00577991 n:804 np:172 miss:1] ; val:"<=50K" prob:[0.996269, 0.00373134] | | ├─(pos)─ "sex" is in [BITMAP] {Female} [s:0.0108563 n:172 np:93 miss:0] ; val:"<=50K" prob:[0.982558, 0.0174419] | | | ├─(pos)─ "fnlwgt">=123196 [s:0.0191763 n:93 np:52 miss:1] ; val:"<=50K" prob:[0.967742, 0.0322581] | | | | ├─(pos)─ "marital_status" is in [BITMAP] {Never-married, Divorced} [s:0.0236893 n:52 np:35 miss:0] ; val:"<=50K" prob:[0.942308, 0.0576923] | | | | | ├─(pos)─ "fnlwgt">=188524 [s:0.0607913 n:35 np:17 miss:1] ; val:"<=50K" prob:[0.914286, 0.0857143] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "education_num">=11 [s:0.0756711 n:18 np:6 miss:0] ; val:"<=50K" prob:[0.833333, 0.166667] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.75, 0.25] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ val:"<=50K" prob:[1, 0] └─(neg)─ "age">=23.5 [s:0.0133279 n:5716 np:2256 miss:1] ; val:"<=50K" prob:[0.974808, 0.0251924] ├─(pos)─ "fnlwgt">=153694 [s:0.00469093 n:2256 np:1482 miss:1] ; val:"<=50K" prob:[0.943706, 0.0562943] | ├─(pos)─ "marital_status" is in [BITMAP] {Married-civ-spouse, Married-AF-spouse} [s:0.0506694 n:1482 np:419 miss:0] ; val:"<=50K" prob:[0.928475, 0.071525] | | ├─(pos)─ "education" is in [BITMAP] {HS-grad, Some-college, Bachelors, 11th, Assoc-acdm, Prof-school, 12th} [s:0.0422608 n:419 np:351 miss:0] ; val:"<=50K" prob:[0.789976, 0.210024] | | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Adm-clerical, Tech-support} [s:0.0398415 n:351 np:110 miss:0] ; val:"<=50K" prob:[0.749288, 0.250712] | | | | ├─(pos)─ "age">=24.5 [s:0.0448946 n:110 np:83 miss:1] ; val:"<=50K" prob:[0.563636, 0.436364] | | | | | ├─(pos)─ "education" is in [BITMAP] {Some-college, Bachelors, Prof-school} [s:0.0550142 n:83 np:53 miss:0] ; val:">50K" prob:[0.481928, 0.518072] | | | | | | ├─(pos)─ "education" is in [BITMAP] {Bachelors} [s:0.0161649 n:53 np:23 miss:0] ; val:">50K" prob:[0.358491, 0.641509] | | | | | | | ├─(pos)─ "relationship" is in [BITMAP] {Wife} [s:0.244438 n:23 np:12 miss:0] ; val:">50K" prob:[0.26087, 0.73913] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ "hours_per_week">=43 [s:0.114364 n:11 np:6 miss:0] ; val:"<=50K" prob:[0.545455, 0.454545] | | | | | | | | ├─(pos)─ val:">50K" prob:[0.333333, 0.666667] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | | └─(neg)─ "fnlwgt">=211864 [s:0.142541 n:30 np:20 miss:0] ; val:">50K" prob:[0.433333, 0.566667] | | | | | | | ├─(pos)─ "race" is in [BITMAP] {Black, Asian-Pac-Islander} [s:0.129254 n:20 np:7 miss:0] ; val:">50K" prob:[0.25, 0.75] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty} [s:0.259163 n:13 np:5 miss:0] ; val:">50K" prob:[0.384615, 0.615385] | | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.625, 0.375] | | | | | | | └─(neg)─ "fnlwgt">=187305 [s:0.163897 n:10 np:5 miss:1] ; val:"<=50K" prob:[0.8, 0.2] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | └─(neg)─ "fnlwgt">=231578 [s:0.129888 n:30 np:12 miss:0] ; val:"<=50K" prob:[0.7, 0.3] | | | | | | ├─(pos)─ "hours_per_week">=42.5 [s:0.453913 n:12 np:6 miss:0] ; val:">50K" prob:[0.416667, 0.583333] | | | | | | | ├─(pos)─ val:">50K" prob:[0, 1] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.833333, 0.166667] | | | | | | └─(neg)─ "age">=25.5 [s:0.136661 n:18 np:12 miss:1] ; val:"<=50K" prob:[0.888889, 0.111111] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | | └─(neg)─ "workclass" is in [BITMAP] {Private} [s:0.177302 n:27 np:12 miss:0] ; val:"<=50K" prob:[0.814815, 0.185185] | | | | | ├─(pos)─ "fnlwgt">=238502 [s:0.453913 n:12 np:6 miss:0] ; val:"<=50K" prob:[0.583333, 0.416667] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:">50K" prob:[0.166667, 0.833333] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "native_country" is in [BITMAP] {<OOD>, Ecuador} [s:0.0223585 n:241 np:7 miss:1] ; val:"<=50K" prob:[0.834025, 0.165975] | | | | ├─(pos)─ val:">50K" prob:[0.285714, 0.714286] | | | | └─(neg)─ "capital_gain">=2994 [s:0.0310211 n:234 np:6 miss:0] ; val:"<=50K" prob:[0.850427, 0.149573] | | | | ├─(pos)─ val:">50K" prob:[0.166667, 0.833333] | | | | └─(neg)─ "hours_per_week">=71 [s:0.0262207 n:228 np:5 miss:0] ; val:"<=50K" prob:[0.868421, 0.131579] | | | | ├─(pos)─ val:">50K" prob:[0.2, 0.8] | | | | └─(neg)─ "occupation" is in [BITMAP] {Craft-repair, Sales, Machine-op-inspct, Transport-moving, Farming-fishing} [s:0.0432646 n:223 np:158 miss:0] ; val:"<=50K" prob:[0.883408, 0.116592] | | | | ├─(pos)─ "education" is in [BITMAP] {Bachelors, Assoc-acdm, 12th} [s:0.0253891 n:158 np:12 miss:0] ; val:"<=50K" prob:[0.835443, 0.164557] | | | | | ├─(pos)─ "fnlwgt">=268116 [s:0.693147 n:12 np:6 miss:0] ; val:"<=50K" prob:[0.5, 0.5] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | | └─(neg)─ "occupation" is in [BITMAP] {Machine-op-inspct, Transport-moving, Farming-fishing} [s:0.0124637 n:146 np:52 miss:0] ; val:"<=50K" prob:[0.863014, 0.136986] | | | | | ├─(pos)─ "hours_per_week">=54 [s:0.0515326 n:52 np:10 miss:0] ; val:"<=50K" prob:[0.788462, 0.211538] | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "fnlwgt">=181150 [s:0.0563007 n:42 np:35 miss:1] ; val:"<=50K" prob:[0.738095, 0.261905] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.685714, 0.314286] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "fnlwgt">=448776 [s:0.0101567 n:94 np:9 miss:0] ; val:"<=50K" prob:[0.904255, 0.0957447] | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ "fnlwgt">=362428 [s:0.0276459 n:85 np:8 miss:0] ; val:"<=50K" prob:[0.894118, 0.105882] | | | | | ├─(pos)─ val:"<=50K" prob:[0.625, 0.375] | | | | | └─(neg)─ val:"<=50K" prob:[0.922078, 0.0779221] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "education" is in [BITMAP] {Bachelors, Masters, Assoc-acdm} [s:0.0176366 n:1063 np:381 miss:0] ; val:"<=50K" prob:[0.983067, 0.0169332] | | ├─(pos)─ "age">=24.5 [s:0.0146223 n:381 np:282 miss:1] ; val:"<=50K" prob:[0.952756, 0.0472441] | | | ├─(pos)─ "workclass" is in [BITMAP] {Private} [s:0.0201911 n:282 np:208 miss:0] ; val:"<=50K" prob:[0.93617, 0.0638298] | | | | ├─(pos)─ "hours_per_week">=39 [s:0.0298457 n:208 np:150 miss:1] ; val:"<=50K" prob:[0.913462, 0.0865385] | | | | | ├─(pos)─ "age">=26.5 [s:0.0235033 n:150 np:56 miss:1] ; val:"<=50K" prob:[0.88, 0.12] | | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial} [s:0.0296255 n:56 np:25 miss:0] ; val:"<=50K" prob:[0.964286, 0.0357143] | | | | | | | ├─(pos)─ "hours_per_week">=42.5 [s:0.0431647 n:25 np:10 miss:0] ; val:"<=50K" prob:[0.92, 0.08] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | | └─(neg)─ "relationship" is in [BITMAP] {Not-in-family} [s:0.113482 n:15 np:7 miss:0] ; val:"<=50K" prob:[0.866667, 0.133333] | | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.714286, 0.285714] | | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Adm-clerical, Tech-support} [s:0.0673442 n:94 np:66 miss:0] ; val:"<=50K" prob:[0.829787, 0.170213] | | | | | | ├─(pos)─ "fnlwgt">=328358 [s:0.0362499 n:66 np:8 miss:0] ; val:"<=50K" prob:[0.757576, 0.242424] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "sex" is in [BITMAP] {Male} [s:0.0459431 n:58 np:19 miss:0] ; val:"<=50K" prob:[0.724138, 0.275862] | | | | | | | ├─(pos)─ "hours_per_week">=42.5 [s:0.11934 n:19 np:10 miss:0] ; val:"<=50K" prob:[0.526316, 0.473684] | | | | | | | | ├─(pos)─ "fnlwgt">=183402 [s:0.0241573 n:10 np:5 miss:1] ; val:">50K" prob:[0.3, 0.7] | | | | | | | | | ├─(pos)─ val:">50K" prob:[0.2, 0.8] | | | | | | | | | └─(neg)─ val:">50K" prob:[0.4, 0.6] | | | | | | | | └─(neg)─ val:"<=50K" prob:[0.777778, 0.222222] | | | | | | | └─(neg)─ "hours_per_week">=41.5 [s:0.0744207 n:39 np:12 miss:0] ; val:"<=50K" prob:[0.820513, 0.179487] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ "fnlwgt">=175694 [s:0.126782 n:27 np:18 miss:1] ; val:"<=50K" prob:[0.740741, 0.259259] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.611111, 0.388889] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "hours_per_week">=54.5 [s:0.00820364 n:774 np:40 miss:0] ; val:"<=50K" prob:[0.972868, 0.0271318] | ├─(pos)─ "fnlwgt">=61323.5 [s:0.0926795 n:40 np:23 miss:1] ; val:"<=50K" prob:[0.85, 0.15] | | ├─(pos)─ "marital_status" is in [BITMAP] {Married-civ-spouse} [s:0.0947848 n:23 np:11 miss:0] ; val:"<=50K" prob:[0.73913, 0.26087] | | | ├─(pos)─ "fnlwgt">=99276 [s:0.0359053 n:11 np:6 miss:1] ; val:"<=50K" prob:[0.545455, 0.454545] | | | | ├─(pos)─ val:"<=50K" prob:[0.666667, 0.333333] | | | | └─(neg)─ val:">50K" prob:[0.4, 0.6] | | | └─(neg)─ "fnlwgt">=121378 [s:0.078335 n:12 np:7 miss:1] ; val:"<=50K" prob:[0.916667, 0.0833333] | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "fnlwgt">=83578.5 [s:0.0119227 n:734 np:476 miss:1] ; val:"<=50K" prob:[0.979564, 0.020436] | ├─(pos)─ "fnlwgt">=136380 [s:0.00557584 n:476 np:127 miss:1] ; val:"<=50K" prob:[0.995798, 0.00420168] | | ├─(pos)─ "fnlwgt">=137180 [s:0.0156246 n:127 np:122 miss:1] ; val:"<=50K" prob:[0.984252, 0.015748] | | | ├─(pos)─ "occupation" is in [BITMAP] {Exec-managerial} [s:0.0218067 n:122 np:9 miss:0] ; val:"<=50K" prob:[0.991803, 0.00819672] | | | | ├─(pos)─ val:"<=50K" prob:[0.888889, 0.111111] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "race" is in [BITMAP] {Asian-Pac-Islander} [s:0.0294841 n:258 np:13 miss:0] ; val:"<=50K" prob:[0.949612, 0.0503876] | ├─(pos)─ "workclass" is in [BITMAP] {Self-emp-not-inc, State-gov} [s:0.344133 n:13 np:7 miss:0] ; val:"<=50K" prob:[0.615385, 0.384615] | | ├─(pos)─ val:">50K" prob:[0.285714, 0.714286] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "marital_status" is in [BITMAP] {Married-civ-spouse, Separated, Married-AF-spouse} [s:0.0262253 n:245 np:69 miss:0] ; val:"<=50K" prob:[0.967347, 0.0326531] | ├─(pos)─ "fnlwgt">=75368 [s:0.0375788 n:69 np:8 miss:1] ; val:"<=50K" prob:[0.898551, 0.101449] | | ├─(pos)─ val:"<=50K" prob:[0.625, 0.375] | | └─(neg)─ "education" is in [BITMAP] {HS-grad, Bachelors, Masters} [s:0.0401483 n:61 np:34 miss:0] ; val:"<=50K" prob:[0.934426, 0.0655738] | | ├─(pos)─ "workclass" is in [BITMAP] {Private} [s:0.0678562 n:34 np:20 miss:0] ; val:"<=50K" prob:[0.882353, 0.117647] | | | ├─(pos)─ "hours_per_week">=42.5 [s:0.065466 n:20 np:5 miss:0] ; val:"<=50K" prob:[0.8, 0.2] | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ "fnlwgt">=52020.5 [s:0.0356938 n:15 np:8 miss:1] ; val:"<=50K" prob:[0.733333, 0.266667] | | | | ├─(pos)─ val:"<=50K" prob:[0.625, 0.375] | | | | └─(neg)─ val:"<=50K" prob:[0.857143, 0.142857] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ "fnlwgt">=24594.5 [s:0.0208274 n:176 np:171 miss:1] ; val:"<=50K" prob:[0.994318, 0.00568182] | ├─(pos)─ val:"<=50K" prob:[1, 0] | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] └─(neg)─ "age">=21.5 [s:0.00531314 n:3460 np:1179 miss:1] ; val:"<=50K" prob:[0.995087, 0.00491329] ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Exec-managerial, Craft-repair, Other-service, Transport-moving, Handlers-cleaners, Protective-serv} [s:0.00986611 n:1179 np:599 miss:0] ; val:"<=50K" prob:[0.985581, 0.014419] | ├─(pos)─ "age">=22.5 [s:0.00544099 n:599 np:357 miss:1] ; val:"<=50K" prob:[0.971619, 0.0283806] | | ├─(pos)─ "occupation" is in [BITMAP] {Prof-specialty, Craft-repair, Transport-moving, Protective-serv} [s:0.0121871 n:357 np:151 miss:0] ; val:"<=50K" prob:[0.985994, 0.0140056] | | | ├─(pos)─ "relationship" is in [BITMAP] {Husband, Own-child} [s:0.0219677 n:151 np:79 miss:0] ; val:"<=50K" prob:[0.966887, 0.0331126] | | | | ├─(pos)─ "education_num">=9.5 [s:0.0451591 n:79 np:40 miss:1] ; val:"<=50K" prob:[0.936709, 0.0632911] | | | | | ├─(pos)─ "education_num">=12 [s:0.0543369 n:40 np:25 miss:0] ; val:"<=50K" prob:[0.875, 0.125] | | | | | | ├─(pos)─ "fnlwgt">=109093 [s:0.0678637 n:25 np:20 miss:1] ; val:"<=50K" prob:[0.96, 0.04] | | | | | | | ├─(pos)─ val:"<=50K" prob:[1, 0] | | | | | | | └─(neg)─ val:"<=50K" prob:[0.8, 0.2] | | | | | | └─(neg)─ "occupation" is in [BITMAP] {Transport-moving, Protective-serv} [s:0.0356938 n:15 np:8 miss:0] ; val:"<=50K" prob:[0.733333, 0.266667] | | | | | | ├─(pos)─ val:"<=50K" prob:[0.625, 0.375] | | | | | | └─(neg)─ val:"<=50K" prob:[0.857143, 0.142857] | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "education" is in [BITMAP] {Some-college, Assoc-acdm, 12th} [s:0.0210783 n:242 np:96 miss:0] ; val:"<=50K" prob:[0.950413, 0.0495868] | | ├─(pos)─ "hours_per_week">=31 [s:0.0400321 n:96 np:67 miss:1] ; val:"<=50K" prob:[0.895833, 0.104167] | | | ├─(pos)─ "fnlwgt">=118670 [s:0.0619352 n:67 np:46 miss:1] ; val:"<=50K" prob:[0.850746, 0.149254] | | | | ├─(pos)─ "fnlwgt">=132320 [s:0.240905 n:46 np:40 miss:1] ; val:"<=50K" prob:[0.782609, 0.217391] | | | | | ├─(pos)─ "occupation" is in [BITMAP] {Exec-managerial, Other-service, Transport-moving} [s:0.0502893 n:40 np:25 miss:0] ; val:"<=50K" prob:[0.9, 0.1] | | | | | | ├─(pos)─ "education" is in [BITMAP] {12th} [s:0.0450011 n:25 np:5 miss:0] ; val:"<=50K" prob:[0.84, 0.16] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | | └─(neg)─ "relationship" is in [BITMAP] {Husband, Own-child, Wife} [s:0.15683 n:20 np:5 miss:0] ; val:"<=50K" prob:[0.9, 0.1] | | | | | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | | | └─(neg)─ val:">50K" prob:[0, 1] | | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ "fnlwgt">=368468 [s:0.0381037 n:146 np:10 miss:0] ; val:"<=50K" prob:[0.986301, 0.0136986] | | ├─(pos)─ "education_num">=6 [s:0.163897 n:10 np:5 miss:1] ; val:"<=50K" prob:[0.8, 0.2] | | | ├─(pos)─ val:"<=50K" prob:[0.6, 0.4] | | | └─(neg)─ val:"<=50K" prob:[1, 0] | | └─(neg)─ val:"<=50K" prob:[1, 0] | └─(neg)─ val:"<=50K" prob:[1, 0] └─(neg)─ val:"<=50K" prob:[1, 0]
模型分析¶
与模型描述相比,模型分析需要一个测试数据集。分析中最具信息量的结果是部分依赖图(PDP),它显示了模型的预测值根据每个特征值的边际化情况。模型分析还显示了在提供的数据集上计算的变量重要性。
注意: 模型分析在计算上是非常耗时的。在大型数据集上,您可以使用抽样参数在数据的随机子集上更快地进行分析。
model.analyze(test_ds, sampling=0.1)
Variable importances measure the importance of an input feature for a model.
1. "capital_gain" 0.050671 ################ 2. "relationship" 0.025284 ######## 3. "occupation" 0.024670 ####### 4. "age" 0.011055 ### 5. "capital_loss" 0.008496 ## 6. "education_num" 0.007473 ## 7. "education" 0.005016 # 8. "hours_per_week" 0.004299 # 9. "marital_status" 0.004095 # 10. "workclass" 0.003071 # 11. "native_country" 0.001843 12. "sex" 0.001535 13. "fnlwgt" 0.000409 14. "race" -0.000512
1. "capital_gain" 0.154399 ################ 2. "relationship" 0.051908 ##### 3. "occupation" 0.048388 ##### 4. "age" 0.045921 #### 5. "marital_status" 0.035104 ### 6. "capital_loss" 0.022189 ## 7. "hours_per_week" 0.016110 # 8. "education_num" 0.012645 # 9. "workclass" 0.007553 10. "education" 0.007413 11. "sex" 0.002022 12. "fnlwgt" 0.001802 13. "native_country" 0.001043 14. "race" -0.000461
1. "capital_gain" 0.049606 ################ 2. "relationship" 0.030076 ######### 3. "age" 0.027485 ######## 4. "marital_status" 0.024765 ######## 5. "occupation" 0.022685 ####### 6. "hours_per_week" 0.012106 ### 7. "capital_loss" 0.008612 ## 8. "education" 0.004257 # 9. "education_num" 0.002681 10. "workclass" 0.002226 11. "sex" 0.001360 12. "native_country" 0.000901 13. "fnlwgt" 0.000411 14. "race" -0.000127
1. "capital_gain" 0.156689 ################ 2. "relationship" 0.051077 ##### 3. "occupation" 0.048085 #### 4. "age" 0.046709 #### 5. "marital_status" 0.034610 ### 6. "capital_loss" 0.022312 ## 7. "hours_per_week" 0.016067 # 8. "education_num" 0.011826 # 9. "workclass" 0.008044 10. "education" 0.006543 11. "fnlwgt" 0.001981 12. "sex" 0.001591 13. "native_country" 0.001042 14. "race" -0.000533
1. "capital_gain" 0.257114 ################ 2. "occupation" 0.180923 ######### 3. "relationship" 0.174742 ######## 4. "age" 0.168138 ####### 5. "education" 0.158981 ####### 6. "education_num" 0.135442 ##### 7. "hours_per_week" 0.130342 #### 8. "marital_status" 0.127251 #### 9. "capital_loss" 0.109360 ## 10. "native_country" 0.099152 # 11. "workclass" 0.093803 # 12. "fnlwgt" 0.090826 # 13. "sex" 0.083221 14. "race" 0.079196
1. "relationship" 112.000000 ################ 2. "marital_status" 72.000000 ########## 3. "capital_gain" 47.000000 ###### 4. "age" 26.000000 ### 5. "education_num" 17.000000 ## 6. "education" 16.000000 ## 7. "sex" 4.000000 8. "occupation" 3.000000 9. "hours_per_week" 2.000000 10. "capital_loss" 1.000000
1. "fnlwgt" 42675.000000 ################ 2. "age" 35511.000000 ############# 3. "occupation" 22243.000000 ####### 4. "hours_per_week" 20670.000000 ###### 5. "workclass" 14154.000000 #### 6. "education" 12187.000000 ### 7. "native_country" 8259.000000 # 8. "education_num" 5939.000000 9. "capital_loss" 5823.000000 10. "relationship" 5739.000000 11. "capital_gain" 5647.000000 12. "marital_status" 5307.000000 13. "race" 4184.000000 14. "sex" 3820.000000
1. "relationship" 433858.904815 ################ 2. "capital_gain" 334790.855075 ############ 3. "marital_status" 299233.579206 ########## 4. "age" 252975.600507 ######### 5. "occupation" 223965.058088 ####### 6. "education" 200117.765345 ####### 7. "education_num" 154575.292088 ##### 8. "fnlwgt" 154205.723560 ##### 9. "hours_per_week" 127125.702869 #### 10. "capital_loss" 83300.645241 ## 11. "workclass" 69589.484423 ## 12. "native_country" 63947.686620 # 13. "sex" 21599.142087 14. "race" 16565.403860
训练和解释一个较弱的模型¶
为了最大化预测质量,您可能训练了随机森林或梯度提升树模型。虽然这些模型很强大,但它们可能难以解释。例如,在梯度提升树中,仅第一个树是容易解释的。为了理解这些复杂模型,您可以训练一个表现相似但性能较低且更易解释的简单模型。例如,决策森林就是一个较弱的模型,它具有更简单的树结构,可以提供有价值的见解。
weak_model = ydf.DecisionTreeLearner(label="income", max_depth=5, min_examples=2).train(train_ds)
# 很高兴理解叶值。例如,`value=[0.2, 0.8]` 表示概率
# 第一个类别的标签概率为20%,而第二个类别的概率为80%。
print("class labels:", weak_model.label_classes())
print(weak_model.print_tree()) # 打印树
# 或者
weak_model.plot_tree() # 绘制树形图
Train model on 22792 examples Model trained in 0:00:00.008077 class labels: ['<=50K', '>50K'] 'relationship' in ['Husband', 'Wife'] [score=0.10683 missing=False] ├─(pos)─ 'occupation' in ['Prof-specialty', 'Exec-managerial', 'Adm-clerical', 'Sales', 'Tech-support', 'Protective-serv'] [score=0.063247 missing=False] │ ├─(pos)─ 'occupation' in ['Prof-specialty', 'Exec-managerial', 'Tech-support'] [score=0.020465 missing=False] │ │ ├─(pos)─ value=[0.3095316082541762, 0.6904683917458238] │ │ └─(neg)─ 'capital_loss' >= 1782.5 [score=0.015711 missing=False] │ │ ├─(pos)─ value=[0.1348314606741573, 0.8651685393258427] │ │ └─(neg)─ value=[0.5318791946308725, 0.46812080536912754] │ └─(neg)─ 'age' >= 34.5 [score=0.0098938 missing=True] │ ├─(pos)─ 'capital_gain' >= 5095.5 [score=0.048652 missing=False] │ │ ├─(pos)─ value=[0.053691275167785234, 0.9463087248322147] │ │ └─(neg)─ value=[0.7321182943603851, 0.26788170563961483] │ └─(neg)─ 'capital_gain' >= 5095.5 [score=0.034373 missing=False] │ ├─(pos)─ value=[0.0, 1.0] │ └─(neg)─ value=[0.8478802992518704, 0.15211970074812967] └─(neg)─ 'capital_gain' >= 7073.5 [score=0.04532 missing=False] ├─(pos)─ value=[0.04020100502512563, 0.9597989949748744] └─(neg)─ value=[0.950544015825915, 0.04945598417408507] None