This document presents a classification model to predict whether a house is made of brick or not based on various variables like price, square footage, number of bedrooms, etc. It describes collecting data on 128 house sales and using variables like price, square footage, bedrooms in a decision tree model built with Rattle. The model achieved a classification accuracy of 80.8% based on a confusion matrix and ROC curve evaluation. In conclusion, it finds that brick houses are generally more expensive than wooden houses due to differences in construction materials, flexibility, and suitability for different climates.
2. AGENDA
Introduction & Objective
Variables
Data Set
Rattle Implementation
Distribution of Variables Histogram
Decision Tree Overview
Induction of Decision Tree
Model Evaluation : Receiver Operating Characteristic
Conclusion
3. CASE STUDY INTRODUCTION &
OBJECTIVE
Mr. Peter in US, after completing his MBA from University
of California started working with a realtor Mannubhai
Patel, who has hired him as a business analyst.
Mannubhai has told him that they are in the competitive
New York retail market and therefore he needs all the help
from him to get ahead.
Peter brainstormed a bit and skills to make his Boss
understand the classification of Brick and Non Brick
Houses relation with Price in US Real Estate Sector. He
has collected some data to analyze.
Source of Data www.analyticstraining.in
4. VARIABLES
House Prices.xls contains data on 128 recent sales of single-family
houses in MidCity. The variables are:
Price: Price at which house was eventually sold
SqFt: Floor area in square feet
Bedrooms: Number of bedrooms
Bathrooms: Number of bathrooms
Offers: Number of offers made on the house prior to the
accepted offer
Brick: Whether the construction is primarily brick or not (yes or
no)
Neighborhood: One of the three neighborhoods in MidCity
(east, west or north)
Zone/Brick
East
North
West
No
26
37
23
86
Yes
19
7
16
42
45
44
39
128
12. CONCLUSION
Brick houses are more costlier than wooden houses.
Wooden houses are relatively light compared to brick and more flexible.
Brick houses work well in cold climates as it retains natural heat whereas
wooden houses are used in areas where erosion & silt accumulation can damage
brick walls.
Wooden houses are biodegradable, affordable, healthy & easier to renovate
than Brick.