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
    ---><---

    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.

    We have no bibliographic references for this item. You can help adding them by using 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.