IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v18y2026i10p5101-d1945967.html

Classification of Water Pipe Damage Types Using Random Forest

Author

Listed:
  • Małgorzata Kutyłowska

    (Faculty of Environmental Engineering, Wrocław University of Science and Technology, Wyb. Wyspiańskiego 27, 50-370 Wrocław, Poland)

  • Wojciech Cieżak

    (Faculty of Environmental Engineering, Wrocław University of Science and Technology, Wyb. Wyspiańskiego 27, 50-370 Wrocław, Poland)

Abstract

This study presents the results of a classification of the types of water supply pipe failures using a random forest model consisting of 72 trees. The modeling was done in Statistica software. The classification accuracy was compared with earlier results obtained from single-classification-tree models. The qualitative-dependent variable was the type of failure (corrosion, crack, sealing). The predictors included quantitative variables (diameter, year of construction) as well as qualitative variables (pipe type and material). The choice of 72 trees was made based on an analysis of the misclassification rate (31%) during the training stage. Increasing the number of trees forming the forest did not produce more accurate classification results: for the test set, the accuracy was 82%, 72%, and 37% for corrosion, crack, and sealing failures, respectively. The trees forming the random forest differed in their structure both in terms of the number of split and terminal nodes, as well as in the depth and number of levels of individual trees. The overall classification accuracy for the test set was nearly 66%, which is a better result than in the earlier analyses based on single trees. The proposed approach also aligns with the currently promoted concept of the sustainable operation of critical infrastructure.

Suggested Citation

  • Małgorzata Kutyłowska & Wojciech Cieżak, 2026. "Classification of Water Pipe Damage Types Using Random Forest," Sustainability, MDPI, vol. 18(10), pages 1-15, May.
  • Handle: RePEc:gam:jsusta:v:18:y:2026:i:10:p:5101-:d:1945967
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/18/10/5101/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/18/10/5101/
    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:jsusta:v:18:y:2026:i:10:p:5101-:d:1945967. 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 The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (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.