Because the argument IterNum has the value 20, the function builds 20 classification trees.
message |
---|
Input tables:"housing_train_att", "housing_cat", "housing_train_response"
Running 20 round AdaBoost, computing 20 classification trees. AdaBoost model created in table "abd_model" |
This query returns the model table, described by the following two tables:
SELECT * FROM abd_model ORDER BY 1,3;
classifier_id | classifier_weight | node_id | node_label | node_majorfreq | attribute | split_value |
---|---|---|---|---|---|---|
1 | 2.82867818889083 | 0 | Eclectic | 0.601626016260163 | price | 49500 |
1 | 2.82867818889083 | 2 | Eclectic | 0.601626016260163 | price | 90000 |
1 | 2.82867818889083 | 5 | Eclectic | 0.538617886178861 | price | 55000 |
2 | 3.284500712218 | 0 | Eclectic | 0.598193473193469 | price | 55000 |
2 | 3.284500712218 | 1 | Classic | 0.359382284382285 | gashw | NaN |
2 | 3.284500712218 | 2 | Eclectic | 0.568648018648017 | garagepl | 1 |
2 | 3.284500712218 | 4 | Classic | 0.357867132867133 | fullbase | NaN |
2 | 3.284500712218 | 5 | Eclectic | 0.257575757575758 | lotsize | 16200 |
2 | 3.284500712218 | 6 | Eclectic | 0.311072261072261 | stories | 4 |
3 | 2.87425191371606 | 0 | Eclectic | 0.458459069137445 | price | 95000 |
3 | 2.87425191371606 | 1 | Eclectic | 0.384960363716916 | price | 51500 |
3 | 2.87425191371606 | 3 | Classic | 0.142718762142357 | garagepl | 2 |
... | ... | ... | ... | ... | ... | ... |
left_bucket | right_bucket | left_label | right_label | left_majorfreq | right_majorfreq |
---|---|---|---|---|---|
Classic | Eclectic | 0.241869918699188 | 0.601626016260163 | ||
Eclectic | bungalow | 0.538617886178861 | 0.113821138211382 | ||
Eclectic | Eclectic | 0.0792682926829268 | 0.459349593495934 | ||
Classic | Eclectic | 0.359382284382285 | 0.568648018648015 | ||
yes | no | Eclectic | Classic | 0.00303030303030304 | 0.357867132867133 |
Eclectic | Eclectic | 0.257575757575758 | 0.311072261072259 | ||
yes | no | Classic | Classic | 0.0294871794871793 | 0.328379953379953 |
Eclectic | bungalow | 0.257575757575758 | 0.000757575757575758 | ||
Eclectic | Eclectic | 0.295221445221445 | 0.0158508158508158 | ||
Eclectic | bungalow | 0.384960363716916 | 0.398822168720203 | ||
Classic | Eclectic | 0.142718762142357 | 0.348728479658944 | ||
Classic | Eclectic | 0.13649642855846 | 0.0144927536231885 | ||
... | ... | ... | ... | ... |