Skip to main content
QUICK REVIEW

[Paper Review] Machine Learning, Deep Learning, and Hedonic Methods for Real Estate Price Prediction

Mahdieh Yazdani|arXiv (Cornell University)|Oct 14, 2021
Housing Market and EconomicsEconomics, Econometrics and Finance58 references8 citations
TL;DR

This study compares hedonic regression, random forest (RF), artificial neural networks (ANN), and k-nearest neighbors (kNN) for real estate price prediction in Boulder, Colorado. Using a diverse dataset combining MLS, crime, school, and walkability data, it finds that RF and ANN outperform traditional hedonic models due to their ability to capture non-linear relationships, with RF showing the highest predictive accuracy (R² > 0.90, RMSE ≈ 105k).

ABSTRACT

In recent years several complaints about racial discrimination in appraising home values have been accumulating. For several decades, to estimate the sale price of the residential properties, appraisers have been walking through the properties, observing the property, collecting data, and making use of the hedonic pricing models. However, this method bears some costs and by nature is subjective and biased. To minimize human involvement and the biases in the real estate appraisals and boost the accuracy of the real estate market price prediction models, in this research we design data-efficient learning machines capable of learning and extracting the relation or patterns between the inputs (features for the house) and output (value of the houses). We compare the performance of some machine learning and deep learning algorithms, specifically artificial neural networks, random forest, and k nearest neighbor approaches to that of hedonic method on house price prediction in the city of Boulder, Colorado. Even though this study has been done over the houses in the city of Boulder it can be generalized to the housing market in any cities. The results indicate non-linear association between the dwelling features and dwelling prices. In light of these findings, this study demonstrates that random forest and artificial neural networks algorithms can be better alternatives over the hedonic regression analysis for prediction of the house prices in the city of Boulder, Colorado.

Motivation & Objective

  • To address subjectivity and bias in traditional real estate appraisals, particularly racial discrimination concerns.
  • To evaluate whether machine learning and deep learning models can improve prediction accuracy over conventional hedonic pricing models.
  • To identify the most predictive housing features in Boulder’s real estate market using interpretable and non-interpretable models.
  • To assess the performance of RF, ANN, and kNN relative to hedonic regression using standard metrics on unseen test data.
  • To explore the feasibility of generalizing the model to other urban housing markets beyond Boulder, CO.

Proposed method

  • Collected and merged data from multiple sources: Multiple Listing Service (MLS), Public School Ratings, Colorado Crime Rates, CrimeReports, WalkScore, and US Census Bureau.
  • Preprocessed features including log-transformed living area, categorical variables (e.g., region, neighborhood), and derived variables (e.g., drive time to CBD).
  • Trained and evaluated four models: hedonic regression, random forest (RF), artificial neural network (ANN), and k-nearest neighbors (kNN) on a test set of unseen data.
  • Used performance metrics including R², RMSE, and MAPE to compare model accuracy; applied variable importance analysis and marginal effect visualization in RF.
  • Employed bootstrapping and bagging in RF to enhance robustness on small datasets and reduce overfitting.
  • Visualized non-linear marginal effects of top features (e.g., living area, distance to CBD, age) using partial dependence plots.

Experimental results

Research questions

  • RQ1Do machine learning and deep learning models outperform traditional hedonic regression in predicting real estate prices in Boulder, CO?
  • RQ2What is the nature of the relationship between housing features (e.g., size, age, location) and property values—linear or non-linear?
  • RQ3Which model (RF, ANN, kNN, or hedonic regression) achieves the highest predictive accuracy on unseen test data?
  • RQ4Which housing features are most influential in predicting property value in Boulder, and how do their marginal effects vary?
  • RQ5Can data-efficient machine learning models reduce human bias and subjectivity in real estate appraisals?

Key findings

  • Random forest (RF) achieved the highest predictive performance with an R² > 0.90, RMSE ≈ 105k, and MAPE < 10% on the test set, outperforming both hedonic regression and ANN.
  • The hedonic model exhibited lower R² and higher RMSE, indicating limited ability to capture complex, non-linear relationships in housing data.
  • The RF model identified log-transformed living area as the most important predictor, followed by drive time to the Central Business District (CBD), region, and property age.
  • Marginal effect plots revealed non-linear relationships: house value increased with living area at a diminishing rate, decreased with distance to CBD non-linearly, and showed a U-shaped relationship with age (negative for 0–50 years, positive for older homes).
  • Artificial neural networks (ANN) also outperformed hedonic regression but were less accurate than RF, particularly due to overfitting risks with high-cardinality categorical variables.
  • kNN showed moderate performance but was less effective than RF and ANN, especially in high-dimensional feature spaces.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.