Skip to main content

ORIGINAL RESEARCH article

Front. Plant Sci., 12 July 2024
Sec. Plant Breeding

Near infrared spectroscopy for cooking time classification of cassava genotypes

  • 1Núcleo de Recursos Genéticos e Desenvolvimento de Variedades, Embrapa Mandioca e Fruticultura, Cruz das Almas, BA, Brazil
  • 2Cassava Breeding Unit, International Institute of Tropical Agriculture (IITA), Ibadan, Oyo State, Nigeria
  • 3Plant Breeding and Genetics Section, School of Integrative Plant Science, Cornell University, Ithaca, NY, United States
  • 4National Root Crops Research Institute (NRCRI), Umuahia, Nigeria

Cooking time is a crucial determinant of culinary quality of cassava roots and incorporating it into the early stages of breeding selection is vital for breeders. This study aimed to assess the potential of near-infrared spectroscopy (NIRS) in classifying cassava genotypes based on their cooking times. Five cooking times (15, 20, 25, 30, and 40 minutes) were assessed and 888 genotypes evaluated over three crop seasons (2019/2020, 2020/2021, and 2021/2022). Fifteen roots from five plants per plot, featuring diameters ranging from 4 to 7 cm, were randomly chosen for cooking analysis and spectral data collection. Two root samples (15 slices each) per genotype were collected, with the first set aside for spectral data collection, processed, and placed in two petri dishes, while the second set was utilized for cooking assessment. Cooking data were classified into binary and multiclass variables (CT4C and CT6C). Two NIRs devices, the portable QualitySpec® Trek (QST) and the benchtop NIRFlex N-500 were used to collect spectral data. Classification of genotypes was carried out using the K-nearest neighbor algorithm (KNN) and partial least squares (PLS) models. The spectral data were split into a training set (80%) and an external validation set (20%). For binary variables, the classification accuracy for cassava cooking time was notably high (RCal2 ranging from 0.72 to 0.99). Regarding multiclass variables, accuracy remained consistent across classes, models, and NIR instruments (~0.63). However, the KNN model demonstrated slightly superior accuracy in classifying all cooking time classes, except for the CT4C variable (QST) in the NoCook and 25 min classes. Despite the increased complexity associated with binary classification, it remained more efficient, offering higher classification accuracy for samples and facilitating the selection of the most relevant time or variables, such as cooking time ≤ 30 minutes. The accuracy of the optimal scenario for classifying samples with a cooking time of 30 minutes reached RCal2  = 0.86 and RVal2 = 0.84, with a Kappa value of 0.53. Overall, the models exhibited a robust fit for all cooking times, showcasing the significant potential of NIRs as a high-throughput phenotyping tool for classifying cassava genotypes based on cooking time.

1 Introduction

With the increasing challenges associated with climate change, cassava (Manihot esculenta Crantz) has gained prominence as a crop of significant commercial relevance. Simultaneously, it maintains its high importance in the food security of millions of farmers, particularly in African countries (Ceballos et al., 2004). While all parts of the cassava plant are utilized for various purposes, cassava is primarily cultivated for its starchy roots, which can be used for human and animal feed, as well as in various industrial applications (Chiwona-Karltun et al., 2015). The roots are rich in carbohydrate (40% and 20% higher than rice and maize, respectively), providing consumers with an affordable source of calories (Bala et al., 2015).

The leaves and roots of cassava contain cyanogenic chemicals, which are the precursors to hydrocyanic acid (HCN), which in certain amounts can be poisonous or even fatal. Cultivars are categorized as sweet or table when they contain less than 100 mg kg-1 of cyanogenic compounds (wet basis), bitter cassava had a higher cyanogenic content (Wheatly et al., 2003). Sweet cassava is consumed fresh (cooked roots) or processed into various products such as cakes, snacks, and pies, etc. Boiling and frying cassava to serve as snacks is popular in Brazil. In Latin American and African countries, one of the simplest and most widespread methods to consume cassava roots is to boil them. For increased acceptance among end consumers, characteristics such as tenderness, mealy texture, or friability (ability to disintegrate between fingers and in the mouth) and short boiling time are essential (Hongbété et al., 2011; Bechoff et al., 2017).

Cooking time is a crucial determinant of the culinary quality of cassava roots. It holds high priority in cassava breeding programs due to its impact on energy and time savings during food preparation (Moreto and Neubert, 2014). Numerous environmental and genetic factors can influence cassava cooking time (Hongbété et al., 2011; Pedri et al., 2018; Iragaba et al., 2019; Silveira et al., 2021). A maximum acceptable time of thirty minutes has been established to optimize the commercialization and acceptance of cassava roots for culinary purposes in Brazil (Fukuda et al., 2002; Beleia et al., 2006; Vieira et al., 2018). Routine evaluation of root quality, including cooking time, is essential in the improvement of varieties targeted for the sweet cassava market (Iragaba et al., 2019).

Owing to their high starch content (20–35%), cassava roots culinary quality is greatly impacted by the physical and structural changes in starch that occur during cooking (Charoenkul et al., 2011). As starch undergoes gelatinization during cooking, absorbing water and leading to an increase in starch granule volume, these modifications result in a product with specific characteristics that are essential for consumer acceptance (Butarelo et al., 2004). In addition to starch structural properties, the maturity of the roots also impacts cooking time, which tends to be shorter in plants harvested at younger developmental stages (Santos et al., 2022). Therefore, these aforementioned factors should be taken into account by breeding programs when assessing cooking times.

Presently, the most widely method for assessing cassava cooking time is the softness test, which entail determining root tenderness using a fork after a specific time. An evolution in this process is the Mattson cooker, routinely used for determining the cooking time of peas, beans, and soybeans (Mattson, 1946; Jackson and Varriano-Marston, 1981). More recently, it has been adapted for cassava use (Miranda et al., 2008). This technique relies on metal rods with standardized weights exerting pressure as they pierce through cassava root pieces while they cook in boiling water. A more recent approach for assessing cassava cooking time is the water absorption method, which is faster, less subjective, and more reproducible than the softness test, which can take up to 60 minutes for some genotypes (Tran et al., 2021). The percentage of water absorption during boiling, calculated by the ratio of the initial root weight to the weight during boiling, correlates with cooking time and mealy texture, two crucial indicators of cooking quality (Beleia et al., 2004; Kouadio et al., 2011; Tran et al., 2021). All these methods are labor-intensive and time-consuming, taking over an hour to evaluate just one genotype. This contrasts with the realities of breeding programs that need to assess hundreds of samples daily in a quick and precise manner to proceed with the selection process. Thus, in order to improve the efficiency of cassava cooking assessment and analyze more samples in a shorter timeframe, it is imperative to develop and implement more effective methods.

The application of Near-Infrared Spectroscopy (NIRS) technologies has emerged as a game-changer in the term precision in phenotyping, revolutionizing selection stages within breeding programs. NIRS exhibits performance on par with conventional analytical chemistry methods, offering distinct advantages such as reduced analysis times, early assessment capabilities, the capacity to handle large sample volumes daily, and the non-destructive nature of sampling (Ikeogu et al., 2017). This sophisticated tool operates through the correlation of spectra information with reference data acquired through conventional methods to develop calibration models for predicting traits of interest (Pasquini, 2018; Saeys et al., 2019). The electromagnetic radiation in the NIRS region (700–2500 nm) is selectively absorbed by components like water and various organic compounds, including crucial elements such as carbohydrates, proteins, lipids, and alcohols (Agelet and Hurburgh, 2014). Consequently, NIRS stands out as a significant predictor of these compounds in organic substances.

NIRS spectroscopy has demonstrated remarkable efficacy in predicting cooking times across various species, including common beans (Cichy et al., 2015; Mendoza et al., 2018; Wafula et al., 2020, 2021) and rice (Thanathornvarakul et al., 2016). NIRS-based models have demonstrated strong predictive abilities, with validation R2 values greater than 0.87 and calibration R2 values greater than 0.81 (Thanathornvarakul et al., 2016). Critical properties of rice, including minimum cooking time, adhesiveness, pasting temperature, viscosity peak, and breakdown have been accurately predicted using NIRS-based model (Thanathornvarakul et al., 2016). In common beans, the NIRS-based prediction models for cooking time have exhibited exceptional precision, revealing an average prediction error of 8 minutes, underscoring the potential of NIRS in forecasting cooking times in bean varieties (Wafula et al., 2020). The NIRS technique has demonstrate efficacy in quantifying non-structural carbohydrates and was a suitable tool for analyzing the physiological responses of plants to diverse environmental stresses (Rosado et al., 2019).

Few cases of used of NIRS spectroscopy to predict cassava cooking have been recorded. A novel approach based on hyperspectral imaging for large-scale phenotyping has been recently developed (Meghar et al., 2023). This innovative approach meticulously process images for spectral data extraction and multivariate statistics are used to identified distinct regions of interest (Meghar et al., 2023). However, despite its potential, the results fail to accurately predict parameters linked to cooking ability. This limitation could stem from the relatively small sample size and the spectral data collection method, which involved fresh intact slices. Additionally, NIR hyperspectral imaging presents several drawbacks, including its high cost, the necessity for sensitive detectors for data collection, fast computers for analysis, and substantial data storage capacity requirements (Manley, 2014). Given this scenario, the present study proposes a new approach for classifying cassava genotypes based on cooking time through the development and validation of models using NIR spectroscopy. The result of this study will serve as a foundation for establishing a user-friendly protocol for NIR-based phenotyping of cooking time, which will facilitate the identification of genotypes that cook in predefined times that are more acceptable to end consumers.

2 Materials and methods

2.1 Plant material

A total of 888 cassava genotypes, which are part of the breeding program at Embrapa Mandioca e Fruticultura located in Cruz das Almas, Bahia, Brazil (12°39′25″ S, 39°07′27″W, 226 m altitude), were assessed. Seventeen trials (Table 1) were conducted during the crops seasons of 2019/2020, 2020/2021, and 2021/2022, in areas situated in the municipalities of Cruz das Almas, Laje (13°10’56”S, 39°25’30”W, 190 m altitude), Alagoinhas (12°7’13’’S, 38°24’35’’W, 151 m altitude), and Sátiro Dias (11°35’56’’S, 38°35’24’’W, 244 m altitude), all within the state of Bahia. The experiments were arranged using a complete randomized block design (with two or three replications) and an augmented block design (including 10 standard checks per block). The trials were conducted under rainfed conditions. Planting was performed using stakes that were 16–20 cm long and contained 5–7 buds each. Each plot consisted of two to six rows with 8–10 plants per row, spaced at 0.90 m between rows and 0.80 m between plants.

Table 1
www.frontiersin.org

Table 1 Trials information with location and crop seasons where spectral data collection was conducted on cassava roots.

All cultivation practices followed the guidelines outlined by Souza et al. (2006). The climate conditions in the regions are predominantly warm, humid, and tropical (Aw/Am, according to the Köppen classification), with an approximately 12-hour photoperiod throughout the year (Souza et al., 2020).

2.2 Sample preparation and cooking time analysis

The trials were harvested between the eleventh and the twelfth month after planting. Fifteen roots from three competitive plants per experimental plot (five healthy roots were selected from each harvested plant) with diameters ranging from 4 to 7 cm, were randomly selected for cooking analysis and spectral data collection. After classification, the roots were washed in running water and peeled. Two pieces from the central region of each root were collected. The first piece, which had a longitudinal length of around 10 cm with a variable diameter depending on the genotype, was used for the cooking analysis. The other portion, which was the same size, was put in Petri dishes after being cooked in a food processor and used to collect spectral data.

For the cooking time evaluation, five cooking times (CT): 15 (CT15m), 20 (CT20m), 25 (CT25m), 30 (CT30m), and 40 (CT40m) minutes after the onset of cooking were analyzed. Root samples were divided into three repetitions of five to nine pieces each and placed in a pot of boiling water (98°C), with a mass ratio of 1:10 (cassava: water). Cassava was considered cooked when little resistance to fork penetration perpendicular to their length was observed.

Cooking data were organized into binary and multiclass variables. For each cooking time, binary variables indicating cooked or uncooked were considered. Additionally, these same variables were used for multiclass classification based on 4 classes (CT4C) and 6 classes (CT6C) associated with cooking time. Classes that were taken into consideration for CT4C were, cooked at 20 min, 30 min, 40 min, or uncooked, while the following classes were considered for CT6C including cooked at 15 min, 20 min, 25 min, 30 min, 40 min, or uncooked.

To address the imbalance in class representation in binary variables, we employed the oversampling technique. This involved randomly duplicating readings from the underrepresented class (cooked). As a result, for spectral data classification analyses, an equal distribution of classes was ensured for each cooking time, with 50% of readings from roots that cook and 50% from roots that do not cook.

2.3 Data spectral collection and analysis

The spectral data were acquired from processed root samples housed in two Petri dishes. This procedure utilized a benchtop NIRFlex N-500 spectrometer (Büchi, Flawil, Switzerland) (NIR NIRFlex) and a portable device, QualitySpe® Trek, model S-10016 (NIRS QST). Every Petri dish was scanned twice, for a total of four repetitions for each experimental plot.

The NIRFlex N-500 spans a wavelength range of 1000–2500 nm (10000–4000 cm-1) and operates in diffuse reflectance mode, featuring a spectral resolution of 8 cm-1, interpolated at 4 cm-1, resulting in 1501 data points per spectrum. Employing a polarization interferometer with TeO2 wedges, a Tungsten Halogen lamp as the NIRS light source, and an InGaAs detector, this instrument delivers accurate spectral data. On the other hand, measurements was made using the portable QST device in diffuse reflectance over a wavelength range of 350–2500 nm, with a spectral resolution of 9.8 nm at 1400 nm. The QST device incorporates three detectors: 350–1000 nm (512-element silicon array), 1001–1785 nm (InGaAs photodiode), and 1786–2500 nm (InGaAs photodiode). This device is equipped with an internal light source and an internal gray scale reference for optimization and wavelength calibration, featuring a Quartz Tungsten Halogen bulb with a color temperature of 2870 K ±33 K. The window of the QST device, approximately 1 cm in diameter, is illuminated by the internal light source, and the internal design minimizes specular reflections.

Principal component analysis (PCA) was performed using the prcomp package (Kassambara and Mundt, 2020) on the centered and standardized (i.e., each wavelength was centered by subtracting the overall mean and standardized by dividing by the sample standard deviation) spectra data in order to assess the population structure of genotypes based on their individual cooking times. A symmetric biplot was generated using the Biplot function to graphically display the genotypes grouping.

The heritability of each wavelength from the spectral data was assessed for each trial. Variance components were estimated using a linear mixed model and the R package lme4 (Bates et al., 2015). The model used for data analysis can be expressed as: y=Xb+Zg+e, where y represents the wavelength reflectance data, b represents fixed block effects, and g and e denote random effects of genotype and error, respectively. Matrices X and Z symbolize the incidence matrices for the respective b and g effects within the mixed model. All random effects were assumed to conform to a normal distribution, where gN(0,σg2) and eN(0,σe2). Broad-sense heritability (H2) was then calculated using the formula: H2=σg2/(σg2+σe2). All statistical analyses were executed using R software version 4.2.3 (R Core Team, 2023).

2.4 Data pre-processing and classification model adjustment

Several pre-processing techniques were evaluated to ensure the reliability of spectral data, being used to enhance the signals of interest and at the same time remove or attenuate noise. The techniques including first-order derivative (1st), detrend (DT), multiplicative scatter correction (MSC), and combined methods such as first-order derivative-detrend (1st-DT), first-order derivative-multiplicative scatter correction (1st-MSC), detrend-multiplicative scatter correction (DT-MSC), and first-order derivative with Savitzky–Golay-detrend (1st-SG-DT). The first-order derivative was used to subtract the background and baseline drift, DT was employed to eliminate baseline drift in the spectra, and the MSC method was applied to eliminate multiplicative interference of scattering in the spectral signal.

Following pre-processing, the spectra were smoothed using an N=11 filter at each end of the spectral set for noise reduction (Savitzky and Golay, 1964). Data preprocessing was performed using prospectr package (Stevens and Ramirez-Lopez, 2022) implemented in R software version 4.2.3 (R Core Team, 2023).

After pre-processing, the spectral data were organized into a matrix X (predictors), and the cooking data were allocated in a vector Y (response). Two classification models were assessed for their potential in predicting cassava clones’ cooking times. The k-nearest neighbor algorithm (KNN) method (Mucherino et al., 2009) is based on determining distances (usually Euclidean) between an unknown object and each object in the training set. It is one of the most widely used non-parametric algorithms in machine learning due to its simplicity. The KNN method selects the smallest distance for assigning members of a particular class. The k-nearest objects (where k is the number of neighbors) of the unknown sample are chosen, and a majority rule is applied: the unknown sample is classified into the class to which the majority of the k objects belong. The choice of k is optimized by calculating the prediction capacity with different k values. The other method employed in the analyses, partial least squares (PLS), also known as projection to latent structures, models matrices X and Y simultaneously to find latent variables in X that will best predict latent variables in Y. These PLS components are similar to principal components. The models are implemented in the caret package (Kuhn, 2008).

2.5 Cross-validation and external validation

The data were split into a cross-validation set (80% of the data) and an external validation set (remaining data used to test classification models), both with an even distribution of genotypes between the two classes (cooked or uncooked) for binary variables and among the four or six cooking times (for multiclass variables).

The models’ performance was assessed through 10-repetition 5-fold cross-validation conducted on the training set. The overall effectiveness of binary classification models was evaluated based on specificity, sensitivity, and receiver-operating characteristic (ROC) analyses. Sensitivity measures the probability of the classifier achieving true positives (tptp+fn), while specificity measures the probability of achieving true negatives (tntn+fn), where tp corresponds to the number of correctly recognized examples of the class (true positives), tn the number of correctly recognized examples that do not belong to the class (true negatives); fp examples that were incorrectly assigned to the class (false positives), and fn examples not recognized as class examples (false negatives). ROC analyses were developed to assess the classification accuracy of a statistical model that classifies objects into two categories. An ROC curve is a graph of sensitivity on the y-axis against (1 - specificity) on the x-axis for various threshold values t. The diagonal 45° line connecting (0,0) to (1,1) is the ROC curve corresponding to random chance. The ROC curve for the gold standard is the line connecting (0,0) to (0,1) and (0,1) to (1,1). Generally, ROC curves fall between these two extremes. The area under the ROC curve is a summary measure that essentially gauges accuracy across the entire dataset.

For multiclass variables, the average values of accuracy, Cohen’s Kappa statistic (unweighted) (Cohen, 1960), specificity, sensitivity, and area under the ROC curve (AUC) obtained in each cross-validation repetition were considered. Accuracy was calculated as tp+ttp+fn+fp+tn, and the Kappa index is based on the number of concordant responses defined by po+pe1pe where po is the proportion of units that agreed, and pe  is the proportion of units for which agreement is expected by chance.

The external validation sample set comprised 20% of the spectral data. Prediction performance was evaluated with parameters generated from a confusion matrix. The parameters for assessing model quality included accuracy, Kappa index, sensitivity, and specificity.

3 Results

3.1 Initial cooking analyses of field trial samples and spectral heritability

In this study, 36% (N=319) of the evaluated genotypes displayed the ability to be cooked within 30 minutes in at least one environment. Notably, 85 genotypes, comprising 65 traditional cultivars, 53 local varieties, and 26 newly developed genotypes from the breeding program, exhibited significant cooking potential within 15 minutes. Among these, five traditional sweet cultivars (BRS Jari, BRS Gema de Ovo, BRS Dourada, and BRS 396) distinguished themselves for their elevated beta-carotene content, a precursor of provitamin A, coupled with low hydrogen cyanide (HCN) levels. Moreover, there exists a cultivar initially designed for industrial purposes (BRS Kiriris) due to its notable fresh root and starch yield, yet it also finds consumption in various regions owing to its intermediate cyanogenic compound levels. Beyond these cultivars, 53 local varieties and 26 newly developed genotypes from the breeding program exhibited promising cooking potential within the 15-minute timeframe.

For most trials, the proportion of uncooked samples within 40 minutes was higher (> 50%) than those that cooked, except for the clonal trial BR.CET.20.PP1 (Figure 1).

Figure 1
www.frontiersin.org

Figure 1 Percentage distribution of genotypes with roots cooked at various time intervals (15, 20, 25, 30, and 40 minutes) and genotypes with uncooked roots (NC) for each trial.

The heritability of reflectance values was investigated for each trial. There were difference in the heritability of NIRS spectra across trials and spectral regions (Figure 2). Notably, trials BR.PYT.21.PP1 and BR.PYTGS-C2.21.NH1 which demonstrated higher heritabilities with values ≥ 0.70 for NIRS QST (Supplementary Table S1). For NIRFlex, trials BR.PYT.21.PP1 and BR.PYT.21.SJ displayed heritabilities exceeding 0.81. Trial BR.AYTGS.20.PP1 on the other hand had the lowest average heritabilities (H2=18 for NIRS QST, H2 = 0.32 for NIRFlex) (Supplementary Table S1). Heritability was often significantly higher for NIRFlex, especially in the 1000 -1250 nm spectral range (Figure 2).

Figure 2
www.frontiersin.org

Figure 2 Broad-sense heritability for each wavelength of near-infrared spectra (NIRS) from cassava roots assessed for cooking ability using NIRS QualitySpec® Trek (QST) (A) and NIRFlex N-500 (NIRFlex) (B).

3.2 Principal component analysis of spectral data

A total of 2150 and 1500 wavelengths from NIRS QST and NIRFlex, respectively, were used in principal component analysis (PCA) (Supplementary Figure S1). There was variation among evaluated cassava genotypes, with minor differences between different cooking times (Supplementary Figures S1, S2). Overlapping classes were also observed for cooking times in different spectral ranges for the two NIR devices. The first principal component (PC) accounted for a variation of 79.65% (350 to 700 nm) to 98.60% (701 to 1000 nm) for NIRS QST (Supplementary Figure S1) and over 94.65% in both spectral ranges (1001–1750 nm and 1751–2500 nm) for NIRFlex (Supplementary Figure S2).

3.3 Efficiency of pre-processing methods and classification models

The accuracy, sensitivity, and specificity of the KNN classification method were used to assess the efficiency of pre-processing techniques (Supplementary Figure S3). When compared to using raw spectral data, the performance of the classification model was enhanced by the application of pre-processing techniques, as indicated by cross-validation results. The 1st + MSC methods were selected because they provided better accuracy, sensitivity, and specificity among binary and multi-class variables (Supplementary Figure S3).

Overall, the KNN and PLS models’ classification accuracy for binary variables was comparable. According to cross-validation, QST, accuracy ranged from 0.72 (KNN, T40min) to 1.00 (PLS, T15min) (Figure 3). The accuracy for NIRFlex were higher, ranging from 0.83 (PLS, T30min and T40min) to 0.99 (PLS, T15min).

Figure 3
www.frontiersin.org

Figure 3 Cross-validation accuracy of cassava root classification models considering the cooking classification into binary variables (T15min, T20min, T25min, T30min, and T40min) and multiclass (CT4C and CT6C) based on near-infrared spectroscopy (NIR) spectra collected on NIRFlex N-500 (NIRFlex) and QualitySpec® Trek (QST) instruments.

Regarding the classification of cooking as multi-class variables, there was a more pronounced difference between classification models, where KNN outperformed PLS (variation from 0.96 to 0.87) except for CT4C with NIRS QST spectra, where both models were similar (variation from 0.67 to 0.81) (Figure 3).

With the exception of CT4C with QST spectra, for which both models performed similarly (variation from 0.67 to 0.81), there was a more pronounced difference between the classification models when it came to the classification of cooking as multi-class variables. KNN outperformed PLS in this regard (variation from 0.96 to 0.87) (Figure 3).

The results consistently showed stable probabilities of classifying samples into their respective categories across 50 repetitions of cross-validation (folds vs repetitions), as depicted in Supplementary Figures S3 to S10. This stability held true for both binary and multiclass variables related to cooking time.

Sensitivity displayed a pattern that was comparable to accuracy, with similarities between the PLS and KNN models for binary variables and significant differences for multi-class variables (Figure 4). For binary variables, sensitivity was approximately 0.90 for both instruments, indicating a high ability to classify the positive class (samples that are not cooked). For the multiclass variables CT4C and CT6C, uncooked samples were also considered as the positive class. Sensitivity values obtained by QST were 0.62 (KNN) and 0.69 (PLS) for CT4C and 0.49 (KNN) and 0.22 (PLS) on average for CT6C (Figure 4). For NIRFlex, the models showed comparable performance between the two multi-class variables, however the KNN model (~0.76) demonstrated a higher ability to classify the positive class compared to PLS (0.32) (Figure 4).

Figure 4
www.frontiersin.org

Figure 4 Sensitivity and specificity of cross-validation for cassava root classification models considering the cooking classification into binary variables (T15min, T20min, T25min, T30min, and T40min) and multiclass variables (CT4C and CT6C) based on near-infrared spectroscopy (NIR) spectra collected using NIRFlex N-500 (NIRFlex) and QualitySpec® Trek (QST) instruments.

Specificity measures the ability of a model to predict true negatives for each available class. As this class (samples that are cooked) was underrepresented, the tendency is for specificity to be lower than sensitivity. Thus, specificity varied among the cooking times of binary variables, ranging from 0.31 (PLS, CT40m) to 1.00 (PLS and KNN, CT15m) (Figure 4). Therefore, the longer the cooking time, the lower the specificity values. For multiclass variables, specificity was close to 0.90 for QST and ranged from 0.80 to 0.95 for NIRFlex (Figure 4). Thus, for this type of variable, there was a greater balance in predicting true positives and negatives.

3.4 External validation of classification models

External validation was conducted and assessed through the utilization of a confusion matrix, with a focus on quality parameters such as accuracy, Kappa index, sensitivity, and specificity across all variables (refer to Figures 57). The external validation population was formed by selecting 20% of the dataset. Both NIRS devices demonstrated a moderate to high magnitude accuracy, exceeding 0.57 for QST and 0.67 for NIRFlex (Figure 5). Looking more closely at the specifics, the PLS model consistently exhibited slightly higher accuracy values, ranging from 0.67 (QST, CT4C) to 0.93 (QST, CT15m) than the KNN model, which ranged from 0.57 (QST, CT6C) to 0.90 (NIRFlex, CT20m) (Figure 5). For Kappa index, it becomes evident that QST displayed inferior performance, with values ranging from 0.08 to 0.32, NIRFlex performance was more robust, with values spanning from 0.15 to 0.56. Overall, the KNN model consistently demonstrated higher Kappa values when compared with the PLS model.

Figure 5
www.frontiersin.org

Figure 5 Accuracy of cassava root classification models in the external validation population, considering binary variables of cooking time (CT15m, CT20m, CT25m, CT30m, and CT40m) and multiclass variables (CT4C and CT6C) based on near-infrared spectroscopy (NIR) spectra collected using NIRFlex N-500 (NIRFlex) and QualitySpec® Trek (QST) instruments.

Figure 6
www.frontiersin.org

Figure 6 Sensitivity and specificity of cassava root classification models in the external validation population, considering binary variables of cooking time (CT15m, CT20m, CT25m, CT30m, and CT40m) based on near-infrared spectroscopy (NIR) spectra collected using NIRFlex N-500 (NIRFlex) and QualitySpec® Trek (QST) instruments.

For the binary variables, sensitivity was high for both instruments, with values ranging between 0.76 and 0.95 (Figure 6), while specificity values were lower, especially for the PLS model. Specificity varied from 0.25 to 0.69 (QST) and from 0.43 to 0.92 (NIRFlex) (Figure 6).

For multiclass variables, accuracy (balanced), sensitivity, and specificity parameters were obtained for each individual cooking time category (Figure 7). Overall, accuracy was similar across classes, models, and instruments (~0.63), although the KNN model showed slightly higher accuracy in the classification of all cooking time classes, except for the CT4C variable (QST), in the NoCook and 25 min classes (Figure 7). On the other hand, sensitivity varied among classes, with the KNN model performing better in the classification of multi-class variables (> 0.50, NIRFlex, and > 0.20 QST). For the PLS model, values close to zero were found for cooking times from 20 to 40 min for the CT6C variable (QST). This result indicates a lack of correct classification of true positives (samples that are cooking). For both instruments, specificity was higher than sensitivity (> 0.75), except for the category of samples that did not cook (Figure 7).

Figure 7
www.frontiersin.org

Figure 7 Parameters associated with the efficiency of cassava root classification models (accuracy, sensitivity, and specificity per class) in the external validation population, considering multiclass variables CT4C and CT6C based on near-infrared spectroscopy (NIR) spectra collected using NIRFlex N-500 (NIRFlex) and QualitySpec® Trek (QST) instruments.

Based on the analysis of the confusion matrix, the outcomes of classification by various models in the external validation set revealed a notable efficiency in categorizing clones that were not cooked, with accuracy percentages ranging from 77 to 95% (Figures 811) for both NIRS devices. However, divergences surfaced when it came to predicting which class of clones actually underwent cooking. In the case of QST, the KNN model displayed the highest accuracy percentages, ranging from 34% (CT40m) to 69% (CT20m), while the PLS model exhibited a narrower range, ranging from 25% (CT15m) to 36% (CT20m) (Figure 8). The accuracy percentages for NIRFlex were comparatively higher, ranging from 57% (CT30m) to 92% (CT15m) for the KNN model. The PLS model showed comparable values, hovering around 46% for all binary variables (Figure 9). Overall, the KNN model consistently outperformed the PLS model for the binary variables.

Figure 8
www.frontiersin.org

Figure 8 Confusion matrix of the external validation set considering classification models based on near-infrared spectroscopy by the QualitySpec® Trek (QST) instrument, evaluated on cassava roots considering binary variables of cooking time CT15m, CT20m, CT25m, CT30m, and CT40m. KNN, k-nearest neighbor algorithm; PLS, partial least squares.

Figure 9
www.frontiersin.org

Figure 9 Confusion matrix of the external validation set, showcasing classification models based on near-infrared spectroscopy using the NIRFlex N-500 (NIRFlex) instrument, evaluated for cassava roots with binary variables of cooking time (CT15m, CT20m, CT25m, CT30m, and CT40m). KNN, k-nearest neighbor algorithm; PLS, partial least squares.

Figure 10
www.frontiersin.org

Figure 10 Confusion matrix of the external validation set, illustrating classification models based on near-infrared spectroscopy by the NIRFlex N-500 (NIRFlex) and QualitySpec® Trek (QST) instruments, evaluated for cassava roots considering multiclass variables of cooking time with 4 classes (CT4C). KNN, k-nearest neighbor algorithm; PLS, partial least squares.

The multiclass variables CT4C and CT6C have comparable accuracy for identifying clones that do not undergo cooking for both NIR instruments. However, notable distinctions emerged among the models (Figures 11, 9). The PLS model showed greater accuracy, ranging from 83% (CT4C, QST) to 96% (CT6C, QST) compared to the KNN model, which exhibited a range between 67% (CT6C, QST) and 73% (CT6C, NIRFlex) for clones that do not undergo cooking (Figures 10, 11).

Figure 11
www.frontiersin.org

Figure 11 Confusion matrix of the external validation set, illustrating classification models based on near-infrared spectroscopy by the NIRFlex N-500 (NIRFlex) and QualitySpec® Trek (QST) instruments, evaluated for cassava roots considering multiclass variables of cooking time with 6 classes (CT6C). KNN, k-nearest neighbor algorithm; PLS, partial least squares.

For clones cooked within 15 to 40-minute range, the KNN model (accuracy ranging from 15 to 73% in QST and 50 to 73% in NIRFlex) outperforming the PLS model (accuracy ranging from 0 to 27% in QST and 5 to 31% in NIRFlex) regardless of the number of multiclasses (Figures 10, 11). When evaluating the performance of NIR instruments for the KNN model, the overall accuracy for classifying clones cooking up to 15 minutes was similar, with substantial differences between variables. The accuracy was higher when the data was divided into four classes (CT4C, 71%) compared to six classes (CT6C, 57%). The CT4C and CT6C classifications perform similarly for the KNN model for cooking times ranging from 20 to 40 minutes, with a noticeable differences between instruments. NIRFlex demonstrated higher accuracy ranging from 50% (25 minutes) to 73% (40 minutes), compared to QST, which ranged from 15% (20 minutes) to 36% (40 minutes). Overall, the most effective classification scenario was observed using NIRFlex, especially when the KNN model was applied on variables with fewer classes, like CT4C.

4 Discussion

5.1 Cooking time as a key characteristic for the selection of new sweet cultivars

In many countries in Latin America and the Caribbean, the most common form of consuming cassava is in the boiled root form. Characteristics such as root cooking time, associated with culinary quality and low cyanogenic potential (HCN), are crucial for end-user consumer acceptance (Bechoff et al., 2017; Ceballos et al., 2017) and attributes such as short cooking time become a priority over other agronomic and even nutritional characteristics. In recent years, cassava biofortification programs have prioritized boosting nutrient content, relegating cooking quality as a secondary trait (Ceballos et al., 2017). As a result, only a few clones with high carotenoid content, low HCN levels, and acceptable cooking quality have been obtained. This underscores the ongoing need for sustained efforts in crossbreeding to increase the number of segregating materials that align with consumer preferences in Latin America and the Caribbean (Ceballos et al., 2017).

Cooking time is difficult to measure. Conventional methods such as simple fork test or the use of penetrometers to measure root texture are time-consuming (around 60 minutes per sample) and labor-intensive, limiting the number of samples evaluated daily. Additionally, direct measurement of cooking time or texture requires a well-trained team with standardized protocols. Cassava breeding programs are actively exploring more efficient methods for assessing the cooking quality of cassava roots (Tran et al., 2021). One such method is the percentage of water absorption (WAB) during boiling, calculated by the ratio of initial root weight to the weight after boiling. WAB correlates indirectly with cooking ability, where a higher WAB percentage associates with shorter cooking times (Beleia et al., 2004; Kouadio et al., 2011; Tran et al., 2021). Using this method, Tran et al. (2021) evaluated 36 cassava genotypes and proposed two promising protocols for predicting cooking time based on water absorption and changes in relative density. These protocols are simple, objective, and up to 100 samples can be processed daily per operator. However, further tests are necessary to compare these methods and confirm their reliability across a broader range of genotypes.

NIRS is gaining popularity as a tool for evaluating food quality. In potatoes, image analysis was successfully in differentiating between cooked and uncooked parts, and spectral data has enabled development of a model for predicting ideal cooking times with less than 10% relative error (Trong et al., 2011). This methodology was recently applied to predict the water absorption percentage (WAB) and texture (area) of fresh root samples in cassava. However, the obtained R2 values (coefficient of determination) were low, ranging from 0.51 to 0.53, respectively (Meghar et al., 2023). Therefore, a standardized model based on spectral and hyperspectral imaging (HSI) for predicting WAB and, consequently, cooking time in cassava data is yet to be established.

Regardless of the methodology used, the maximum cooking time for cassava roots needs to be no more than 30 minutes to enhance the likelihood of new sweet cultivars being adopted in Brazil (Fukuda et al., 2002). In this study, 36% (N=319) of the evaluated genotypes could be cooked in at least one environment within 30 minutes. However, 85 genotypes (six five traditional cultivars, 53 local varieties, and 26 new genotypes from the breeding program) exhibited notable cooking potential within 15 minutes. Indeed, previous studies had already demonstrated the short cooking time of the cultivars BRS Gema de Ovo (13 minutes) and BRS Dourada (15 minutes) (Gerino-Teixeira et al., 2017).

Many factors, including environmental conditions at harvest, precipitation, soil fertility, and cultural practices could influence cooking time of cassava roots and lead to changes in the root’s chemical composition. Roots from the same plant, plants of the same variety, and different genotypes can all have different effects (Oliveira and Moraes, 2009; Reis et al., 2021; Silveira et al., 2021; Santos et al., 2022). Other factors such as the procedures and utensils used for root cooking could also affect the cooking time of clones. Talma et al. (2013) reported average cooking times of 19 and 26 minutes for the BRS Gema de Ovo and Eucalipto clones, respectively, while in the study by Santos et al. (2022), this average cooking time was 26 and 23 minutes, respectively. According to Silveira et al. (2021), different phosphorus doses (between 120 and 240 kg ha-1 de P2O5) increased starch content and reduced cooking time for sweet cassava roots. Besides these external factors, harvest age could also influences cooking time, with earlier-harvested plants showing better cooking ability (Oliveira and Moraes, 2009).

In our study, we examined how environmental factors influenced the performance of different genotypes across various trials (Supplementary Table S2). We focused on a group of 20 genotypes evaluated in 3 to 13 trials, each genotype showing cooking capability in at least one trial. In most trials, these genotypes consistently cooked within an average time of 30 minutes or less. However, there were instances where certain genotypes did not cook within the expected time frame in at least one trial. Typically, the harvest and evaluation period span approximately three months (June to August), encompassing the winter and spring seasons when average precipitation tends to be higher. The trials were conducted across four different cities with varying altitudes. Supplementary Table S2 illustrates that trials where genotypes did not cook as expected were predominantly located in Laje-BA and Sátiro Dias-BA. These locations experienced environmental conditions during the harvest period that did not facilitate the cooking of roots within 40 minutes.

5.2 Efficiency of NIR spectroscopy for cooking time classification

The application of NIR spectroscopy to address food classification and plant species has been reported in the literature (Cozzolino et al., 2012; Jadhav et al., 2019; Sousa et al., 2023). In cassava, spectral data collected from root samples, processed dry leaves, and seeds have been used to develop models with high accuracy for the indirect and early classification of genotypes based on starch type (waxy and non-waxy) (Carmo et al., 2019; Sousa et al., 2023). In this study, the classification accuracy for cassava cooking time for binary variables was notably high (RCal2 ranging from 0.72 to 0.99), showcasing the potential of NIR spectroscopy for classifying cassava clones based on their cooking time. A number of studies have been carried out to predict cooking time in various food crops (Nie et al., 2012; Cichy et al., 2015; Thanathornvarakul et al., 2016; Wafula et al., 2020, 2021). Predictive models based on NIR spectroscopy were developed to forecast cooking time in rice (calibration R2≥ 0.81 and validation R2≥ 0.87) (Thanathornvarakul et al., 2016). With an R2 value of 0.73, the prediction accuracy for cooking time in bean was deemed moderate (Wafula et al., 2021). To the best of our knowledge, this study stands as a pioneering attempt to classify cassava genotypes based on their root cooking time using NIRS spectroscopy. A noteworthy challenge in our dataset lies in its significant class imbalance, where the number of samples varies considerably across different classes. This imbalance can profoundly influence the classification outcomes. To mitigate this issue, we applied the random oversampling technique to the class with the smaller number of samples (those that cook) to achieve a balanced distribution between classes (Johnson and Khoshgoftaar, 2019). This technique is commonly employed in classification problems (Haixiang et al., 2017).

The random oversampling technique has proven effective in addressing imbalances in classification problems involving machine learning and deep learning algorithms, especially in datasets with genotoxicity information and class imbalance (Bae et al., 2021). Random oversampling is comparable to other methods such as synthetic minority oversampling technique (SMOTE), random undersampling, and sample weighting (Chawla et al., 2002; Bae et al., 2021). Hence, the thoughtful combination of machine learning algorithms and data balancing methods is crucial for developing accurate classification models.

The PLS and KNN algorithms have been widely and successfully used for classification analysis (Wafula et al., 2020, 2021; Ye et al., 2022; Meghar et al., 2023; Sousa et al., 2023). In this study, the KNN model demonstrated the most robust classification performance, with accuracies ranging from 0.72 to 0.99 for binary variables and 0.86 to 0.99 for multiclass variables. The extensive dataset under evaluation, combined with the discriminative ability between classes using Euclidean distance, might have contributed to the efficiency of the KNN algorithm. Literature provides ample evidence of KNN effectiveness for multiclass classification (Jadhav et al., 2019). The KNN model showed an accuracy of 83.6% in differentiating between rust, brown spot, frog eye leaf spot, and healthy samples in a study classifying four foliar diseases in soybeans (Jadhav et al., 2019).

The possibility of using NIRS to determine the cooking quality of cassavas roots has been studied (Meghar et al., 2023; Namakula et al., 2023). Namakula et al. (2023) assessed root softness using a penetrometer, a trait significantly influencing cooking time. However, predictions via NIRS were rated as low to moderate, indicating that softness, a force-measured physical parameter, did not correlate well with NIRS spectra (Namakula et al., 2023). A recent study evaluated the potential of near-infrared hyperspectral imaging, which combines NIRS spectroscopy with digital images, in a panel of 31 cassava genotypes to predict cooking quality parameters, dry matter content, water absorption, and texture (Meghar et al., 2023). However, hyperspectral imaging was effective only in predicting dry matter content, indicating a need for protocol improvements and a larger dataset for root texture and water absorption characteristics. In the current study, spectral data were collected from processed fresh root samples, ensuring sample homogenization and avoiding potential spatial distribution variations of organic compounds in the samples of interest. This enabled efficient, high-throughput phenotyping via NIRS for measuring one of the most critical traits in improving sweet cassava.

5.3 Binary vs. multiclass classification for cooking time

The classification of genotypes based on cooking time was carried out by considering the variables as both binary and multiclass. Binarization techniques are often developed to address multiclass situations by breaking down the original problem into a binary classification system, simplifying its resolution (Galar et al., 2011). In addition to analyzing the cooking capacity for all (CTC6) or part (CT4C) of the cooking times, we divided the original dataset into subsets of two classes (cooked and uncooked samples) and we calibrate a binary model for each cooking time.

One challenge in multiclass classification is that some algorithms such as logistic regression or support vector machines are only intended for binary classification. To overcome this issue, the KNN and PLS models implemented in the R package Caret (Kuhn et al., 2008), which employ the “one-vs-all” strategy was used. In this strategy, a binary classifier is trained for each class, where the positive class is the target class, and the negative class comprises the rest of the classes. In other words, the multiclass variable is treated as a binary variable (Allwein et al., 2000). However, this strategy introduces a higher imbalance between the class being evaluated and the “rest” class, which includes all samples from the other classes.

The findings of this study underscore the benefits and effectiveness of using binary variables to classify cassava genotypes based on cooking time. When considering accuracy between cooking classes, even with the same model and NIR equipment, multiclass variables showed lower variation (50% to 71% for CT4C and 57% to 73% for CT6C) compared to binary variables. In terms of the accuracy of samples that did not cook, the values were 70% and 73%, respectively, for CT4C and CT6C. Despite the increased number of variables, requiring the evaluation of each binary variable individually, binary classification remains more efficient, offering higher classification accuracy for samples and enabling the selection of the most relevant characteristics or variables, such as cooking time ≤ 30 minutes.

The accuracy of the optimal scenario for classifying samples with a cooking time of 30 minutes reached. and RVal2=0.84, with a Kappa value of 0.53. Consequently, it is advised to segregate samples using the NIRS-based classification model for cooking capacity within 30 minutes. This approach enables the assessment of a larger pool of genotypes concerning attributes associated with root quality. Consequently, it facilitates the identification of new sweet cassava varieties possessing pivotal agronomic traits, including high fresh root yield, compatibility with mechanized or semi-mechanized cultivation methods, and resilience against pests and diseases prevalent in the crop.

5 Conclusions

This study has demonstrated the potential of using NIRS in conjunction with machine learning techniques to phenotype and classify cassava genotypes based on cooking time. Overall, accuracies ranging from 86% to 99% were achieved for cooking times not greater than thirty minutes. The optimal conditions for developing accurate classification models were given by the K-nearest neighbors (KNN) algorithm analysis of the spectra from the benchtop NIRS equipment NIRFlex, especially when associated with the classification of cooking capacity in binary variables. These findings underscore the potential of NIRS-based phenotyping in enhancing the efficiency of cassava breeding programs, offering a rapid and reliable method for assessing an essential quality trait like cooking time. NIRS phenotyping could be a cost-effective, less labor-intensive, and high-throughput option, that could not only enable processing hundreds of samples per day, but also help reduce phenotyping errors that are commonly associated with conventional methodologies, especially in scenarios where a well-trained team may be lacking, as observed in the “fork test”.

Data availability statement

The original contributions presented in the study are included in the article/Supplementary Material. Further inquiries can be directed to the corresponding author.

Author contributions

MB: Conceptualization, Data curation, Formal Analysis, Writing – original draft. CM: Data curation, Methodology, Writing – review & editing. EM: Writing – review & editing. CE: Funding acquisition, Project administration, Writing – review & editing. EO: Conceptualization, Funding acquisition, Project administration, Supervision, Writing – review & editing.

Funding

The author(s) declare financial support was received for the research, authorship, and/or publication of this article. MS: Empresa Brasileira de Pesquisa Agropecuária, Grant number: 20.18.01.012.00.00; EO: CNPq (Conselho Nacional de Desenvolvimento Científico e Tecnológico), Grant number: 409229/2018–0, 442050/2019–4 and 303912/2018–9; FAPESB (Fundação de Amparo à Pesquisa do Estado da Bahia), Grant number: Pronem 15/2014; Syngenta Foundation for Sustainble Agriculture (SFSA). Grant: 1020019/0051–9. This work was partially funded by UK’s Foreign, Commonwealth & Development Office (FCDO) and the Bill & Melinda Gates Foundation, Grant INV-007637. Under the grant conditions of the Foundation, a Creative Commons Attribution 4.0 Generic License has already been assigned to the Author Accepted Manuscript version that might arise from this submission. The funder provided support in the form of fellowship and funds for the research, but did not have any additional role in the study design, data collection and analysis, decision to publish, nor preparation of the manuscript.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fpls.2024.1411772/full#supplementary-material

References

Agelet, L. E., Hurburgh, C. R., Jr. (2014). Limitations and current applications of near infrared spectroscopy for single seed analysis. Talanta 121, 288–299. doi: 10.1016/j.talanta.2013.12.038

PubMed Abstract | CrossRef Full Text | Google Scholar

Allwein, E. L., Schapire, R. E., Singer, Y. (2000). Reducing multiclass to binary: A unifying approach for margin classifiers. J. Mach. Learn. Res. 1, 113–141. doi: 10.1162/15324430152733133

CrossRef Full Text | Google Scholar

Bae, S.-Y., Lee, J., Jeong, J., Lim, C., Choi, J. (2021). Effective data-balancing methods for class-imbalanced genotoxicity datasets using machine learning algorithms and molecular fingerprints. Comput. Toxicol. 20. doi: 10.1016/j.comtox.2021.100178

CrossRef Full Text | Google Scholar

Bala, A., Gul, K., Riar, C. S. (2015). Fuctional ad sensory properties of cookies prepared from wheat flour supplemented with cassava and water chestnut flours. Cogent Food Agric. 1, 1–7. doi: 10.1080/23311932.2015.1019815

CrossRef Full Text | Google Scholar

Bates, D., Maechler, M., Bolker, B., Walker, S. (2015). lme4: Linear Mixed-Effects Models Using Eigen and S4. Rpackage version 1.1-10. Available online at: http://cran.r-project.org/package=lme4.

Google Scholar

Bechoff, A., Taleon, V., Carvalho, L. M. J., Carvalho, J. L. V., Boy, E. (2017). Micronutrient (provitamin A and iron/zinc) retention in biofortified crops. Afr. J. Food Agric. Nutr. Dev. 17, 11893–11904. doi: 10.18697/ajfand.78.HarvestPlus04

CrossRef Full Text | Google Scholar

Beleia, A., Butarelo, S. S., Silva, R. S. F. (2006). Modeling of starch gelatinization during cooking of cassava (Manihot esculenta Crantz). LWT - Food Sci. Technol. 39, 399–404. doi: 10.1016/j.lwt.2005.02.021

CrossRef Full Text | Google Scholar

Beleia, A., Prudencio-Ferreira, S. H., Yamashita, F., Sakamoto, T. M., Ito, L. (2004). Sensory and instrumental texture analysis of cassava (Maninhot esculenta Crantz) roots. J. Texture Stud. 35, 542–553. doi: 10.1111/j.1745-4603.2004.35505.x

CrossRef Full Text | Google Scholar

Butarelo, S. S., Beleia, A., Fonseca, I. C. B., Ito, K. C. (2004). Hidratação de tecidos de raízes de mandioca (Manihot esculenta Crantz.) e gelatinização do amido durante a cocção. Food Sci. Technol. 24, 311–315. doi: 10.1590/S0101-20612004000300001

CrossRef Full Text | Google Scholar

Carmo, C. D., Sousa, M. B., dos Santos Pereira, J. C. H., de Oliveira, E. J. (2019). Identification of waxy cassava genotypes using Fourier-transform NearInfrared spectroscopy. Crop Sci. 60, 883–895. doi: 10.1002/csc2.20102

CrossRef Full Text | Google Scholar

Ceballos, H., Davrieux, F., Talsma, E. F., Belalcazar, J., Chavarriaga, P., Andersson, M. S. (2017). “Carotenoids in cassava roots,” in Carotenoids (London: InTech). doi: 10.5772/intechopen.68279

CrossRef Full Text | Google Scholar

Ceballos, H., Iglesias, C. A., Pérez, J. C., Dixon, A. G. (2004). Cassava breeding: Opportunities and challenges. Plant Mol. Biol. 56, 503–516. doi: 10.1007/s11103-004-5010-5

PubMed Abstract | CrossRef Full Text | Google Scholar

Charoenkul, N., Uttapap, D., Pathipanawat, W., Takeda, Y. (2011). Physicochemical characteristics of starches and flours from cassava varieties having different cooked root textures. LWT - Food Sci. Technol. 44, 17741781. doi: 10.1016/j.lwt.2011.03.009

CrossRef Full Text | Google Scholar

Chawla, N., Hall, L., Bowyer, K., Kegelmeyer, W. (2002). SMOTE: Synthetic minority over-sampling technique. Artif. Intell. 16, 321–357. doi: 10.1613/jair.953

CrossRef Full Text | Google Scholar

Chiwona-Karltun, L., Nyirenda, D., Mwansa, C. N., Kongor, J. E., Brimer, L., Haggblade, S., et al. (2015). Farmer preference, utilization, and biochemical composition of improved Cassava (Manihot esculenta Crantz) varieties in Southeastern Africa. Econ. Bot. 69, 42–56. doi: 10.1007/s12231-015-9298-7

CrossRef Full Text | Google Scholar

Cichy, K. A., Wiesinger, J. A., Mendoza, F. A. (2015). Genetic diversity and genome−wide association analysis of cooking time in dry bean (Phaseolus vulgaris L.). Theor. Appl. Genet. 128, 1555–1567. doi: 10.1007/s00122-015-2531-z

PubMed Abstract | CrossRef Full Text | Google Scholar

Cohen, J. (1960). A coefficient of agreement for nominal scales. Educ. psychol. Measurement 20, 37–46. doi: 10.1177/001316446002000104

CrossRef Full Text | Google Scholar

Cozzolino, D., Cynkar, W., Shah, N., Smith, P. (2012). Varietal differentiation of grape juice based on the analysis of near-and mid-infrared spectral data. Food Ann. Methods 5, 381–387. doi: 10.1007/s12161-011-9249-6

CrossRef Full Text | Google Scholar

Fukuda, W. M. G., Silva, S. O., Iglesias, C. (2002). Cassava breeding. Crop Breed. Appl. Biotechnol. 2, 617–638. doi: 10.12702/1984-7033.v02n04a18

CrossRef Full Text | Google Scholar

Galar, M., Fernández, A., Barrenechea, E., Bustince, H., Herrera, F. (2011). An overview of ensemble methods for binary classifiers in multi-class problems: Experimental study on one-vs-one and one-vs-all schemes. Pattern Recognit. 44, 1761–1776. doi: 10.1016/j.patcog.2011.01.017

CrossRef Full Text | Google Scholar

Gerino-Teixeira, P. R., Silveira-Viana, A. E., Dias-Cardoso, A., Pereira-Moreira, G. L., Matsumoto, S. N., Silva-Ramos, P. A. (2017). Physical-chemical characteristics of sweet cassava varieties. Rev. Bras. Ciências Agrárias 12, 158–165. doi: 10.5039/agraria.v12i2a5433

CrossRef Full Text | Google Scholar

Haixiang, G., Yijing, L., Shang, J., Mingyun, G., Yuanyue, H., Bing, G. (2017). Learning from class-imbalanced data: Review of methods and applications. Expert Syst. Appl. 73, 220–239. doi: 10.1016/j.eswa.2016.12.035

CrossRef Full Text | Google Scholar

Hongbété, F., Mestres, C., Akissoé, H. N., Pons, B., Hounhouigan, D. J., Cornet, D., et al. (2011). Effects of cultivar and harvesting conditions (age, season) on the texture and taste of boiled cassava roots. Food Chem. 126, 127–133. doi: 10.1016/j.foodchem.2010.10.088

CrossRef Full Text | Google Scholar

Ikeogu, U. N., Davrieux, F., Dufour, D., Ceballos, H., Egesi, C. N., Jannink, J. L. (2017). Rapid analyses of dry matter content and carotenoids in fresh cassava roots using a portable visible and near infrared spectrometer (Vis/NIRS). PloS One 12, e0188918. doi: 10.1371/journal.pone.0188918

PubMed Abstract | CrossRef Full Text | Google Scholar

Iragaba, P., Nuwamanya, E., Wembabazi, E., Baguma, Y., Dufour, .D, Earle, E. D., et al. (2019). Estimates for heritability and consumer-validation of a penetrometer method for phenotyping softness of cooked cassava roots. Afr. Crop Sci. J. 27, 147–163. doi: 10.4314/acsj.v27i2.3

CrossRef Full Text | Google Scholar

Jackson, G. M., Varriano-Marston, E. (1981). Hard-to-cook phenomenon in beans: Effects of accelerated storage on water absorption and cooking time. J. Food Sci. 46, 799–803. doi: 10.1111/j.1365-2621.1981.tb15351.x

CrossRef Full Text | Google Scholar

Jadhav, S. B., Udupi, V. R., Patil, S. B. (2019). Soybean leaf disease detection and severity measurement using multiclass SVM and KNN classifier. Int. J. Electrical Comput. Eng. (IJECE) 9, 4077~4091. doi: 10.11591/ijece.v9i5.pp4077-4091

CrossRef Full Text | Google Scholar

Johnson, J. M., Khoshgoftaar, T. M. (2019). “Deep learning and data sampling with imbalanced big data,” in 2019 IEEE 20th International Conference on Information Reuse and Integration for Data Science (IRI), (Los Angeles, CA, USA), 175-183. doi: 10.1109/iri.2019.00038

CrossRef Full Text | Google Scholar

Kassambara, A., Mundt, F. (2020). Factoextra: Extract and Visualize the Results of Multivariate Data Analyses. R Package Version 1.0.7. Available online at: https://CRAN.R-project.org/package=factoextra.

Google Scholar

Kouadio, K. O., Nindjin, C., Bonfoh, B., N’dri, D., Amani, G. N. (2011). Water absorption as an evaluation method of cooking quality for yam (Dioscorea alata) and cassava (Manihot esculenta Crantz). Proc. Food Sci. 1, 153–159. doi: 10.1016/j.profoo.2011.09.024

CrossRef Full Text | Google Scholar

Kuhn, M. (2008). Building predictive models in R using the caret package. J. Stat. Softw. 28, 1–26. doi: 10.18637/jss.v028.i05

PubMed Abstract | CrossRef Full Text | Google Scholar

Manley, M. (2014). Near-infrared spectroscopy and hyperspectral imaging: non-destructive analysis of biological materials. Chem. Soc Rev. 43, 8200–8214. doi: 10.1039/C4CS00062E

PubMed Abstract | CrossRef Full Text | Google Scholar

Mattson, S. (1946). The cookability of yellow peas: a colloidchemical and biochemical study. Acta Agriculturae Scand. 2, 185–231.

Google Scholar

Meghar, K., Tran, T., Delgado, L. F., Ospina, M. A., Moreno, J. L., Luna, J., et al. (2023). Hyperspectral imaging for the determination of relevant cooking quality traits of boiled cassava. J. Sci. Food Agric 104 (8), 4782–4792. doi: 10.1002/jsfa.12654

PubMed Abstract | CrossRef Full Text | Google Scholar

Mendoza, F. A., Cichy, K. A., Sprague, C., Goffnett, A., Lu, R., Kelly, J. D. (2018). Prediction of canned black bean texture (Phaseolus vulgaris L.) from intact dry seeds using visible/near infrared spectroscopy and hyperspectral imaging data. J. Sci. Food Agric. 98, 283–290. doi: 10.1002/jsfa.8469

PubMed Abstract | CrossRef Full Text | Google Scholar

Miranda, L. A., Beleia, A. P., Fonseca-Junior, N. (2008). Cassava cooking time. Gene Conserve 7, 489496.

Google Scholar

Moreto, A. L., Neubert, E. O. (2014). Avaliação de produtividade e cozimento de cultivares de mandioca de mesa (aipim) em diferentes épocas de colheita. Rev. Agropecuária Catarinense 27, 59–65.

Google Scholar

Mucherino, A., Papajorgji, P. J., Pardalos, P. M. (2009). “k-nearest neighbor classification,” in Data Mining in Agriculture. Springer Optimization and Its Applications, vol. 34. (Springer, New York, NY). doi: 10.1007/978-0-387-88615-2_4

CrossRef Full Text | Google Scholar

Namakula, B. F., Nuwamanya, E., Kanaabi, M., Gibson, P., Wembabazi, E., Paula, I., et al. (2023). NIRS predictions, phenotypic variability and optimization of cooking time for evaluation of the root softness of boiled cassava. Uganda J. Agric. Sci. 21, 41–53. doi: 10.4314/ujas.v21i2.4

CrossRef Full Text | Google Scholar

Nie, P., Wu, D., Yang, Y., He, Y. (2012). Fast determination of boiling time of yardlong bean using visible and near infrared spectroscopy and chemometrics. J. Food Eng. 109, 155–161. doi: 10.1016/j.jfoodeng.2011.09.018

CrossRef Full Text | Google Scholar

Oliveira, M. A., Moraes, P. S. B. (2009). Características físicoquímicas, cozimento e produtividade de mandioca cultivar IAC 576-70 em diferentes épocas de colheita. Ciec. e Agrotecnologia 33, 837–843. doi: 10.1590/S1413-70542009000300024

CrossRef Full Text | Google Scholar

Pasquini, C. (2018). Near infrared spectroscopy: A mature analytical technique with new perspectives: a review. Analytica Chim. Acta 1026, 8–36. doi: 10.1016/j.aca.2018.04.004

CrossRef Full Text | Google Scholar

Pedri, E. C. M., Rossi, A. A. B., Cardoso, E. S., Tiago, A. V., Hoogerheide, E. S. S., Yamashita, O. M. (2018). Morphological characteristics and culinary quality of cassava ethnovarieties at different harvesting times. Braz. J. Food Technol. 21, e2018073. doi: 10.1590/1981-6723.07318

CrossRef Full Text | Google Scholar

R Core Team (2023). R: A language and environment for statistical computing (Vienna, Austria: R Foundation for Statistical Computing). Available at: https://www.R-project.org/.

Google Scholar

Reis, R. C., de Oliveira, L. A., Almeida, J. M., Jesus-Neta, P., Santos, F. D., Santos, V. d. F., et al. (2021). Culinary quality and sensory profile of cassava varieties harvested at different ages. Semina: Ciências Agrárias 42, 657–678. doi: 10.5433/1679-0359.2021v42n2p657

CrossRef Full Text | Google Scholar

Rosado, L. R., Takarada, L. M., Araújo, A. C. C., Souza, K. R. D., Hein, P. R. G., Rosado, S. C. S., et al. (2019). Near infrared spectroscopy: rapid and accurate analytical tool for prediction of non-structural carbohydrates in wood. Cerne 25, 84–92. doi: 10.1590/01047760201925012614

CrossRef Full Text | Google Scholar

Saeys, M., do Tronga, N. N., Beersa, R. V., Nicolaï, B. M. (2019). Multivariate calibration of spectroscopic sensors for postharvest quality evaluation: a review. Postharvest Biol. Technol. 158, 1–19. doi: 10.1016/j.postharvbio.2019.110981

CrossRef Full Text | Google Scholar

Santos, V. d. S., dos Santos, M. L. M., Sasaki, F. F. C., de Oliveira, L. A., Ledo, C.A. d. S. (2022). Agronomic characteristics, cooking, and postharvest conservation for selecting sweet cassava clones. Rev. Caatinga 35, 730–738. doi: 10.1590/1983-21252022v35n324rc

CrossRef Full Text | Google Scholar

Savitzky, A., Golay, M. J. E. (1964). Smoothing and differentiation of data by simplified least squares procedures. Analytical Chem. 36, 1627–1639. doi: 10.1021/ac60214a047

CrossRef Full Text | Google Scholar

Silveira, F. P. M., Lopes, W. A. R., Oliveira, P. R. H., Lima, F. L. S., Silveira, L. M., Barros Júnior, A. P. (2021). Quality of sweet cassava roots fertilized with phosphorus. Rev. Caatinga 34, 965–975. doi: 10.1590/1983-21252021v34n424rc

CrossRef Full Text | Google Scholar

Sousa, M. B., Sampaio-Filho, J. S., de Andrade, L. R. B., Oliveira, E. J. (2023). Near-infrared spectroscopy for early selection of waxy cassava clones via seed analysis. Front. Plant Sci. 14. doi: 10.3389/fpls.2023.1089759

CrossRef Full Text | Google Scholar

Souza, L. D., Souza, L. S., Gomes, J. C. (2006). “Exigências edáficas da cultura da mandioca,” in Aspectos Socioeconômicos e Agronômicos da Mandioca. Eds. Souza, L. S., Farias, A. R. N., Mattos, P. L. P., Fukuda, W. M. G. (Embrapa Mandioca e Fruticultura Tropical, Cruz das Almas), 70–214.

Google Scholar

Souza, L. S., Alves, A. A. C., Oliveira, E. J. (2020). Phenological diversity of flowering and fruiting in cassava germplasm. Scientia Horticulturae 2665, 109253.

Google Scholar

Stevens, A., Ramirez-Lopez, L. (2022). “An introduction to the prospectr package,” in R Package Vignette. R Package Version 0.2.6.

Google Scholar

Talma, S. V., Almeida, S. B., Lima, R. M. P., Vieira, H. D., Berbert, P. A. (2013). Tempo de cozimento e textura de raízes de mandioca. Braz. J. Food Technol. 16, 133–138. doi: 10.1590/S198167232013005000016

CrossRef Full Text | Google Scholar

Thanathornvarakul, N., Anuntagool, J., Tananuwong, K. (2016). Aging of low and high amylose rice at elevated temperature: Mechanism and predictive modelling. J. Cereal Sci. 70, 155–163. doi: 10.1016/j.jcs.2016.06.004

CrossRef Full Text | Google Scholar

Tran, T., Zhang, X., Ceballos, H., Moreno, J. L., Luna, J., Escobar, A., et al. (2021). Correlation of cooking time with water absorption and changes in relative density during boiling of cassava roots. Int. J. Food Sci. Techno. 56, 1193–1205. doi: 10.1111/ijfs.14769

CrossRef Full Text | Google Scholar

Trong, N., Tsuta, M., Nicolaï, B., De Baerdemaeker, J., Saeys, W. (2011). Prediction of optimal cooking time for boiled potatoes by hyperspectral imaging. J. Food Eng. 105, 617–624. doi: 10.1016/j.jfoodeng.2011.03.031

CrossRef Full Text | Google Scholar

Vieira, E. A., Fialho, J. F., Julio, L., Carvalho, L. J. C. B., Corte, J. L. D., Rinaldi, M. M., et al. (2018). Sweet cassava cultivars with yellow or cream root pulp developed by participatory breeding. Crop Breed. Appl. Biotechnol. 18, 450–454. doi: 10.1590/1984-70332018v18n4c67

CrossRef Full Text | Google Scholar

Wafula, E. N., Wainaina, I. N., Buve, C., Kinyanjui, P. K., Saeys, W., Sila, D. N., et al. (2021). Prediction of cooking times of freshly harvested common beans and their susceptibility to develop the hard-to-cook defect using near infrared spectroscopy. J. Food Eng. 298, 110495. doi: 10.1016/j.jfoodeng.2021.110495

CrossRef Full Text | Google Scholar

Wafula, E. N., Wainaina, I. N., Buve, C., Nguyen, N. D., Kinyanjui, P. K., Saeys, W., et al. (2020). Application of near-infrared spectroscopy to predict the cooking times of aged common beans (Phaseolus vulgaris L.). J. Food Eng. 284. doi: 10.1016/j.jfoodeng.2020.110056

CrossRef Full Text | Google Scholar

Wheatly, C. C., Chuzel, G., Zakhia, N. (2003). “CASSAVA the nature of the tuber,” in Encyclopedia of Food Sciences and Nutrition, (San Diego: Academic Press), 964–969. doi: 10.1016/b0-12-227055-x/00181-4

CrossRef Full Text | Google Scholar

Ye, N., Zhong, S., Fang, Z., Gao, H., Du, Z., Chen, H., et al. (2022). Performance improvement of NIRS spectral pattern recognition from three compensation models’ voting and multi-modal fusion. Molecules 27, 4485. doi: 10.3390/molecules27144485

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: Manihot esculenta Crantz, classification models, portable NIR, accuracy, root quality

Citation: Bandeira e Sousa M, Morales CFG, Mbanjo EGN, Egesi C and Oliveira EJd (2024) Near infrared spectroscopy for cooking time classification of cassava genotypes. Front. Plant Sci. 15:1411772. doi: 10.3389/fpls.2024.1411772

Received: 03 April 2024; Accepted: 27 June 2024;
Published: 12 July 2024.

Edited by:

Leonardo Velasco, Spanish National Research Council (CSIC), Spain

Reviewed by:

João Ricardo Bachega Feijó Rosa, RB Genetics & Statistics Consulting, Brazil
Leung Tang, Agilent Technologies, United Kingdom

Copyright © 2024 Bandeira e Sousa, Morales, Mbanjo, Egesi and Oliveira. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Eder Jorge de Oliveira, eder.oliveira@embrapa.br

ORCID: Massaine Bandeira e Sousa, orcid.org/0000-0001-7887-9543
Cinara Fernanda Garcia Morales, orcid.org/0000-0001-7728-0619
Edwige Gaby Nkouaya Mbanjo, orcid.org/0000-0002-9982-1137
Chiedozie Egesi, orcid.org/0000-0002-9063-2727
Eder Jorge de Oliveira, orcid.org/0000-0001-8992-7459

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.