IDEAS home Printed from https://ideas.repec.org/a/gam/jdataj/v10y2025i9p135-d1730825.html
   My bibliography  Save this article

Predicting Real Estate Prices Using Machine Learning in Bosnia and Herzegovina

Author

Listed:
  • Zvezdan Stojanović

    (Department of Electrical Engineering, Faculty of Engineering, European University Brčko District, 76100 Brčko, Bosnia and Herzegovina)

  • Dario Galić

    (Department of Interdisciplinary Areas, Faculty of Dental Medicine and Health, 31000 Osijek, Croatia)

  • Hava Kahrić

    (Department of Electrical Engineering, Faculty of Engineering, Kallos University, 75000 Tuzla, Bosnia and Herzegovina)

Abstract

The real estate market has a major impact on the economy and everyday life. Accurate real estate valuation is essential for buyers, sellers, investors, and government institutions. Traditionally, valuation has been conducted using various estimation models. However, recent advancements in information technology, particularly in artificial intelligence and machine learning, have enabled more precise predictions of real estate prices. Machine learning allows computers to recognize patterns in data and create models that can predict prices based on the characteristics of the property, such as location, square footage, number of rooms, age of the building, and similar features. The aim of this paper is to investigate how the application of machine learning can be used to predict real estate prices. A machine learning model was developed using four algorithms: Linear Regression, Random Forest Regression, XGBoost, and K-Nearest Neighbors. The dataset used in this study was collected from major online real estate listing portals in Bosnia and Herzegovina. The performance of each model was evaluated using the R 2 score, Root Mean Squared Error (RMSE), scatter plots, and error distributions. Based on this evaluation, the most accurate model was selected. Additionally, a simple web interface was created to allow for non-experts to easily obtain property price estimates.

Suggested Citation

  • Zvezdan Stojanović & Dario Galić & Hava Kahrić, 2025. "Predicting Real Estate Prices Using Machine Learning in Bosnia and Herzegovina," Data, MDPI, vol. 10(9), pages 1-15, August.
  • Handle: RePEc:gam:jdataj:v:10:y:2025:i:9:p:135-:d:1730825
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2306-5729/10/9/135/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2306-5729/10/9/135/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Soo-Jin Kim & Seung-Jong Bae & Min-Won Jang, 2022. "Linear Regression Machine Learning Algorithms for Estimating Reference Evapotranspiration Using Limited Climate Data," Sustainability, MDPI, vol. 14(18), pages 1-20, September.
    2. James Hansen, 2009. "Australian House Prices: A Comparison of Hedonic and Repeat‐Sales Measures," The Economic Record, The Economic Society of Australia, vol. 85(269), pages 132-145, June.
    3. Elli Pagourtzi & Vassilis Assimakopoulos & Thomas Hatzichristos & Nick French, 2003. "Real estate appraisal: a review of valuation methods," Journal of Property Investment & Finance, Emerald Group Publishing Limited, vol. 21(4), pages 383-401, August.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Inga Dailidienė & Inesa Servaitė & Remigijus Dailidė & Erika Vasiliauskienė & Lolita Rapolienė & Ramūnas Povilanskas & Donatas Valiukas, 2023. "Increasing Trends of Heat Waves and Tropical Nights in Coastal Regions (The Case Study of Lithuania Seaside Cities)," Sustainability, MDPI, vol. 15(19), pages 1-21, September.
    2. Bocart, Fabian Y. R. P. & Hafner, Christian M., 2012. "Volatility of price indices for heterogeneous goods," SFB 649 Discussion Papers 2012-039, Humboldt University Berlin, Collaborative Research Center 649: Economic Risk.
    3. Christian Gillitzer & Jin Cong Wang, 2015. "Housing Wealth Effects: Cross-sectional Evidence from New Vehicle Registrations," RBA Research Discussion Papers rdp2015-08, Reserve Bank of Australia.
    4. Marcel-Cristian Voia & Thi Hong Thinh Doan, 2019. "What We Should Know About House Reconstruction Costs?," The Journal of Real Estate Finance and Economics, Springer, vol. 58(3), pages 489-516, April.
    5. Moritz Stang & Bastian Krämer & Cathrine Nagl & Wolfgang Schäfers, 2023. "From human business to machine learning—methods for automating real estate appraisals and their practical implications [Vom Vergleichswertverfahren zum maschinellen Lernen – Methoden zur automatisi," Zeitschrift für Immobilienökonomie (German Journal of Real Estate Research), Springer;Gesellschaft für Immobilienwirtschaftliche Forschung e. V., vol. 9(2), pages 81-108, October.
    6. Callan Windsor & Gianni La Cava & James Hansen, 2014. "Home Price Beliefs in Australia," RBA Research Discussion Papers rdp2014-04, Reserve Bank of Australia.
    7. repec:hum:wpaper:sfb649dp2012-039 is not listed on IDEAS
    8. Robert Hill & Radoslaw Trojanek, 2020. "House Price Indexes for Warsaw: An Evaluation of Competing Methods," Graz Economics Papers 2020-08, University of Graz, Department of Economics.
    9. Paul Frijters & Benno Torgler & Christian Gillitzer & Jin Cong Wang, 2016. "Housing Wealth Effects: Cross-sectional Evidence from New Vehicle Registrations," The Economic Record, The Economic Society of Australia, vol. 92, pages 30-51, June.
    10. Kirill Solovev & Nicolas Prollochs, 2021. "Integrating Floor Plans into Hedonic Models for Rent Price Appraisal," Papers 2102.08162, arXiv.org.
    11. Alicia N. Rambaldi & Cameron S. Fletcher & Kerry Collins & Ryan R.J. McAllister, 2013. "Housing Shadow Prices in an Inundation-prone Suburb," Urban Studies, Urban Studies Journal Limited, vol. 50(9), pages 1889-1905, July.
    12. Jayashree T R & NV Subba Reddy & U Dinesh Acharya, 2023. "Modeling Daily Reference Evapotranspiration from Climate Variables: Assessment of Bagging and Boosting Regression Approaches," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 37(3), pages 1013-1032, February.
    13. Rohan Best & Paul J. Burke & Rabindra Nepal & Zac Reynolds, 2021. "Effects of rooftop solar on housing prices in Australia," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 65(3), pages 493-511, July.
    14. Windsor, Callan & La Cava, Gianni & Hansen, James, 2015. "Home price beliefs: Evidence from Australia," Journal of Housing Economics, Elsevier, vol. 29(C), pages 41-58.
    15. Mick Silver, 2016. "How to Better Measure Hedonic Residential Property Price Indexes," IMF Working Papers 2016/213, International Monetary Fund.
    16. Mariusz Doszyń, 2024. "Might expert knowledge improve econometric real estate mass appraisal?," The Journal of Real Estate Finance and Economics, Springer, vol. 69(4), pages 719-740, November.
    17. Giovanni Gallo & Claudia Garofoli, 2023. "Proxying the socio-economic background through real estate values. An application on performances of university students," Center for the Analysis of Public Policies (CAPP) 0184, Universita di Modena e Reggio Emilia, Dipartimento di Economia "Marco Biagi".
    18. Alicia Rambaldi & Prasada Rao, 2011. "Hedonic Predicted House Price Indices Using Time-Varying Hedonic Models with Spatial Autocorrelation," Discussion Papers Series 432, School of Economics, University of Queensland, Australia.
    19. Ryan Greenaway‐McGrevy & Arthur Grimes & Mark Holmes, 2019. "Two countries, sixteen cities, five thousand kilometres: How many housing markets?," Papers in Regional Science, Wiley Blackwell, vol. 98(1), pages 353-370, February.
    20. Parvin Mahmoudi & Darla Hatton MacDonald & Neville D. Crossman & David M. Summers & John van der Hoek, 2013. "Space matters: the importance of amenity in planning metropolitan growth," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 57(1), pages 38-59, January.
    21. David Genesove & James Hansen, 2014. "Predicting Dwelling Prices with Consideration of the Sales Mechanism," RBA Research Discussion Papers rdp2014-09, Reserve Bank of Australia.

    More about this item

    Keywords

    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jdataj:v:10:y:2025:i:9:p:135-:d:1730825. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.