Introduction

Water is the key natural factor for human survival and social growth as well as for ecological (i.e., natural, biological, and environmental) health (Rezaie-Balf et al. 2020). Whether drinking or personal hygiene, water is the fundamental element for manufacturing, agricultural, and biotransformation purposes. Water pollution has become a serious problem worldwide in the last few decades, especially in developing countries (Avellán and Gremillion 2019; Xu et al. 2019; Abba et al. 2020).

The status of river water quality in Malaysia has been a persistent concern for several local authorities, government bodies, and the public. Malaysian rivers are generally regarded to be polluted, some of them being Juru River in Penang, Skudai River in Johor, and Klang River in Selangor and Kuala Lumpur (VishnuRadhan et al. 2015; Othman et al. 2020).

The water quality of several rivers systems is checked regularly by the Malaysian authorities. These checks provide crucial information on the condition of the waterways and help plan an adequate floodplain management action for the river basin (Caddis et al. 2012). Therefore, this study utilizes the collected information to create an understanding of the functioning of waterways and the interaction of contaminants with nutrients over time in the river systems.

Additionally, water quality research is a crucial priority issue because it directly affects the lives of people and needs more commitment from decision-makers. Variables regularly inspected include temperature, pH, conductivity, dissolved oxygen (DO), nutrient concentration, chemical oxygen demand (COD), total suspended solids (TSS), ammoniacal nitrogen (NH3–N), and biological oxygen demand (BOD). Water quality index (WQI) is a measure of the physical, chemical, and biological characteristics of water (Najah et al. 2011b). It helps gauge water quality. The index is typically used to provide information on water suitability for different uses like drinking, aquatic life, or recreation. In Malaysia, WQI measurement comprises six chemical parameters that are dissolved oxygen (DO), pH, chemical oxygen demand (COD), suspended solids (SS), ammoniacal nitrogen (NH3–N), and biological oxygen demand (BOD) (Nurul-Ruhayu et al. 2015).

Recently, many news and research studies have reported a noticeable improvement in the quality of water during the lockdown with the Movement Control Order (MCO) due to the COVID-19 outbreak (Saadat et al. 2020; Yunus et al. 2020). The lockdown has brought about a decrease or complete stop on the pollutant discharge affecting the aquatic ecosystem. The pollutants include heavy metals, wastewater, crude oil, and plastic, among others (Häder et al. 2020).

Vembanad Lake, which is the longest freshwater lake in India, has seen considerable improvement in the suspended particulate matter (Yunus et al. 2020). In this study, it was observed that an average of 15.9% reduced the concentration of suspended particulate matter (SPM) during the lockdown period compared to the pre-lockdown time. The SPM concentration dropped by 34% in April 2020, compared to longer-term measurements over the previous years.

In India, massive quantities of industrial discharge, untreated sewage, agricultural and urban runoff, and landfill leachates are discharged into the Ganga River. A decrease in DO concentration and the creation of hypoxic zone caused fish to die, causing a trophic cascade and affecting nutritional and livelihood security in the area. Since the nationwide lockdown from March 21, 2020, River Ganga has been cleaner in many places. The water quality of the Ganga River has improved with the rise in DO and decreased concentration of nitrate. The Ganga tributaries were also refined due to the rise in DO concentrations during the lockdown period.

The Yamuna is another major Indian river that is much polluted. This river is crucial to the daily life of the population dwelling on the banks and surrounding areas. The rapidly rising population and the industrial revolution during several previous decades caused immense pollution, and it is now among the most polluted rivers globally. Domestic waste discharge through minor and main drains and industrial effluents are responsible for the current state of the river (Sharma et al. 2020). With the lockdown still in effect, the waters of the Yamuna River have seen a considerable rise in quality, especially in areas where there are lesser industrial activity and human encroachments. Reports indicate that a reduction in human and industrial activity has led to betterment in the water quality of the Yamuna River (Said and Hussain 2019; Sharma et al. 2020). In Venice, the turbidity is extremely affected by boat waves; however, during the restriction, a noticeable improvement was reported in water due to the reduction in boat traffic (Braga et al. 2020). However, this is less applicable in Malaysia, where there is a small density of boating traffic.

The primary objective of this study was to evaluate the effects of the COVID-19-induced MCO lockdown on the water quality of the lakes and rivers in Malaysia. Two urban rivers (i.e., Rivers of Klang and Penang) and a lake (Putrajaya Lake) were selected for the investigative study. A preliminary analysis of the WQI status before and during the lockdown with MCO due to the COVID-19 outbreak has been carried out in this study.

Materials and methods

Water quality before the movement control order (MCO)

Klang River

The Klang River is one of the best examples in Malaysia of frequently polluted rivers as a result of rapid urbanization. The Klang River basin lies on the western coast of peninsular Malaysia. It originates from the mountainous region located 25 km Northeast of Kuala Lumpur. Eleven significant tributaries join the river, while it crosses the Federal Territory of Kuala Lumpur and Selangor State downstream before it discharges at Port Klang in the Straits of Malacca.

Figure 1 shows the location of the river and where the water quality monitoring stations are located. The Klang River runs for a total length of 120 km. The massive discharge of several emerging organic wastes in the river’s estuary ecosystem was due to heavy industry, plantations, commercial, and residential activity from populated urban cities (Nazifa et al. 2020). It has been reported that the downstream part of Klang River is polluted, and the class of the river water quality, in general, considers Class V; therefore, there is a need for extensive treatment before the water can be used for domestic purposes (Mohamed et al. 2015).

Fig. 1
figure 1

a Location of Klang River basin and b The stations of water quality monitoring (Rezaie-Balf et al. 2020)

Penang River

The Penang River basin covers an area of about 50 km2, encompassing a majority of George Town and the entirety of Paya Terubong and Ayer Itam. Six tributaries feed the river, which all flow through densely populated urban centers of the island. The water quality of the Penang River was categorized as Class IV (Huang et al. 2015), which is next only to the dead river classification. For more than a decade, there have been plans to target a Class II water quality. A majority of the rivers in Penang Island were polluted or slightly polluted. Surface runoff and domestic sewage are the most significant point sources of pollution in the rivers of Penang Island. The waste from nearby communities’ discharges into the river, reducing river water quality. The rivers in the Western and Eastern areas of the island are most affected (Nurul-Ruhayu et al. 2015). Razali et al. (2020) conducted a study that confirmed the sources of river water pollution were agricultural activity associated with landslides, soil erosion, and land clearance. In addition to that, a study conducted by Muhamad et al. (2020) found the status of the Penang River is polluted, which is classified as class V.

Monitoring stations for both Klang and Penang Rivers are operated by DOE, which runs and oversees the water quality of all Malaysian rivers (DOE | Ministry of Environment and Water, Malaysia).

Putrajaya Lake

Putrajaya Lake is located at a significant part of Malaysia’s administrative center that offers a self-sustainable scenic ecosystem for sports, recreation, and tourism. The constructed lake has been present since 2001 and is a significant urban lake that was created after inundating the Bisa and Chuau Rivers, having an area of 400 ha. As per the ecohydrological management technique, artificial wetlands created using a multi-stage and multi-cell approach, built upstream of the Putrajaya Lake, serve as a crucial filtering system that is responsible for treating pollutants and storm runoff before the water drains into the Langat River (Teo et al. 2017).

To make sure that the wetlands and the Putrajaya Lake remain in balance and serve as favorable urban ecosystems, water quality and catchment are considered in an integrated manner comprising thorough monitoring and assessment of the ecosystem’s status (Noordin et al. 2016). Data gathered from 17 sampling stations provide information about the water quality, especially to identify point-source-induced pollution in the lake. For Putrajaya Lake, these data serve to generate the WQI. The Malaysian Department of Environment (DOE) uses the National Water Quality Standards for Malaysia (NWQS) and water quality index (WQI) to assess the river water quality (Huang et al. 2015). Malaysia has been using the WQI system proposed by the DOE for the past 25 years. The system is the basis for evaluating environmental water quality, whereas the NWQS classifies the benefits of the watercourse using WQI. This index is calculated based on six parameters DO, BOD, COD, pH, NH3–N, and SS. Figure 2 illustrates Water Quality Classification based on WQI. Class I means the river status is very good, while Class II is good. Class III means the river quality status is average, while Class IV and Class V is slightly polluted and polluted, respectively.

Fig. 2
figure 2

DOE classification of water quality based on the water quality index

Therefore, the water quality improvements in the lake are based on the WQI classification status. Public amenities, including toilets in residential areas, were observed to have occasional sewage backflow or overflow in public holidays or during events (Sharip et al. 2016). It can be seen from Table 1 that the quality of the lake had deteriorated, and it degraded from WQI Class I to Class II. Basically, water quality in the Putrajaya Lake is classified as moderate good to good, corresponding to Class II and Class I.

Table 1 WQI classification (%) for the Putrajaya Lake from 2011–2019 (Adapted from (BAHAGIAN ALAM SEKITAR, TASIK DAN WETLAND PERBADANAN PUTRAJAYA. http://plwmos.ppj.gov.my/. Accessed 5 May 2020b)

Model development

Recently, machine learning algorithms were utilized by many researchers to predict most water quality parameters accurately and proved its efficiency (Rahgoshay et al. 2018; Ho et al. 2019; Najah Ahmed et al. 2019). In this study, four different machine learning algorithms, namely multi-layer perceptron (MLP), support vector machine (SVM), random forest (RF), and boosted decision tree (BDT), have been proposed to predict the changes in water quality parameters. More details about these models can be seen in (Choi et al. 2018; Lai et al. 2019; Jumin et al. 2020; Muslim et al. 2020). After developing the above-mentioned techniques, the performance of these techniques was evaluated based on comparing the actual and the predicted data from each technique and based on the relative error percent, which can measure the discrepancy between the predicted and the observed data (Fiyadh et al. 2019):

$$ {\text{RE}}\left( \% \right) = 100*\frac{{{\text{observed}} - {\text{Predicted}}}}{{\text{Observed }}} $$
(1)

Finally, sensitivity analysis is recommended by researchers to check how sensitive is the model’s accuracy with each input parameter (Ibrahim et al. 2019). Therefore, in this study, sensitivity analysis will be introduced to check the redundancy and to determine the significance of each input parameters on the accuracy of the proposed models based on Pearson’s correlation coefficient:

$$ r_{xy} = \frac{{\mathop \sum \nolimits_{i = 1}^{n} \left( {x_{i} - \overline{x}} \right)\left( {y_{i} - \overline{y}} \right)}}{{\sqrt {\mathop \sum \nolimits_{i = 1}^{n} (x_{i} - \overline{x})^{2} } \sqrt {\mathop \sum \nolimits_{i = 1}^{n} (y_{i} - \overline{y})^{2} } }} $$
(2)

rxy is the covariance correlation function, n is the sample size of the data. xi, yi are the individual sample points indexed with i, \({\overline{x}}\) and \({\overline{y}}\) sample mean.

Results and discussion

Water quality after movement control order (MCO)

In news reports as recent as April 2020 (Cleaner waterways and rivers during MCO. https://www.thestar.com.my/news/nation/2020/04/25/cleaner-waterways-and-rivers-during-mco), in over just a month’s time, the water quality for Klang River was stated as noticeably clearer and cleaner. The Global Environment Centre (GEC) stated the significant improvements in river conditions, particularly in the tributaries of Klang River at the Gombak River, the Way River, and the Kemuning River, since the MCO commenced in March in Malaysia.

It was also reported that the Penang River had higher cleanliness during the MCO. In contrast, the pre-MCO pollution was caused due to human activity led by oil spills emerging from factories and workshops, which emulsified and mixed with organic content from the wastewater originating from hawkers, markets, among other sources. With MCO in effect, dumping stopped (Coronavirus: Penang River green again, thanks to MCO. https://www.straitstimes.com/asia/se-asia/penang-river-green-again-thanks-to-mco).

It should be noted that on April 21, the Department of Environment (DOE) in Malaysia has reported that 28% of the 29 real-time water quality stations have shown improvement in the quality of water. At the same time, 44% of the stations shown slight changes in the quality of the water. Finally, the remaining 28% of the stations shown no noticeable changes. These improvements are associated with the temporary cessation of operation for non-essential service; they are reported (Jabatan Alam Sekitar | Facebook. https://www.facebook.com/doe.gov.my/. Accessed 21 April 2020h).

As far as Putrajaya Lake is concerned, the closure of industrial and tourist activity since March 2020 caused the emerging pollution almost to cease. Putrajaya Lake is in a state where it offers an opportunity to study water quality change during the lockdown. It can be observed from Fig. 3 that there has been a significant improvement in water quality in the lake during the lockdown with MCO.

Fig. 3
figure 3

Water quality index for the first three months in 2020 (Adapted from (Perbadanan Putrajaya | Facebook. https://www.facebook.com/putrajaya. Accessed 15 May 2020i))

For example, this improvement had shown a significant increase in the WQI Class I, from 24% in February 2020 to 94% during the MCO month of March 2020. Before the MCO, the lake had only achieved WQI Class II for 94% and 76%, respectively, in January and February 2020. The lake had been deteriorating for some time and had been maintained as WQI Class II before the MCO. During the month of lockdown with MCO in March 2020, the water quality of the lake has experienced a rapid shift from WQI Class II to I. This condition had resulted in the best recorded WQI that had been achieved for the Putrajaya Lake over the past ten years. This is mainly due to its naturally improved water quality since the encroachment of humans had been stopped completely. At the same time, the pollution sources were virtually non-existent as a consequence of the curfew-like MCO. It was found that the three main parameters of the WQI (i.e., TSS, DO, and BOD) had contributed extensively to this improvement of water quality in the lake, as can be seen in Table 2. It is noticeable that the water quality before MCO was Class II, February 2020. Then, since the imposing of the MCO, the water quality became Class I and continued during the entire period of movement control. It should be a highlight that there is slight deterioration after the MCO in the COD.

Table 2 Average value of water quality parameters

However, it can be seen from Fig. 4 that the COD values post-MCO in 2020 is better than compared with the same month last year, 2019. For example, COD values during post-MCO did not vary much for the entire month of May 2020 where the maximum value was 13 mg/L, while the minimum value was 10 mg/L. While there is a noticeable variation in COD values for the same month in 2019 where the maximum recorded value was 18 mg/L. This indicates that there is improvement in the water quality class of the lake with respect to the COD values during the post-MCO, which is class I compared to the same month in 2019 which Class II. Similarly, the average WQI class for May 2020 is class one, while it was class two during the same month in 2019. In addition to that, Landsat 8 spectral images are used to confirm the improvement of the lake water quality before and during the MCO. Landsat 8 images are gaining popularity among research as an effective tool to monitor the quality of water (González-Márquez et al. 2018a, b). It can be seen from Fig. 5 that the reflectance of the spectral bands of Landsat 8 images is high before MCO compared with the duration during the MCO. Overall, it can be concluded that there is a noticeable improvement in the quality of water.

Fig. 4
figure 4

Measured COD during May 2019 and 2020

Fig. 5
figure 5

Putrajaya Lake before and after the MCO

Machine learning models

Different machine learning algorithms, namely multi-layer perceptron (MLP), support vector machine (SVM), random forest (RF), and boosted decision tree (BDT), have been proposed to predict the changes in the WQI and the class during the MCO. Figure 6a shows the performances of the proposed four models; these models are recommended by many researchers (Najah et al. 2011a, 2013, 2014; Najah Ahmed et al. 2012; Ahmed and El-Shafie 2014; Yahya et al. 2019). All models performed well with relative error percent, not exceeding 5%. Figure 6b reveals that MLP outperformed all models in detecting the changes in WQI, followed by BTD, RF, while the lowest performance was observed when the SVM model was used.

Fig. 6
figure 6

a Relative error percent, b Actual and predicted best model

To assess how sensitive the proposed model is to each input, sensitivity analysis, one of the techniques, is widely used by many researchers (Najah et al. 2011a; Ahmed and El-Shafie 2014; Sinshaw et al. 2019).

It can be seen from Fig. 7 that NH3–N and COD play vital rule and contribute significantly in predicting the class of WQI, followed by BOD, while the remaining three parameters (pH, DO, and TSS) exhibit a low level of importance. Despite that in order to achieve a high level of accuracy, these six parameters need to be included in building a predictive model.

Fig. 7
figure 7

Predictor importance

Despite the impact of COVID-19 from sewerage systems on water bodies not considered in this study, one of the major advantages of the machine learning modeling approach is the unnecessarily to include and consider all the influence variables in the model input, although this variable may affect the model accuracy, with the absence of the sewage water effect, the model still could be developed and provides an acceptable level of accuracy. The accuracy of the proposed machine learning algorithms might be relatively improved once the sewage water effects have been considered. Therefore, future work will be highlighted in conclusion.

Conclusion

Globally, countries have seen their waterways clearing up with decreasing amounts of debris and rubbish due to the minimal contribution of pollution from domestic and industrial activities. Also, it had been shown over the media worldwide that, subsequently, native animals were seen in urban areas as human activity slows down and, in some cases, to a virtual complete stop, drastically thanks to the period of movement restriction and temporarily suspended industrial activities. In Malaysia, there is no doubt that the temporary suspension of non-essential services, including work for development projects, had a positive impact on water quality. During the short MCO period, there were average decreases in COD and BOD, and there was also a slight decrease in total suspended solids (TSS), which contributed to the boost in water quality ([Air and water quality improve during MCO. https://www.nst.com.my/news/nation/2020/04/585488/air-and-water-quality-improve-during-mco. Accessed 15 May 2020h]). This could be due to the fact that while there had been a complete stop of inflowing of pollution from human activities, and there were indeed some days of heavy rainfall due to the monsoon rainfall season (Fakaruddin et al. 2020). Nevertheless, aspects of water quality have been significantly influenced by additional factors like weather, pollutants, and the requirement to create superior sewerage systems to process and treat wastewater from industrial, commercial, and residential sources before discharging the water into the lake or the river. The message is loud and clear, and that is the water quality of all the waterways in Malaysia can only be improved without spending a lot by reducing pollution from all members of the population. With regard to machine learning algorithms, all models performed well with relative error percent, not exceeding 5%. However, the results reveal that MLP outperformed all models in detecting the changes in WQI, followed by BTD, RF, while the lowest performance was observed when the SVM model was introduced. The finding of this study confirms the superiority of the machine learning algorithms in predicting the sudden changes in the quality of water bodies with a high level of accuracy, and it could be used as an effective tool for water resources managers. In the future, machine learning algorithms’ accuracy should be further investigated by considering the impact of COVID-19 from sewerage systems on water bodies.