Multivariate prediction of total organic carbon in river water using random forest and deep learning regression algorithms
Authors:
- Eric Kipkirui KemeiEKEric Kipkirui Kemei
- Kristof Van LaerhovenKLKristof Van Laerhoven
- Nancy Wangeci KaruriNKNancy Wangeci Karuri
Open Access
- 1 January 2025
- journal article
- Published by American Institute of Mathematical Sciences (AIMS) in Applied Computing and Intelligence
- Vol. 5 (2) , 264-285
Abstract
Total organic carbon (TOC) is used to determine the total amount of organic compounds in water. It has been used to indicate water purity levels for industrial water for decades. Analyzing TOC in water is often time-consuming and an expensive activity, requiring the use of multiple high-precision sensors. Our main aim of this study was to compare the use of the Random Forest (RF) algorithm, one-dimensional convolutional neural network (1D-CNN), and multilayer perceptron (MLP) in predicting TOC using water quality parameters selected based on their strength of correlation. RF was chosen because it can model complex interactions between the various parameters and is resistant to overfitting. 1D-CNN can handle local dependencies and spatial relationships between input features whereas MLP handles independent numerical features in the dataset. The dataset was obtained from analysis done in Puget Sound marine waters around Seattle King County in the USA at the Duwamish River at three sampling locations. Learning curve analysis demonstrated that the dataset size was sufficient for stable training and generalization, while five-fold cross-validation confirmed consistent model performance across data splits. The effects of wet and dry seasons on the parameter levels were done and their impact on RF model accuracy was assessed. The selection of parameters based on Gini importance ranking was done to evaluate their effect on the accuracy of the RF model. Our results indicated that the prediction of TOC using RF regression was the most accurate with a coefficient of determination (R2) of 0.732. The 1D-CNN and MLP had R2 of 0.714 and 0.638, respectively. The mean absolute error (MAE) for RF, 1D-CNN, and MLP were 0.120 mg/L, 0.244 mg/L and 0.270 mg/L, respectively. It was concluded that the RF algorithm would be more feasible in predicting TOC in river water than the two deep learning methods.Keywords
This publication has 35 references indexed in Scilit:
- The effect of dataset size and the process of big data mining for investigating solar-thermal desalination by using machine learningInternational Journal of Heat and Mass Transfer, 2024
- Total organic carbon content logging prediction based on machine learning: A brief reviewEnergy Geoscience, 2023
- Assessment of the total organic carbon employing the different nature-inspired approaches in the Nakdong River, South KoreaEnvironmental Monitoring and Assessment, 2021
- TOC determination of Zhangjiatan shale of Yanchang formation, Ordos Basin, China, using support vector regression and well logsEarth Science Informatics, 2021
- Robust regression using support vector regressionsChaos, Solitons & Fractals, 2021
- Prediction of total organic carbon at Rumaila oil field, Southern Iraq using conventional well logs and machine learning algorithmsMarine and Petroleum Geology, 2020
- Total Organic Carbon Prediction with Artificial Intelligence Techniques2019
- Random forest missing data algorithmsStatistical Analysis and Data Mining: An ASA Data Science Journal, 2017
- Machine learning predictive models for mineral prospectivity: An evaluation of neural networks, random forest, regression trees and support vector machinesOre Geology Reviews, 2015
- Support-vector-regression machine technology for total organic carbon content prediction from wireline logs in organic shale: A comparative studyJournal of Natural Gas Science and Engineering, 2015