The following table describes the home sales data contained in the input table. There are six numerical predictors and six categorical predictors. The response variable is homestyle.
Column Name | Description |
---|---|
price | Sale price in U. S. dollars (numeric) |
lotsize | Lot size in square feet (numeric) |
bedrooms | Number of bedrooms (numeric) |
bathrms | Number of full bathrooms (numeric) |
stories | Number of stories, excluding basement (numeric) |
driveway | Whether the house has a driveway—yes or no (categorical) |
recroom | Whether the house has a recreation room—yes or no (categorical) |
fullbase | Whether the house has a full finished basement—yes or no (categorical) |
gashw | Whether the house uses gas to heat water—yes or no (categorical) |
airco | Whether the house has central air conditioning—yes or no (categorical) |
garagepl | Number of garage places (numeric) |
prefarea | Whether the house is in a preferred neighborhood—yes or no (categorical) |
homestyle | Style of home (response variable) |
The table of raw training data, housing_train, is described by the following two tables.
sn | price | lotsize | bedrooms | bathrms | stories | driveway |
---|---|---|---|---|---|---|
1 | 42000 | 5850 | 3 | 1 | 2 | yes |
2 | 38500 | 4000 | 2 | 1 | 1 | yes |
3 | 49500 | 3060 | 3 | 1 | 1 | yes |
4 | 60500 | 6650 | 3 | 1 | 2 | yes |
5 | 61000 | 6360 | 2 | 1 | 1 | yes |
6 | 66000 | 4160 | 3 | 1 | 1 | yes |
7 | 66000 | 3880 | 3 | 2 | 2 | yes |
8 | 69000 | 4160 | 3 | 1 | 3 | yes |
9 | 83800 | 4800 | 3 | 1 | 1 | yes |
10 | 88500 | 5500 | 3 | 2 | 4 | yes |
11 | 90000 | 7200 | 3 | 2 | 1 | yes |
12 | 30500 | 3000 | 2 | 1 | 1 | no |
14 | 36000 | 2880 | 3 | 1 | 1 | no |
15 | 37000 | 3600 | 2 | 1 | 1 | yes |
... | ... | ... | ... | ... | ... | ... |
recroom | fullbase | gashw | airco | garagepl | prefarea | homestyle |
---|---|---|---|---|---|---|
no | yes | no | no | 1 | no | Classic |
no | no | no | no | 0 | no | Classic |
no | no | no | no | 0 | no | Classic |
yes | no | no | no | 0 | no | Eclectic |
no | no | no | no | 0 | no | Eclectic |
yes | yes | no | yes | 0 | no | Eclectic |
no | yes | no | no | 2 | no | Eclectic |
no | no | no | no | 0 | no | Eclectic |
yes | yes | no | no | 0 | no | Eclectic |
yes | no | no | yes | 1 | no | Eclectic |
no | yes | no | yes | 3 | no | Eclectic |
no | no | no | no | 0 | no | Classic |
no | no | no | no | 0 | no | Classic |
no | no | no | no | 0 | no | Classic |
... | ... | ... | ... | ... | ... | ... |