Previous Article in Journal
Tenebrio molitor Frass as a Biofertilizer: Effects of Application Rate and Frequency on Growth and Yield of Greenhouse-Grown Vegetables
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Morphophysiological Responses of Lettuce to Irrigation Depths and Wastewater Sources with a Machine Learning Approach

by
Antonio Magno dos Santos Souza
1,
Caio Lucas Alhadas de Paula Velloso
1,
Jonas Caram Moss
1,
Gregorio Guirado Faccioli
2,
Job Teixeira de Oliveira
3 and
Fernando França da Cunha
1,*
1
Department of Agricultural Engineering (DEA), Federal University of Viçosa (UFV), Avenida Peter Henry Rolfs, s/n, Campus Universitário, Viçosa 36570-900, Minas Gerais, Brazil
2
Department of Agricultural Engineering (DEAGRI), Federal University of Sergipe (UFS), Avenida Marcelo Deda Chagas, s/n, Bairro Rosa Elze, São Cristóvão 49107-230, Sergipe, Brazil
3
Campus of Chapadão do Sul (CPCS), Federal University of Mato Grosso do Sul (UFMS), Avenida Engenheiro Douglas Ribeiro Pantaleão, 5167, Bairro Greenville, Chapadão do Sul 79560-000, Mato Grosso do Sul, Brazil
*
Author to whom correspondence should be addressed.
Crops 2026, 6(3), 52; https://doi.org/10.3390/crops6030052
Submission received: 17 March 2026 / Revised: 11 May 2026 / Accepted: 12 May 2026 / Published: 14 May 2026

Abstract

The increasing pressure on water resources has stimulated the use of treated wastewater in agricultural irrigation, although its effects on plant development remain uncertain. This study evaluated the effects of wastewater treatments and irrigation depths on the morphophysiological development of lettuce (Lactuca sativa L.). A split-plot experiment was conducted with crop cycles in the main plots and a factorial arrangement in the subplots, consisting of five water sources and five irrigation depths (50% to 150% ETc), with three replications. Seven variables were evaluated, including growth traits and water productivity. Irrigation depth significantly affected all variables (p ≤ 0.01) and was the main driver of vegetative growth, increasing shoot fresh mass, stem diameter, and plant height. In contrast, water sources showed smaller effects. Water productivity decreased with increasing irrigation depth and showed weak correlations with other variables (r ≤ 0.468). Machine learning models achieved moderate accuracy for irrigation depth prediction (≈55%), with confusion among adjacent classes, indicating detection of a gradient rather than precise classification. Prediction of water sources was low (<30%), confirming limited morphological differentiation. Plant height and stem diameter were the most informative variables. These results indicate that irrigation management has a stronger influence on lettuce growth than water source.

1. Introduction

Water scarcity is one of the major challenges for agriculture in the 21st century, stimulating the search for alternative water sources and more efficient use strategies. At a global scale, water demand is estimated to reach approximately 160% of the currently available volume by 2030, intensifying pressure on conventional water resources [1]. As about 70% of global freshwater consumption is attributed to agriculture, this scenario highlights the sector’s vulnerability to water scarcity and reinforces the need for alternative sources, such as treated wastewater [2,3,4]. In this context, the use of treated wastewater in agricultural irrigation emerges as a promising alternative, combining the appropriate disposal of effluents with the reduction in demand for conventional water resources [5,6]. However, the implementation of this practice requires a detailed understanding of its effects on plant development, considering both the chemical characteristics of the water and the conditions of application, particularly when multiple growth variables are evaluated simultaneously.
Previous studies have investigated the effects of wastewater on agricultural crops, often focusing on isolated growth parameters or specific aspects of water quality [7,8,9]. However, few studies have adopted an integrated approach that simultaneously considers multiple morphophysiological variables and their complex interactions. This limitation becomes more relevant when irrigation depth and water quality are evaluated together, since both directly influence physiological processes such as cell expansion, carbon assimilation, and water use efficiency. Thus, plant responses to environmental stresses rarely manifest in isolated parameters, but rather in integrated patterns of development [10,11].
Lettuce (Lactuca sativa L.) represents an appropriate model for such investigations due to its economic importance, short growth cycle, and sensitivity to cultivation conditions [12]. Additionally, its fresh consumption requires special care regarding irrigation water quality, making it an emblematic crop for studies involving alternative water sources [13]. Moreover, its rapid physiological response to variations in water availability and quality enables the detection of subtle changes in growth patterns, making it suitable for evaluating management strategies. Its wide cultivation under protected and open-field conditions further enhances the applicability and relevance of experimental findings to different production systems [6,9,10,11].
Recent studies have documented both agronomic benefits, such as increases in lettuce productivity that may exceed 80% with the use of treated wastewater, and associated challenges, particularly salt accumulation and the possible presence of microbiological contaminants in soil and plants [14,15]. These findings highlight the complexity of water reuse and the need for integrated approaches considering multiple dimensions of plant responses and the soil–water–plant ecosystem. In this context, understanding the balance between productivity gains and potential environmental risks is essential for the sustainable adoption of wastewater reuse in agricultural systems.
In recent years, advances in data analysis methods have expanded the capacity to interpret complex agricultural systems in which multiple biophysical variables interact simultaneously. Multivariate analysis techniques, correlation analysis, and data mining methods have been used to identify hidden patterns in agronomic datasets, allowing a better understanding of the relationships between plant morphological characteristics and management factors [16,17]. In particular, approaches based on correlation networks and attribute analysis have proven useful for revealing interdependence among physiological and productive variables [18,19]. These methods also help identify key indicators of crop performance under different environmental conditions. Together, they provide a systemic view of plant development, overcoming the limitations of traditional univariate analyses and supporting more robust interpretations of plant growth mechanisms under different management strategies.
The increasing availability of agricultural data, driven by sensors and monitoring technologies, has favored the use of machine learning (ML) techniques to explore complex patterns in agricultural production systems [20,21]. Unlike traditional statistical approaches, these methods allow simultaneous analysis of multiple variables and identification of nonlinear relationships between plant characteristics and cultivation conditions. In this context, classification and clustering algorithms have been used to identify phenotypic patterns related to water management and environmental conditions. In the present study, machine learning algorithms, including Naive Bayes, Random Forest, J48, and SMO, were employed to explore morphophysiological patterns of lettuce subjected to different combinations of irrigation depths and water sources.
Although previous studies have explored the effects of irrigation management and wastewater use on crop performance, most have focused on isolated variables or have relied on conventional statistical approaches, limiting the understanding of integrated plant responses. Additionally, studies applying machine learning in agriculture have often emphasized irrigation optimization, yield prediction, or decision support systems, with limited attention to the identification of morphophysiological response patterns under combined management factors such as irrigation depth and water quality [22,23]. Therefore, studies integrating controlled experimental data with advanced analytical approaches capable of capturing complex and nonlinear interactions among multiple plant traits are still needed. In this context, this study combines controlled experimentation with advanced analytical tools, including machine learning and correlation network analysis. These approaches were used to identify plant development patterns and evaluate the predictive capacity of morphophysiological variables under different irrigation and water source conditions.
The study is based on the hypothesis that lettuce responses are predominantly determined by the quantity and quality of irrigation water. It is further assumed that growth variables exhibit interdependence patterns and that part of this variability can be described using multivariate and machine learning approaches. In this context, this study proposes an integrated approach that combines controlled experimentation with advanced analytical tools, including machine learning and correlation network analysis. The objective was to characterize the morphophysiological response patterns of lettuce under different irrigation depths and water sources, evaluating the predictive capacity of agronomic variables and identifying the most informative attributes associated with the cultivation conditions.

2. Materials and Methods

2.1. Experimental Conditions

To conduct the experiment, lettuce (Lactuca sativa L.) seeds of the Saia Véia variety were used. This cultivar belongs to the group of curly leaf lettuces, presenting a rosette growth habit, green serrated leaves, and the absence of compact head formation [24]. In addition, this cultivar has a short growth cycle and is frequently used in agronomic studies due to its rapid response to management conditions and environmental variations.
Two cultivation cycles were carried out. In the first cycle, transplanting occurred on 25 June 2021, and harvesting was performed on 3 August 2021, totaling a cultivation period of 40 days. In the second cycle, transplanting occurred on 9 August 2021, and harvesting was performed on 15 September 2021, totaling a cultivation period of 38 days.
The experiment was conducted under protected environment conditions in a structure measuring 9.0 m in length, 6.5 m in width, and 3.0 m in height. The greenhouse was covered with transparent low-density polyethylene, 0.15 mm thick (150 µm), to reduce the impacts caused by storms and rainfall. The sides of the greenhouse were covered with protective mesh (anti-aphid screen). The structure is located at the Department of Agricultural Engineering (DEA) of the Federal University of Sergipe, in the municipality of São Cristóvão, Sergipe, Brazil. The geographical coordinates of the site are 10°55′46″ S latitude, 37°06′13″ W longitude, and an altitude of 8 m above sea level.
The climate of the region where the study was conducted is classified as As’, tropical climate according to the Köppen climate classification, characterized by winter–autumn rainfall [25]. The average daily air temperature and relative humidity were determined from measurements recorded throughout each day. Minimum and maximum values corresponded to the extremes observed during the same interval. Daily solar radiation was obtained by integrating records collected every 5 min over a 24 h period. Based on these variables, the daily reference evapotranspiration (ETo) was estimated using the Penman–Monteith equation [26] and accumulated for each cultivation cycle. The behavior of the meteorological variables is presented in Figure 1.
During the experimental cycles, the average daily air temperature, relative humidity, and solar radiation were 24.7 and 25.2 °C, 63.3 and 60.5%, and 12.3 and 17.3 MJ m−2 day−1 for cycles 1 and 2, respectively. At the end of each cycle, the accumulated reference evapotranspiration was 69.0 mm in cycle 1 and 99.6 mm in cycle 2.
Before transplanting, physical and chemical soil analyses were performed. The results indicated a field capacity of 8.38% and a permanent wilting point of 2.25%, expressed as gravimetric moisture on a dry basis. The soil texture was classified as sandy loam. Due to the observed acidity, liming was performed at a dose equivalent to 320 kg ha−1, followed by soil saturation and an incubation period of approximately 90 days. Based on the chemical analysis, basal fertilization was applied at transplanting with 30 kg ha−1 of N, 60 kg ha−1 of P2O5, and 30 kg ha−1 of K2O, using urea, single superphosphate, and potassium chloride as sources. Topdressing fertilization was applied only in the treatments for which this practice was specified in the experimental design.
Each experimental unit consisted of three plants per replicate, all of which were used for the final evaluations. The cultivation system consisted of 15 L pots filled with soil. Irrigation was performed manually using watering cans, applying the corresponding irrigation depths according to the experimental treatments.

2.2. Treatments

The experiment was conducted in a split-plot design with three replications. The different crop cycles were evaluated in the main plots. In the subplots, a 5 × 5 factorial scheme was applied, consisting of water sources (WS) and irrigation depths (ID). Each experimental unit was composed of three plants, whose individual measurements were used to obtain a mean value, which was subsequently considered for the statistical analysis.
The tap water was supplied by the local water utility, and the treated wastewater originated from the Rosa Elze Wastewater Treatment Plant (WTP) located in São Cristóvão, Sergipe, Brazil. This WTP operates through a system of stabilization ponds arranged in series (two facultative and three maturation ponds), representing a secondary treatment process. The treated wastewater was collected from the same outlet point throughout the experimental period to ensure uniformity in its origin and treatment conditions. Although natural variations in chemical composition may occur over time, efforts were made to maintain consistency in the water source throughout the experiment. Part of the treated wastewater was subsequently subjected to a post-treatment filtration using a biochar-based system.
The biochar was produced from orange bagasse (Pêra variety) under controlled conditions involving drying, grinding, and carbonization in a muffle furnace at 550 °C for 60 min. This process resulted in a homogeneous material with suitable properties for filtration. This material was subsequently used as the filtering medium in the post-treatment system. The physicochemical and microbiological characteristics of the three water sources are presented in Table 1.
The water source treatments were defined as follows: WS1) tap water with topdressing fertilization; WS2) treated wastewater from the treatment plant; WS3) treated wastewater filtered through biochar; WS4) treated wastewater with topdressing fertilization; WS5) treated wastewater with biochar filtration and topdressing fertilization. The water sources were used as the basis for the treatments as follows: tap water (TW) for WS1; treated wastewater (TWW) for WS2 and WS4; and biochar-filtered treated wastewater (TWW + B) for WS3 and WS5. Topdressing fertilization was applied only in treatments WS1, WS4, and WS5. Treatments WS2 and WS3 received exclusively the nutrients present in the treated wastewater or biochar-filtered wastewater.
The irrigation depths corresponded to percentages of crop evapotranspiration (ETc): ID50) 50% ETc; ID75) 75% ETc; ID100) 100% ETc; ID125) 125% ETc; ID150) 150% ETc. Irrigation was performed daily. The irrigation depth corresponding to 100% ETc was determined based on soil moisture at the time of irrigation, calculating the volume of water required to restore soil moisture to field capacity. The other irrigation depths (50, 75, 125, and 150% ETc) were obtained as proportions of this standard irrigation depth.
It is important to clarify that, although the treatments are expressed as percentages of ETc, the 100% level in this study represents an operational reference based on soil water depletion rather than a classical climatic estimation of crop evapotranspiration. In practice, it corresponds to the amount of water required to restore soil moisture to field capacity at the time of irrigation. The remaining treatments were defined proportionally from this reference condition.

2.3. Evaluated Characteristics

Seven morphophysiological variables were evaluated: NL—number of leaves, PH—plant height (cm), SL—stem length (cm), SD—stem diameter (cm), SFM—shoot fresh mass (g), SDM—shoot dry mass (g), and WP—water productivity (g L−1). Evaluations were performed at the end of each cultivation cycle, during harvest. Initially, the plants were cut at the soil surface to separate the shoot and root systems. Shoot fresh mass was determined immediately after harvest using a precision digital scale. Subsequently, the total number of fully developed leaves per plant was manually counted.
Plant height was measured using a graduated ruler, considering the distance between the soil surface and the highest point of the shoot. Stem length was determined using a millimeter ruler after removing the leaves, measuring the stem extension from the base to the apex. Stem diameter was measured at the median region using a digital caliper.
To determine shoot dry mass, samples were placed in paper bags and dried in a forced-air circulation oven at 65 °C for 72 h until constant mass was reached. They were then weighed on an analytical balance. Water productivity was calculated as the ratio between shoot fresh mass and the total irrigation water depth effectively applied to the experimental plots (net irrigation). This variable corresponded to the water volume supplied to the plants during the cultivation cycle and was expressed in g L−1.

2.4. Data Analysis

The obtained data were subjected to preliminary analyses of normality and homogeneity of residuals using the Shapiro–Wilk and Bartlett tests, respectively. Analysis of variance (ANOVA) was performed using the F-test at significance levels of 0.01 and 0.05. For both significant and non-significant interactions among factors, mean comparisons were performed using Tukey’s post hoc test at a 5% significance level. All statistical analyses were carried out using R software (version 4.4.2).
The results were also subjected to correlation analysis among variables and the application of machine learning techniques using the Weka platform (version 3.8). Specifically, classification algorithms (Naive Bayes, Random Forest, J48, and SMO) were applied with 10-fold cross-validation, attribute importance analysis (InfoGainAttributeEval), and clustering using the Expectation–Maximization algorithm. The data were prepared in ARFF format, generating two primary datasets: one for irrigation depth prediction (excluding treatment) and another for treatment prediction (excluding irrigation depth). A third dataset combining treatment and depth into a single 25-class target was also generated. However, preliminary analyses showed no predictive signal above random chance; therefore, its results are not reported.
For the comparative statistical analysis of the algorithms and the generation of performance graphs in the Multivariate analysis and predictive modeling section, Python (version 3.9) was used in the Google Colab environment. In this stage, statistical analyses (including the Tukey test) were performed using the statsmodels (version 0.13.2) and SciPy (version 1.7.3) libraries. Data visualization was performed using Matplotlib (version 3.5.1) and Seaborn (version 0.11.2). Bar charts with significance letters were generated in high resolution (600 DPI) and exported in TIFF format, suitable for scientific publication. This procedure enabled the statistical analyses and the generation of the graphs used in this part of the results.
The dataset consisted of 150 observations (5 water sources × 5 irrigation depths × 3 replications × 2 cycles). Data from both cycles were combined into a single dataset, as preliminary analysis showed no significant cycle × treatment interaction for most variables. Before modeling, numerical attributes were standardized using z-score normalization (mean = 0, standard deviation = 1) to avoid scale bias, particularly in algorithms such as SMO. Class balancing was not applied because the experimental design ensured equal representation of each class (n = 30 per irrigation depth class; n = 30 per treatment class). Replications were kept independent and allocated to folds following the stratified 10-fold cross-validation procedure. Thus, each fold preserved the original class distribution and avoided mixing measurements from the same experimental unit across training and validation sets. To prevent information leakage, preprocessing parameters were computed only on the training folds and then applied to the validation fold. The choice of algorithms, Naive Bayes (simple probabilistic baseline), Random Forest (ensemble robust to small datasets), J48 (interpretable tree), and SMO (nonlinear SVM), was motivated by their complementary inductive biases and their common use in agronomic studies with moderate sample sizes [16,20].

3. Results

3.1. Agronomic Characteristics

Table 2 presents the mean squares and F-test (ANOVA) significance levels for the variables number of leaves, plant height, stem length, stem diameter, shoot fresh mass, shoot dry mass, and water productivity of lettuce, evaluated as a function of cultivation cycles (C), water sources (WS), and irrigation depths (ID). In general, irrigation depths and water sources significantly affected most analyzed variables, highlighting the strong influence of water management and water quality on lettuce development. Irrigation depths had a highly significant effect (p ≤ 0.01) on all variables, indicating that the level of water replacement was a determining factor for lettuce growth and productivity.
The cultivation cycle showed a significant effect on most of the evaluated variables, except for number of leaves and shoot dry mass. Irrigation depths and water sources also significantly affected most variables. The interaction between water sources and irrigation depths (WS × ID) was significant for some variables, as was the interaction between cycle and irrigation depths (C × ID). However, the triple interaction (C × WS × ID) was not significant for any analyzed variable.
Table 3 presents the mean values (±standard deviation) for number of leaves, plant height, stem length, stem diameter, shoot fresh mass, shoot dry mass, and water productivity of lettuce as a function of the interaction between water sources and irrigation depths. The unfolding was performed only for this interaction (WS × ID), as it represents the main focus of the study. The cycle factor was not detailed at this stage because it is associated with climatic variations. In addition, the second cycle was used to expand the dataset and support subsequent analyses.
In general, Table 3 shows that increasing irrigation depths resulted in higher values for growth variables, especially shoot fresh mass, stem diameter, and plant height. Regarding water sources, treatments with treated wastewater, alone or combined with biochar and/or fertilization, often showed higher shoot fresh and dry mass values. Water productivity presented similar or higher values in some treatments with alternative water sources compared to tap water. In addition, differences among treatments were more evident at intermediate and higher irrigation depths (100–150% ETc). At 50% ETc, these differences were less pronounced.

3.2. Multivariate Analysis and Predictive Modeling

The application of machine learning techniques allowed the evaluation of the predictability of cultivation conditions based on the agronomic characteristics of lettuce. Classification models for predicting irrigation depth achieved an accuracy of 54.67% using the Naive Bayes algorithm, a performance significantly higher than random chance (20%). The confusion matrix revealed a coherent pattern: adjacent irrigation depths were frequently confused, whereas the 50% ETc depth was correctly identified in 73.30% of the cases. In contrast, models for predicting water source showed limited performance, with a maximum accuracy of 30.67% obtained with Random Forest. This result indicates that the evaluated morphological characteristics do not efficiently discriminate among the different water types.
The confusion matrix revealed that most misclassifications occurred between neighboring irrigation depths (e.g., 75% vs. 100% ETc), whereas extreme classes (50% and 150% ETc) were more accurately identified. This pattern suggests that morphological responses to water availability are gradual. The model captures the general trend of increasing vegetative growth with higher irrigation depths but lacks resolution to reliably separate intermediate water regimes.
The attribute importance analysis corroborated these observations. For irrigation depth prediction, plant height stood out as the most informative variable (information gain 0.761 ± 0.113), followed by stem diameter (0.687 ± 0.026) and shoot fresh mass (0.634 ± 0.093). Notably, water productivity showed zero information gain, indicating independence from the other variables. For treatment prediction, all variables exhibited information gain values close to zero. This explains the low performance of the classifiers.
Clustering analyses identified patterns in the agronomic characteristics of lettuce. For irrigation depth, four clusters were identified corresponding to distinct growth patterns, with a clear association between plant size and the applied irrigation depth. For water source, the three identified clusters were mainly segregated by vegetative size, without a consistent association with water type. This result reinforces the idea that the treatments do not induce characteristic morphological patterns.

3.2.1. Correlation Analysis and Network Structure

To complement the predictive analysis and explore interrelationships among variables, Pearson correlation analysis and correlation networks were applied using different thresholds (r ≥ 0.3; r ≥ 0.5; r ≥ 0.7). The correlation matrix (Figure 2) showed positive and significant associations among most of the vegetative growth variables of the lettuce crop.
Shoot fresh mass, stem diameter, plant height, stem length, and number of leaves formed a strongly intercorrelated core, with coefficients frequently exceeding 0.70. In clear contrast, water productivity showed weak to moderate correlations (r ≤ 0.468) with all other variables, with its lowest association observed with shoot dry mass (r = 0.192).
The complete segregation of water productivity in the network with a threshold of 0.70, as well as its low connectivity at lower thresholds, reinforces the result obtained in the machine learning analysis. This finding indicates that this variable operates independently of the others. This network topology suggests that water productivity is not strongly associated with the morphological variables under the tested conditions. However, this pattern should be interpreted as a descriptive property of the current dataset rather than evidence of independent physiological mechanisms. Further experiments measuring physiological traits (e.g., stomatal conductance, transpiration efficiency) would be required to investigate functional dissociation.

3.2.2. Performance of Classification Algorithms for Prediction

The comparative analysis of machine learning algorithms revealed distinct patterns for predicting irrigation depth and water source (Figure 3). For irrigation depth prediction, the Naive Bayes algorithm showed the best performance (55.2% mean accuracy), followed by Random Forest (52.4%), SMO (48.2%), and J48 (46.2%). The Tukey statistical test indicated significant differences among all algorithms, with each belonging to a distinct statistical group (Figure 3A).
In contrast, algorithms for water source prediction showed lower performance and no statistical differences among them. Random Forest achieved the highest mean accuracy (28.9%), followed by J48 (26.9%), Naive Bayes (25.4%), and SMO (22.8%). The Tukey test did not detect statistically significant differences among the algorithms, with all being grouped in the same significance class (Figure 3B).
The superior performance of Naive Bayes may be attributed to the relatively small sample size, limited number of features, and substantial overlap between adjacent irrigation depth classes. Under these conditions, simpler models tend to be more robust and less prone to overfitting than more complex algorithms such as Random Forest, J48, or SMO.

4. Discussion

4.1. Agronomic Responses to Irrigation Depth and Water Source

The morphological responses of lettuce were more strongly influenced by irrigation depth than by water source, indicating that soil water availability was the main determinant of vegetative growth under the evaluated conditions. This behavior reinforces that the development of leafy vegetables depends directly on plant water status, since processes such as maintenance of cell turgor and tissue expansion are highly sensitive to water potential [27,28,29]. In this context, increasing water availability promotes growth, whereas deficit conditions limit leaf expansion and biomass accumulation. Similar responses have been widely reported in leafy vegetables [4,9], including lettuce under different irrigation management strategies [12,30,31].
However, a tendency toward reduced incremental gains was observed at higher irrigation depths, suggesting a stabilization of growth close to optimal water supply conditions. This plateau effect observed at 125% and 150% ETc suggests that the crop approached a physiological and morphological saturation point, where additional water supply no longer translated into proportional biomass gains.
This behavior may be associated with diminishing irrigation returns, in which the first increments in water availability strongly stimulate growth, while subsequent increments progressively reduce efficiency. In addition, the response may be constrained by limitations in leaf area expansion and canopy self-shading. These factors restrict further increases in light interception and biomass accumulation. Another contributing factor may be reduced root-zone aeration under higher water contents, which can limit oxygen availability, root activity, and nutrient uptake efficiency.
The interactions among factors indicate that the crop response is not exclusively additive. The interaction between water sources and irrigation depths indicates that irrigation management efficiency depends on water quality. Recent studies demonstrate that treated wastewater can influence plant growth through nutrient supply and other agronomic effects [32,33]. In addition, its use presents sanitary implications for fresh-consumed leafy vegetables [34] and potential risks related to the transfer of antimicrobial-resistant bacteria and genes to edible crops [35].
On the other hand, the absence of a triple interaction indicates no simultaneous dependence among cycle, water source, and irrigation depth. This suggests that the effects are predominantly explained by individual factors and two-way interactions. In this context, irrigation depth and water source emerge as the main determinants of the crop’s agronomic response.
Although differences among water sources were less pronounced than those observed for irrigation depths, there was a tendency for better performance in treatments with treated wastewater, either alone or combined with biochar and fertilization. This behavior may be associated with the additional nutrient supply promoted by treated wastewater, as reported in recent studies on its agricultural use [14,36].
The relatively weak differentiation among water sources suggests that the treated wastewater had a moderate and nutritionally balanced composition after treatment, reducing contrast with tap water. In addition, biochar filtration may have contributed to partial stabilization of water quality by reducing contaminant excesses while maintaining nutrient availability. However, these changes were insufficient to generate strong agronomic divergence among treatments. Recent studies also indicate that the agronomic effects of treated wastewater are often associated with its nutrient supply and relatively stable composition under controlled conditions [32,33]. Furthermore, topdressing fertilization appears to have played an important role in modulating plant responses, partially offsetting or masking differences among water sources. In several cases, topdressing fertilization was associated with reductions in certain growth indices. This response may indicate nutrient imbalance or interactions between mineral fertilization and nutrients supplied via treated wastewater, which may have altered nutrient uptake dynamics and reduced treatment contrasts. Additionally, greenhouse conditions likely buffered differences among water sources by minimizing environmental stress and reducing plant sensitivity to moderate variations in water quality.
This interpretation is supported by the physicochemical characterization of the water sources (Table 1), which shows higher total phosphorus and electrical conductivity in treated wastewater (TWW and TWW + B) compared to tap water (TW), indicating greater nutrient availability. Meanwhile, similar values of total iron and sodium adsorption ratio, along with moderate variation in dissolved oxygen, suggest partial chemical overlap between TWW and TWW + B. This reduced contrast helps explain the limited discrimination among treatments in univariate analyses and machine learning models.
In addition, the electrical conductivity (EC) and sodium adsorption ratio (SAR), presented in Table 1 of the manuscript, indicate a potential long-term risk of soil salinization and sodification when using treated wastewater (TWW) and biochar-filtered wastewater (TWW + B). Although no immediate negative effects on lettuce growth were observed under the controlled conditions of this study, EC values close to 1.0 dS m−1 and SAR values around 10 suggest that continuous use may gradually affect soil structure, reduce infiltration capacity, and alter nutrient balance. These risks tend to be more pronounced under field conditions, where cumulative salt inputs and limited leaching may intensify salinity effects. Therefore, the agronomic benefits associated with nutrient supply from treated wastewater should be considered together with the need for careful monitoring and management of soil salinity and sodicity, as highlighted in recent studies [37].
Water productivity showed an inverse behavior to the applied water volume, with higher values observed under lower irrigation depths, highlighting the trade-off between productivity and water-use efficiency in irrigated systems [38]. This behavior indicates that, although increasing irrigation depth promotes growth, water conversion into biomass does not occur proportionally.
Additionally, water productivity is structurally a ratio variable (biomass per unit of applied water), which explains its weak association with morphological traits. Unlike growth variables, WP integrates both production and water input. Therefore, it is more sensitive to changes in irrigation efficiency than to plant size itself, which explains its independent behavior in correlation and predictive analyses.
Finally, differences among treatments were more evident at intermediate and higher irrigation depths. Under greater water availability, yield differences became more evident, allowing clearer differentiation among water sources. Under water-limited conditions, growth tends to be generally constrained regardless of the water source used.

4.2. Multivariate Analysis and Predictive Modeling

The classification models indicated a moderate capacity to predict irrigation depths based on the morphological variables of the plants [16,17]. The Naive Bayes algorithm showed the highest accuracy, close to 55%, which was higher than the performance expected by chance considering the number of evaluated classes. This moderate performance indicates that morphological variables respond to overall water availability, forming a continuum from deficit to excess water supply. However, the frequent confusion between adjacent depths shows that the model detects a gradient, not a sharp classifier. Thus, although plant height, stem diameter, and shoot fresh mass are informative of the general water regime, they are not sufficiently sensitive to precisely predict specific irrigation depths.
This performance suggests that the analyzed morphological characteristics present a measurable relationship with the applied water regime. Specifically, variables such as plant height, stem diameter, and shoot fresh mass directly reflect soil water availability because cell expansion and biomass accumulation depend on turgor maintenance and water-regulated physiological processes [10,27,28].
The analysis of the confusion matrix revealed that adjacent irrigation depths were frequently misclassified [16], suggesting that small differences in the amount of applied water do not generate sufficiently pronounced morphological changes to allow clear distinction among classes. This behavior indicates that the morphological response of lettuce to water management occurs gradually, producing partially overlapping patterns among nearby treatments. Agronomic studies report that lettuce growth often shows linear or quadratic responses to increasing irrigation depth. This behavior tends to reduce morphological separation among adjacent water regimes [12,39].
The prediction of water sources showed lower performance, with accuracy below 30% and no statistical differences among the evaluated algorithms. This result indicates that, under the tested conditions, treated wastewater and conventional water did not produce sufficiently distinct morphological differences in the plants to allow their classification. This outcome may be associated with the presence of essential nutrients in treated wastewater, such as nitrogen, phosphorus, and potassium, which can promote plant growth and reduce the need for complementary mineral fertilization. Thus, when properly treated, these water sources may promote vegetative development similar to that obtained with conventional water combined with mineral fertilization [40,41,42]. The findings of the present study are consistent with reports that properly managed treated wastewater does not negatively affect vegetable growth, reflecting treatment efficiency and the absence of relevant phytotoxicity [6,14].
The attribute importance analysis confirmed that variables associated with vegetative growth are the most informative for predicting irrigation depth. Plant height, stem diameter, and shoot fresh mass showed the highest information gains, indicating sensitivity to variations in water supply. On the other hand, water productivity showed information gain close to zero, indicating that its behavior is regulated independently from the measured morphological characteristics. This occurs because water productivity depends on the relationship between biomass production and total applied water volume. Therefore, it may vary even when plant morphological characteristics remain similar [7,11,30]. Thus, increases in irrigation depth may reduce water productivity when biomass gains do not occur proportionally, a phenomenon frequently observed in lettuce cultivation under high water regimes [12,39].
The correlation network revealed strong associations among shoot fresh mass, shoot dry mass, number of leaves, and plant dimensions, forming an interconnected core of variables that respond coordinately to vegetative growth. Within this structure, shoot fresh mass and stem diameter showed high centrality, indicating that these variables integrate the overall developmental status of the plants and act as structural elements within the correlation network. In contrast, the segregation of water productivity in the network reinforces that this variable operates through different physiological mechanisms, possibly related to transpiration efficiency and water redistribution within the plant. These processes are not directly reflected in observable morphological characteristics.
Taken together, the results of the multivariate analysis and predictive modeling indicate that irrigation depth management is the dominant factor determining lettuce morphology, whereas the type of water, under the evaluated experimental conditions, has minimal impact. The integration of predictive modeling, attribute importance analysis, and correlation networks made it possible to identify structural patterns in crop responses. Morphological variables were sufficiently sensitive to reflect changes in the water regime but showed limited capacity to discriminate management conditions that did not result in marked structural differences, as observed for treated wastewater use.

4.3. Limitations and Implications of the Study

A limitation of this study is the relatively small sample size (150 observations) for a multiclass classification problem involving five irrigation depths, five water sources, and their 25 combinations. Although cross-validation mitigates overfitting, the moderate accuracies reported (≈55% for depth prediction) should be interpreted as exploratory evidence of predictive signal rather than validation of a robust operational classifier. Future studies with larger datasets and independent field trials are needed to confirm the generalizability of these findings.
Another important limitation concerns the characterization of the treated wastewater. Although the effluent was consistently collected from the same treatment plant and outlet, ensuring uniformity in its origin and treatment process, its chemical composition may vary over time due to operational and environmental factors inherent to stabilization pond systems. Therefore, the results obtained in this study are associated with the specific conditions of the evaluated wastewater source. Caution is required when extrapolating these findings to other treatment systems or regions with different effluent characteristics.
The comparative performance of the algorithms should be interpreted with caution. The finding that Naive Bayes outperformed more complex classifiers (Random Forest, J48, SMO) likely reflects the specific characteristics of our dataset: moderate sample size, few predictive attributes, and considerable morphological overlap between neighboring irrigation treatments. Simpler models often generalize better under such conditions, whereas more complex models may capture noise or become unstable. Therefore, this result should not be generalized as evidence that Naive Bayes is always superior for this type of agronomic data. Instead, it highlights the importance of considering dataset scale and class separability when selecting machine learning methods.
Furthermore, the observed superiority of Naive Bayes over more complex algorithms may be specific to the sample size and feature set used here and should therefore be interpreted with caution.

5. Conclusions

This study demonstrated that irrigation depth was the main factor influencing the morphophysiological and agronomic responses of lettuce. Significant effects were observed for all evaluated variables, promoting higher growth values (shoot fresh and dry mass, plant height, stem diameter, and number of leaves), whereas water sources had a less pronounced influence. Water productivity showed an inverse relationship with irrigation depth, being higher under water deficit conditions, highlighting the trade-off between productivity and water use efficiency. In addition, treated wastewater, used alone or combined with biochar and/or fertilization, showed similar or superior performance compared with conventional water, with no adverse effects detected under the evaluated conditions.
Machine learning models showed moderate ability to predict irrigation depth, indicating that morphological variables capture general gradients of water availability. However, they showed limited capacity to distinguish adjacent irrigation levels. Plant height, stem diameter, and shoot fresh mass were identified as the most informative variables for predicting irrigation conditions. In contrast, prediction of water sources showed low accuracy, reinforcing that the different water sources did not induce sufficiently distinct morphological patterns.
Overall, the results indicate that irrigation management plays a dominant role in determining lettuce growth, whereas treated wastewater represents a viable alternative water source under the studied conditions. The integration of experimental and multivariate approaches allowed the identification of consistent response patterns, although further studies including additional plant and soil variables are recommended to better understand more subtle effects of water quality on crop performance.

Author Contributions

Conceptualization, G.G.F. and F.F.d.C.; Methodology, A.M.d.S.S., C.L.A.d.P.V., J.T.d.O. and F.F.d.C.; Software, C.L.A.d.P.V. and J.T.d.O.; Validation, A.M.d.S.S., C.L.A.d.P.V., J.C.M., G.G.F., J.T.d.O. and F.F.d.C.; Formal Analysis, C.L.A.d.P.V., J.T.d.O. and F.F.d.C.; Investigation, A.M.d.S.S.; Resources, G.G.F. and F.F.d.C.; Data Curation, A.M.d.S.S.; Writing—Original Draft Preparation, C.L.A.d.P.V., J.C.M., J.T.d.O. and F.F.d.C.; Writing—Review and Editing, C.L.A.d.P.V., J.C.M., J.T.d.O. and F.F.d.C.; Visualization, A.M.d.S.S., C.L.A.d.P.V., J.C.M., G.G.F., J.T.d.O. and F.F.d.C.; Supervision, F.F.d.C.; Project Administration, G.G.F. and F.F.d.C.; Funding Acquisition, G.G.F. and F.F.d.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Coordination for the Improvement of Higher Education Personnel, Brazil (CAPES), Finance Code 001 and the National Council for Scientific and Technological Development, Brazil (CNPq), Process 308769/2022-8.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed at the corresponding author.

Acknowledgments

We thank the Department of Agriculture Engineering (DEA) and the Graduate Program in Agricultural Engineering (PPGEA) of the Federal University of Viçosa (UFV) for supporting the researchers.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ARFFAttribute-relation file format
As’Tropical climate
AugAugust
CFUColony forming units
CPCSCampus of Chapadão do Sul
DEADepartment of Agricultural Engineering
DEAGRIDepartment of Agricultural Engineering
DODissolved oxygen
DPIDots per inch
ECElectrical conductivity
ETcCrop evapotranspiration
EToReference evapotranspiration
FeTotal iron
HSDHonest significant difference
IDIrrigation depths
ID50Irrigation depth corresponding to 50% of ETc
ID75Irrigation depth corresponding to 75% of ETc
ID100Irrigation depth corresponding to 100% of ETc
ID125Irrigation depth corresponding to 125% of ETc
ID150Irrigation depth corresponding to 150% of ETc
J48Decision tree (C4.5 algorithm)
JulJuly
JunJune
K2OPotassium oxide
MGState of Minas Gerais
MLMachine learning
MSState of Mato Grosso do Sul
NNitrogen
NBNaive Bayes
NLNumber of leaves
P2O5Phosphorus pentoxide
PHPlant height
plPlant
rCorrelation coefficient
RFRandom forest
SSouth latitude
SARSodium adsorption ratio
SDStem diameter
SDMShoot dry mass
SEState of Sergipe
SepSeptember
SFMShoot fresh mass
SLStem length
SMOSequential minimal optimization
TCTotal coliforms
TIFFTagged image file format
TPTotal phosphorus
TWTap water
TWWTreated wastewater
TWW + BBiochar-filtered treated wastewater
UFMSFederal University of Mato Grosso do Sul
UFSFederal University of Sergipe
UFVFederal University of Viçosa
WWest longitude
WEKAWaikato environment for knowledge analysis
WPWater productivity
WSWater sources
WS1Freshwater with topdressing fertilization
WS2Treated wastewater from a wastewater treatment plant
WS3Treated wastewater filtered through biochar
WS4Treated wastewater with topdressing fertilization
WS5Treated wastewater with biochar filtration and topdressing fertilization
WTPWastewater treatment plant
αStatistical significance level

References

  1. Ricart, S.; Rico, A.M. Assessing technical and social driving factors of water reuse in agriculture: A review on risks, regulation and the yuck factor. Agric. Water Manag. 2019, 217, 426–439. [Google Scholar] [CrossRef]
  2. Partyka, M.L.; Bond, R.F. Wastewater reuse for irrigation of produce: A review of research, regulations, and risks. Sci. Total Environ. 2022, 828, 154385. [Google Scholar] [CrossRef]
  3. Christou, A.; Beretsou, V.G.; Iakovides, I.C.; Karaolia, P.; Michael, C.; Benmarhnia, T.; Chefetz, B.; Donner, E.; Gawlik, B.M.; Lee, Y.; et al. Sustainable wastewater reuse for agriculture. Nat. Rev. Earth Environ. 2024, 5, 504–521. [Google Scholar] [CrossRef]
  4. Viana, F.J.; Cunha, F.F.; Rocha, M.O.; Oliveira, J.T. Water rationalization in Brazilian irrigated agriculture. Agron. Sci. Biotechnol. 2022, 8, 1–15. [Google Scholar] [CrossRef]
  5. Abou-Shady, A.; Siddique, M.S.; Yu, W. A critical review of recent progress in global water reuse during 2019–2021 and perspectives to overcome future water crisis. Environments 2023, 10, 159. [Google Scholar] [CrossRef]
  6. Helmy, H.S.; Abuarab, M.E.; Abdeldaym, E.A.; Abdelaziz, S.M.; Abdelbaset, M.M.; Dewedar, O.M.; Molina-Martinez, J.M.; El-Shafie, A.F.; Mokhtar, A. Field-grown lettuce production optimized through precision irrigation water management using soil moisture-based capacitance sensors and biodegradable soil mulching. Irrig. Sci. 2025, 43, 1045–1070. [Google Scholar] [CrossRef]
  7. Jarrar, E.; Hasan, A.R.; Alimari, A.; Saleh, M. Water and fertilizer use efficiency of lettuce plants cultivated in soilless conditions under different irrigation systems. Desalin. Water Treat. 2022, 275, 184–195. [Google Scholar] [CrossRef]
  8. Wang, H.J.; Wang, J.; Yu, X. Wastewater irrigation and crop yield: A meta-analysis. J. Integr. Agric. 2022, 21, 1215–1224. [Google Scholar] [CrossRef]
  9. Hou, M.; Zhang, H.; Shaghaleh, H.; Chen, J.; Zhong, F.; Hamoud, Y.A.; Zhu, L. Optimization of a lower irrigation limit for lettuce based on comprehensive evaluation: A field experiment. Plants 2024, 13, 853. [Google Scholar] [CrossRef]
  10. Elsayed, S.; Elhoweity, M.; Ibrahim, H.; Dewir, Y.H.; Migdadi, H.; Schmidhalter, U. A review on potential plant-based water stress indicators for vegetable crops. Sustainability 2020, 12, 3945. [Google Scholar] [CrossRef]
  11. Rouphael, Y.; De Pascale, S.; Karam, F.; Colla, G. Agronomical, physiological and water use efficiency changes of lettuce in response to deficit irrigation regimes. Acta Hortic. 2022, 1335, 665–672. [Google Scholar] [CrossRef]
  12. Guimarães, C.M.; Cunha, F.F.; Silva, F.C.S.; Araújo, E.D.; Guimarães, A.B.F.; Mantovani, E.C.; Silva, D.J.H. Agronomic performance of lettuce cultivars submitted to different irrigation depths. PLoS ONE 2019, 14, e0224264. [Google Scholar] [CrossRef]
  13. İkiz, B.; Dasgan, H.Y.; Balik, S.; Kusvuran, S.; Gruda, N.S. The use of biostimulants as a key to sustainable hydroponic lettuce farming under saline water stress. BMC Plant Biol. 2024, 24, 808. [Google Scholar] [CrossRef]
  14. Ait-Mouheb, N.; Mange, A.; Froment, G.; Lequette, K.; Bru-Adan, V.; Maihol, J.C.; Molle, B.; Wéry, N. Effect of untreated or reclaimed wastewater drip-irrigation for lettuces and leeks on yield, soil and fecal indicators. Resour. Environ. Sustain. 2022, 8, 100053. [Google Scholar] [CrossRef]
  15. Souza, A.M.S.; Cunha, F.F.; Faccioli, G.G.; Santana, F.S.; Santos, K.V. Lettuce fertigation with domestic effluent treated with orange pomace biochar. Water 2022, 14, 3272. [Google Scholar] [CrossRef]
  16. Benos, L.; Tagarakis, A.C.; Dolias, G.; Berruto, R.; Kateris, D.; Bochtis, D. Machine learning in agriculture: A comprehensive updated review. Sensors 2021, 21, 3758. [Google Scholar] [CrossRef] [PubMed]
  17. Kamilaris, A.; Boldú, F.X.P. Deep learning in agriculture: A survey. Comput. Electron. Agric. 2018, 147, 70–90. [Google Scholar] [CrossRef]
  18. Saleem, M.H.; Potgieter, J.; Arif, K.M. Automation in agriculture by machine and deep learning techniques: A review of recent developments. Precis. Agric. 2021, 22, 2053–2091. [Google Scholar] [CrossRef]
  19. Li, J.; Chen, D.; Qi, X.; Li, Z.; Huang, Y.; Morris, D.; Tan, X. Label-efficient learning in agriculture: A comprehensive review. Comput. Electron. Agric. 2023, 207, 107709. [Google Scholar] [CrossRef]
  20. Liakos, K.G.; Busato, P.; Moshou, D.; Pearson, S.; Bochtis, D. Machine learning in agriculture: A review. Sensors 2018, 18, 2674. [Google Scholar] [CrossRef]
  21. Zhang, N.; Zhou, X.; Kang, M.; Hu, B.G.; Heuvelink, E.; Marcelis, L.F. Machine learning versus crop growth models: An ally, not a rival. AoB Plants 2023, 15, plac061. [Google Scholar] [CrossRef] [PubMed]
  22. Del-Coco, M.; Leo, M.; Carcagnì, P. Machine learning for smart irrigation in agriculture: How far along are we? Information 2024, 15, 306. [Google Scholar] [CrossRef]
  23. Umutoni, L.; Samadi, V. Application of machine learning approaches in supporting irrigation decision making: A review. Agric. Water Manag. 2024, 294, 108710. [Google Scholar] [CrossRef]
  24. Mora, M.F.L.; Castellanos, M.F.Q.; Murillo, C.A.G.; Borgovan, C.; Sanjuan, M.C.S.; Guzmán, M. Predictive model to evaluate water and nutrient uptake in vertically grown lettuce under Mediterranean greenhouse conditions. Horticulturae 2024, 10, 117. [Google Scholar] [CrossRef]
  25. Alvares, C.A.; Stape, J.L.; Sentelhas, P.C.; Gonçalves, J.L.M.; Sparovek, G. Köppen’s climate classification map for Brazil. Meteorol. Z. 2013, 22, 711–728. [Google Scholar] [CrossRef]
  26. Allen, R.G.; Pereira, L.S.; Raes, D.; Smith, M. Crop Evapotranspiration: Guidelines for Computing Crop Water Requirements. In FAO Irrigation and Drainage Paper 56; FAO: Rome, Italy, 1998; p. 300. [Google Scholar]
  27. Taiz, L.; Zeiger, E.; Møller, I.M.; Murphy, A. Plant Physiology and Development, 6th ed.; Sinauer Associates: Sunderland, MA, USA, 2017; p. 761. [Google Scholar]
  28. Ibrahim, E.A.; Ebrahim, N.E.S.; Mohamed, G.Z. Effect of water stress and foliar application of chitosan and glycine betaine on lettuce. Sci. Rep. 2023, 13, 17274. [Google Scholar] [CrossRef]
  29. Calvo, S.A.; Magro, F.; Masetti, G.; Cardarelli, M.; Avesani, L.; Zolla, L.; Pii, Y. Potential for drought stress alleviation in lettuce (Lactuca sativa L.) with humic substance based biostimulant applications. Plants 2025, 14, 2386. [Google Scholar] [CrossRef]
  30. Vila, V.V.; Marques, P.A.A.; Gomes, T.M.; Costa, F.J.; Carvalho, H.W.P.; Silva, D.J.; Souza, J.A. Deficit irrigation with silicon application as strategy to increase yield, photosynthesis and water productivity in lettuce crops. Plants 2024, 13, 1029. [Google Scholar] [CrossRef]
  31. French, A.N.; Sanchez, C.A.; Hunsaker, D.J.; Anderson, R.G.; Saber, M.N.; Wisniewski, E.H. Lettuce evapotranspiration and crop coefficients using eddy covariance and remote sensing observations. Irrig. Sci. 2024, 42, 1245–1272. [Google Scholar] [CrossRef]
  32. Santos, O.; Vaz, D.; Sebastião, F.; Sousa, H.; Vieira, J. Wastewater as a nutrient source for hydroponic production of lettuce: Summer and winter growth. Agric. Water Manag. 2024, 301, 108966. [Google Scholar] [CrossRef]
  33. Yao, X.; Wang, X.; Qu, M.; Wei, Y.; Shan, F.; Li, Y. Combined effects of magnetized irrigation and water source on Italian lettuce (Lactuca sativa L. var. ramosa Hort.) growth and gene expression. Agronomy 2024, 14, 2621. [Google Scholar] [CrossRef]
  34. Janeiro, C.A.N.; Arsénio, A.M.; Medema, G.; van Lier, J.B. Faecal contamination on lettuce irrigated with different water sources in Maputo, Mozambique. Water Int. 2024, 49, 201–218. [Google Scholar] [CrossRef]
  35. Gomes, A.; Cañizares, J.L.; Candel, M.M.; Alonso, A.M.; Allende, A.; Truchado, P. Impact of treated wastewater reuse in agriculture on the transfer of antimicrobial-resistant bacteria and genes to edible crops: A One Health perspective. Front. Microbiol. 2026, 16, 1729855. [Google Scholar] [CrossRef]
  36. Zhang, L.; Lv, T.; Zhang, Y.; Stein, O.R.; Arias, C.A.; Brix, H.; Carvalho, P.N. Effects of constructed wetland design on ibuprofen removal—A mesocosm scale study. Sci. Total Environ. 2017, 609, 38–45. [Google Scholar] [CrossRef]
  37. Trotta, V.; Baaloudj, O.; Brienza, M. Risks associated with wastewater reuse in agriculture: Investigating the effects of contaminants in soil, plants, and insects. Front. Environ. Sci. 2024, 12, 1358842. [Google Scholar] [CrossRef]
  38. Fereres, E.; Soriano, M.A. Deficit irrigation for reducing agricultural water use. J. Exp. Bot. 2007, 58, 147–159. [Google Scholar] [CrossRef]
  39. Magalhães, F.F.; Cunha, F.F.; Godoy, A.R.; Souza, E.J.; Silva, T.R. Production of crisped lettuce cultivars under different depths irrigation. Water Res. Irr. Manag. 2015, 4, 41–50. [Google Scholar] [CrossRef]
  40. Gatta, G.; Libutti, A.; Beneduce, L.; Gagliardi, A.; Disciglio, G.; Lonigro, A.; Tarantino, E. Reuse of treated municipal wastewater for globe artichoke irrigation: Assessment of effects on morpho-quantitative parameters and microbial safety of yield. Sci. Hortic. 2016, 213, 55–65. [Google Scholar] [CrossRef]
  41. Urbano, V.R.; Mendonça, T.G.; Bastos, R.G.; Souza, C.F. Effects of treated wastewater irrigation on soil properties and lettuce yield. Agric. Water Manag. 2017, 181, 108–115. [Google Scholar] [CrossRef]
  42. Vivaldi, G.A.; Camposeo, S.; Lopriore, G.; Trigueros, C.R.; Salcedo, F.P. Using saline reclaimed water on almond grown in mediterranean conditions: Deficit irrigation strategies and salinity effects. Water Supply 2019, 19, 1413–1421. [Google Scholar] [CrossRef]
Figure 1. Daily average values of air temperature and relative humidity, daily values of solar radiation, and accumulated reference evapotranspiration (ETo) during two lettuce cultivation cycles.
Figure 1. Daily average values of air temperature and relative humidity, daily values of solar radiation, and accumulated reference evapotranspiration (ETo) during two lettuce cultivation cycles.
Crops 06 00052 g001
Figure 2. Pearson correlation matrix among the morphophysiological variables of lettuce. Values represent correlation coefficients (r). Asterisks indicate statistical significance levels: *** p < 0.001; * p < 0.05. All correlations with |r| ≥ 0.23 were significant at p < 0.05 unless otherwise noted. SFM—shoot fresh mass; SDM—shoot dry mass; NL—number of leaves; PH—plant height; WP—water productivity; SL—stem length; SD—stem diameter.
Figure 2. Pearson correlation matrix among the morphophysiological variables of lettuce. Values represent correlation coefficients (r). Asterisks indicate statistical significance levels: *** p < 0.001; * p < 0.05. All correlations with |r| ≥ 0.23 were significant at p < 0.05 unless otherwise noted. SFM—shoot fresh mass; SDM—shoot dry mass; NL—number of leaves; PH—plant height; WP—water productivity; SL—stem length; SD—stem diameter.
Crops 06 00052 g002
Figure 3. Comparative performance of classification algorithms in predicting lettuce cultivation conditions. (A) Mean accuracy in irrigation depth prediction. (B) Mean accuracy in water source prediction. Bars represent mean values and letters above them indicate statistical groups according to the Tukey HSD test (α = 0.05). Different letters denote statistically significant differences among algorithms. J48: decision tree; RF: Random Forest; NB: Naive Bayes; SMO: Sequential Minimal Optimization.
Figure 3. Comparative performance of classification algorithms in predicting lettuce cultivation conditions. (A) Mean accuracy in irrigation depth prediction. (B) Mean accuracy in water source prediction. Bars represent mean values and letters above them indicate statistical groups according to the Tukey HSD test (α = 0.05). Different letters denote statistically significant differences among algorithms. J48: decision tree; RF: Random Forest; NB: Naive Bayes; SMO: Sequential Minimal Optimization.
Crops 06 00052 g003aCrops 06 00052 g003b
Table 1. Physicochemical and microbiological characterization of the three water sources used in the experiment: tap water (TW), treated wastewater (TWW), and biochar-filtered treated wastewater (TWW + B), including electrical conductivity (EC), sodium adsorption ratio (SAR), dissolved oxygen (DO), total iron (Fe), total phosphorus (TP), and total coliforms (TC).
Table 1. Physicochemical and microbiological characterization of the three water sources used in the experiment: tap water (TW), treated wastewater (TWW), and biochar-filtered treated wastewater (TWW + B), including electrical conductivity (EC), sodium adsorption ratio (SAR), dissolved oxygen (DO), total iron (Fe), total phosphorus (TP), and total coliforms (TC).
ParametersTWTWWTWW + B
Electrical conductivity (EC, dS m−1)0.2157 ± 0.01400.9750 ± 0.17911.1438 ± 0.0767
Sodium adsorption ratio (SAR)2.9375 ± 0.82859.8750 ± 3.79089.6250 ± 3.8190
Dissolved oxygen (DO, mg L−1)6.5895 ± 0.43206.4211 ± 0.92527.5526 ± 0.8630
Total iron (Fe, mg L−1)0.0984 ± 0.06420.0975 ± 0.02490.0713 ± 0.0196
Total phosphorus (TP, mg L−1)0.0748 ± 0.02303.0875 ± 0.56474.2250 ± 0.8245
Total coliforms (TC, CFU mL−1)0.0 ± 0.02421.4 ± 1735.8748.6 ± 367.9
Table 2. Mean squares and F-test (ANOVA) significance for the variables number of leaves, plant height, stem length, stem diameter, shoot fresh mass, shoot dry mass, and water productivity of lettuce grown under two cultivation cycles (C) and subjected to different water sources (WS) and irrigation depths (ID).
Table 2. Mean squares and F-test (ANOVA) significance for the variables number of leaves, plant height, stem length, stem diameter, shoot fresh mass, shoot dry mass, and water productivity of lettuce grown under two cultivation cycles (C) and subjected to different water sources (WS) and irrigation depths (ID).
FactorMean Squares
CWSIDC × WSC × IDWS × IDC × WS × ID
Number of leaves (ud pl−1)4.59 × 101 ns2.27 × 102 **1.03 × 103 **3.11 × 101 ns1.24 × 102 *6.61 × 101 ns5.24 × 101 ns
Plant height (cm)2.76 × 102 **5.12 × 100 **6.41 × 101 **8.95 × 100 **1.41 × 101 **4.73 × 100 *1.61 × 100 ns
Stem length (cm)2.69 × 102 **1.21 × 101 **9.13 × 101 **1.30 × 101 **2.00 × 101 **8.04 × 100 *4.38 × 100 ns
Stem diameter (cm)5.87 × 100 **1.85 × 100 **7.17 × 100 **1.73 × 10−1 *4.22 × 10−1 **1.39 × 10−1 ns8.82 × 10−2 ns
Shoot fresh mass (g pl−1)1.03 × 106 **6.15 × 104 **2.61 × 105 **2.13 × 104 **5.17 × 104 **1.09 × 105 ns7.80 × 103 ns
Shoot dry mass (g pl−1)2.75 × 102 ns4.39 × 101 **2.79 × 102 **1.34 × 101 ns3.26 × 101 **1.88 × 101 **1.05 × 101 ns
Water productivity (g L−1)1.14 × 104 **3.13 × 102 **2.12 × 102 **3.59 × 102 **4.24 × 101 ns9.29 × 101 ns4.33 × 101 ns
C × WS × ID: triple interaction among cultivation cycles, water source treatments, and irrigation depths; * and **: significant at 5% and 1% probability, respectively, by the F test; ns: not significant.
Table 3. Mean values followed by their respective standard deviations for number of leaves, plant height, stem length, stem diameter, shoot fresh mass, shoot dry mass, and water productivity of lettuce subjected to different irrigation depths (ID, % ETc) and water sources (WS). WS1—tap water + topdressing; WS2—treated wastewater; WS3—treated wastewater + biochar; WS4—treated wastewater + topdressing; WS5—treated wastewater + biochar + topdressing.
Table 3. Mean values followed by their respective standard deviations for number of leaves, plant height, stem length, stem diameter, shoot fresh mass, shoot dry mass, and water productivity of lettuce subjected to different irrigation depths (ID, % ETc) and water sources (WS). WS1—tap water + topdressing; WS2—treated wastewater; WS3—treated wastewater + biochar; WS4—treated wastewater + topdressing; WS5—treated wastewater + biochar + topdressing.
FactorIDWS1WS2WS3WS4WS5
Number of
leaves (ud pl−1)
5037.917 ± 3.264Ab42.333 ± 4.727Aa44.333 ± 3.625Ab33.750 ± 4.250Ac40.083 ± 6.643Ac
7542.167 ± 11.955Aab49.833 ± 10.869Aa50.833 ± 3.517Aab44.333 ± 3.329Abc43.167 ± 4.410Ac
10048.333 ± 8.083ABab48.167 ± 4.569ABa58.333 ± 4.517Aa49.083 ± 4.264ABab47.000 ± 3.073Bbc
12549.000 ± 4.323Ba49.833 ± 6.566ABa56.333 ± 5.966ABa56.500 ± 2.971ABa59.667 ± 9.179Aa
15052.833 ± 2.758Aa49.833 ± 6.838Aa55.667 ± 3.649Aa50.667 ± 6.215Aab54.833 ± 10.355Aab
Plant height
(cm)
5013.363 ± 0.864Bb15.300 ± 1.641ABb15.892 ± 0.710Aa13.850 ± 0.400ABd15.388 ± 0.689ABb
7516.250 ± 2.454ABa16.725 ± 0.666ABab18.075 ± 0.923Aa15.692 ± 0.500Bcd16.175 ± 1.093ABb
10018.283 ± 2.233Aa16.867 ± 1.395Aab18.317 ± 0.851Aa16.808 ± 0.967Abc17.475 ± 0.988Aab
12516.946 ± 1.254Ba18.283 ± 0.847ABa18.042 ± 1.402ABa19.842 ± 1.404Aa18.775 ± 1.204ABa
15017.921 ± 1.529Aa17.925 ± 0.783Aa18.225 ± 0.216Aa18.958 ± 1.117Aab17.375 ± 2.599Aab
Stem length
(cm)
508.378 ± 2.265ABb10.832 ± 1.952Aa11.088 ± 1.688Ab7.398 ± 0.738Bc9.768 ± 0.915ABb
7511.110 ± 2.093Aab11.033 ± 1.416Aa12.802 ± 1.150Aab10.892 ± 1.663Ab9.745 ± 2.074Ab
10014.253 ± 1.343Aa11.127 ± 2.196Aa12.950 ± 1.200Aab12.137 ± 0.681Aab12.683 ± 1.287Aab
12512.794 ± 1.749Aa12.817 ± 1.314Aa15.260 ± 3.504Aa14.447 ± 1.013Aa14.520 ± 2.132Aa
15012.414 ± 1.985Aa12.627 ± 1.798Aa13.670 ± 1.725Aab14.287 ± 0.978Aa11.588 ± 3.236Aab
Stem diameter
(cm)
501.7867 ± 0.2127ABb2.2450 ± 0.1098Ab2.2433 ± 0.1206Ac1.7125 ± 0.1575Bc1.6458 ± 0.1782Bc
752.1517 ± 0.3005Cb2.6500 ± 0.3856ABab2.9700 ± 0.1180Ab2.2583 ± 0.1387BCb2.1567 ± 0.1219Cbc
1002.7617 ± 0.4049Ba2.9383 ± 0.3521ABa3.4017 ± 0.2872Aab2.7842 ± 0.3325Ba2.5483 ± 0.1876Bab
1252.8208 ± 0.3233Ba2.9333 ± 0.4317Ba3.4950 ± 0.3396Aa3.1417 ± 0.1426ABa2.9150 ± 0.1759Ba
1502.9442 ± 0.1835Aa3.1217 ± 0.3104Aa3.1667 ± 0.2838Aab3.0917 ± 0.1630Aa2.9617 ± 0.7188Aa
Shoot fresh
mass (g pl−1)
50142.17 ± 32.69Ab235.33 ± 115.32Ab240.33 ± 47.26Ab174.83 ± 59.75Ab166.17 ± 19.06Ab
75245.50 ± 82.33Bab286.17 ± 45.69ABab395.67 ± 25.29Aa216.00 ± 19.22Bb230.67 ± 34.47Bb
100321.50 ± 102.07Ba342.33 ± 112.07Bab483.00 ± 76.70Aa345.08 ± 87.55Ba375.67 ± 18.33ABa
125314.33 ± 13.12Ba375.00 ± 77.84ABa458.17 ± 76.18Aa456.25 ± 54.87Aa421.17 ± 97.49ABa
150340.75 ± 65.50Ba375.33 ± 59.47ABa418.50 ± 75.11ABa465.00 ± 82.10Aa406.33 ± 163.00ABa
Shoot dry
mass (g pl−1)
5010.047 ± 2.123ABb13.935 ± 2.122Aa14.368 ± 1.263Ab9.078 ± 1.248Bc12.563 ± 3.815ABb
7514.362 ± 3.617ABab16.343 ± 3.623ABa17.843 ± 2.146Aab14.155 ± 0.902ABb12.233 ± 2.749Bb
10016.065 ± 3.316ABa14.539 ± 3.020ABa18.714 ± 1.409Aab14.289 ± 1.881Bb16.580 ± 0.778ABab
12517.196 ± 3.553Ba18.367 ± 1.766ABa20.932 ± 4.480ABa21.836 ± 2.344Aa20.478 ± 2.499ABa
15017.345 ± 1.155Aa16.432 ± 2.443Aa19.520 ± 2.385Aa20.587 ± 1.618Aa18.785 ± 6.246Aa
Water productivity (g L−1)5021.132 ± 4.870Ba34.408 ± 16.596Aa31.984 ± 6.200ABab29.169 ± 9.994ABa26.761 ± 3.175ABa
7526.611 ± 8.748Aa30.744 ± 4.915Aa37.836 ± 2.434Aa26.592 ± 2.408Aa27.360 ± 4.251Aa
10027.590 ± 8.637Aa29.686 ± 8.825Aa36.269 ± 5.729Aa33.494 ± 8.560Aa35.388 ± 1.698Aa
12522.299 ± 0.927Ba27.096 ± 5.133ABa28.350 ± 4.622ABab36.693 ± 4.346Aa32.744 ± 7.488ABa
15020.452 ± 3.900Ba23.807 ± 3.631ABa22.166 ± 3.887ABb32.008 ± 5.613Aa27.098 ± 10.673ABa
Means followed by the same uppercase letters in the column and lowercase letters in the row do not differ from each other by Tukey’s test (p < 0.05).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Souza, A.M.d.S.; Velloso, C.L.A.d.P.; Moss, J.C.; Faccioli, G.G.; de Oliveira, J.T.; da Cunha, F.F. Morphophysiological Responses of Lettuce to Irrigation Depths and Wastewater Sources with a Machine Learning Approach. Crops 2026, 6, 52. https://doi.org/10.3390/crops6030052

AMA Style

Souza AMdS, Velloso CLAdP, Moss JC, Faccioli GG, de Oliveira JT, da Cunha FF. Morphophysiological Responses of Lettuce to Irrigation Depths and Wastewater Sources with a Machine Learning Approach. Crops. 2026; 6(3):52. https://doi.org/10.3390/crops6030052

Chicago/Turabian Style

Souza, Antonio Magno dos Santos, Caio Lucas Alhadas de Paula Velloso, Jonas Caram Moss, Gregorio Guirado Faccioli, Job Teixeira de Oliveira, and Fernando França da Cunha. 2026. "Morphophysiological Responses of Lettuce to Irrigation Depths and Wastewater Sources with a Machine Learning Approach" Crops 6, no. 3: 52. https://doi.org/10.3390/crops6030052

APA Style

Souza, A. M. d. S., Velloso, C. L. A. d. P., Moss, J. C., Faccioli, G. G., de Oliveira, J. T., & da Cunha, F. F. (2026). Morphophysiological Responses of Lettuce to Irrigation Depths and Wastewater Sources with a Machine Learning Approach. Crops, 6(3), 52. https://doi.org/10.3390/crops6030052

Article Metrics

Back to TopTop