Next Article in Journal
Statistical Analysis of the Air-Cooling Process in a Cowshed
Previous Article in Journal
Artificial Intelligence-Based Fault Diagnosis and Prediction for Smart Farm Information and Communication Technology Equipment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Evaluation of the Use of Machine Learning to Predict Selected Mechanical Properties of Red Currant Fruit (Ribes rubrum L.) Ozonized during Storage

1
Department of Food and Agriculture Production Engineering, University of Rzeszow, St. Zelwerowicza 4, 35-601 Rzeszow, Poland
2
Institute of Agricultural Engineering, Wroclaw University of Environmental and Life Sciences, 37b Chelmonskiego Street, 51-630 Wroclaw, Poland
*
Author to whom correspondence should be addressed.
Agriculture 2023, 13(11), 2125; https://doi.org/10.3390/agriculture13112125
Submission received: 5 October 2023 / Revised: 8 November 2023 / Accepted: 9 November 2023 / Published: 10 November 2023

Abstract

:
The study examined selected biometric and mechanical properties of fruits of three varieties of red currant (Ribes rubrum L.) from organic cultivation. The influence of the harvest date of red currant fruits, their storage time, and the use of ozone at a concentration of 10 ppm for 15 and 30 min on the water content, volume, and density, as well as the destructive force and the apparent modulus of elasticity, were determined. Fruits harvested at harvest maturity were characterized by a much larger volume and lower water content compared to fruits harvested seven days earlier. The ozonation process, regardless of the harvest date, resulted in a reduction in volume, density, and humidity. After 15 days of storage, the fruits of the tested varieties showed a decrease in the average water content from 86.15% to 83.79%. The tests showed a decrease in the destructive force and the apparent modulus of elasticity, the average value of which for fresh fruit was 76.98 ± 21.0 kPa, and after 15 days of storage, it decreased to 56.34 ± 15.96 kPa. The relationships between fruit-related parameters, harvesting, and storage conditions and fruit strength characteristics were modeled with the use of neural networks and support vector machines. These relationships are complex and nonlinear, and therefore, machine learning is usually more relevant than the traditional methods of modeling. For evaluation of the performance of the models, statistical parameters such as the coefficient of correlation (R), root-mean-squared error (RMSE), and generalization ability coefficient (GA) were used. The best models for the prediction of an apparent modulus of elasticity were developed with the use of ANNs. These models can be used in practice because the correlation between expected and predicted values was in the range 0.78–0.82, RMSE was in the range 13.38–14.71, and generalization ability was excellent. A significantly lower accuracy was achieved for models with a destructive force as the output parameter (R ≤ 0.6).

1. Introduction

Berry fruit production is often linked to the improvement of plant biological traits adapted to the environmental conditions, processing technology, and user requirements. The introduction of new varieties into production and the assessment of resistance to damage during the harvesting, transport, and storage processes contribute to reducing losses and improving the quality of the raw material, leading to a reduction in costs incurred and environmental losses [1]. Due to the need to reduce harvesting costs (e.g., by reducing the labor input) and to increase harvesting speed and efficiency, redcurrant fruit, like blackcurrant, gooseberries, and chokeberries, is most often harvested by machines using whole-row and half-row harvesters [2,3]. One of the major disadvantages of this harvesting method is the greater mechanical damage (including abrasions, cuts, punctures, squashes, or bruises), which may result not only in a deterioration of the quality of the harvested fruit but also in faster spoilage during transport, handling, and storage [4,5]. In the USA, it is estimated that 7% of fruit and vegetable losses after harvest occur on farms, 17% in processing enterprises, and 18% in homes [6]. In Poland, annual losses in primary production amount to 749.48 thousand tons of food, and most of them, as much as 64%, are generated by the fruit and vegetable sector [7]. In plant production, the main causes of this phenomenon include incorrect storage of raw materials immediately after harvest. At the processing stage, losses amount to 753.63 thousand tons, of which the fruit and vegetable processing sector generates approximately 13%. In commercial facilities, losses amount to 336.987 thousand tons, and the main cause of fruit and vegetable losses is a loss of freshness, often as a result of improper storage.
Research into the resistance properties of fruit is an important issue in food science, often crucial for maintaining fruit quality during storage and transport. The results of the research are also used in the development of pretreatment technologies, peeling, portioning, final processing technologies of crushing, and pressing [8]. In the scientific literature, the most important methods for destructive testing of berry strength properties include compression, relaxation, creep, puncture, cutting, fatigue, and impact tests [9,10,11]. To obtain comprehensive information on fruit strength, a combination of different tests is often used. In the case of red currant (Ribes rubrum L.) fruit, these are mainly skin and flesh puncture tests and whole-fruit compression tests to determine selected mechanical parameters including the fruit fracture force, destructive energy, and conventional modulus of elasticity. Red currant is widely grown in Europe in Russia, Ukraine, Poland, Germany, and France on commodity plantations as well as in home gardens. Important factors for the large-scale cultivation of red currant include the ease of establishment, maintenance of plantations, and mechanical harvesting [12,13]. Red currant yields are influenced by variety, bush size, stem age, environmental conditions during their growing season, growing system, ripening time, and harvest date [14,15].
Due to its rich chemical composition, the fruit is used for direct consumption, but also in many food processing branches—to produce juices, jams, jellies, ice creams, desserts, frozen foods, wines, and liqueurs [16,17,18]. During mechanized harvesting of redcurrant fruit, mechanical damage occurs in the form of abrasions, bruises, or squashes, among others, which often leads to the elimination of the raw material from the market [8]. In the production and proper management of redcurrant fruit, storage is undoubtedly a key element. During storage, the fruit changes its turgor due to water loss and also its chemical composition.
Immediately after harvesting, redcurrant fruit can be stored for a short time in a refrigerator or subjected to a long-term freezing process to inhibit unfavorable biochemical processes occurring in the fruit after harvesting [19]. One way to reduce the quality loss of fruit stored in cold stores is to use ozone gas. Ozonation has a positive effect on reducing water losses, as ethylene releases during fruit storage, increasing the antioxidant activity [1,20,21,22]. Referring to the positive impact of the ozonation process, Chwaszcz et al. [23] found that for raspberry fruit stored for 72 h at room temperature (25 °C), the weight loss was 51.3%, while for ozonated fruit it was 6.58%. They also showed a reduction in gray mold infection in the case of ozonated fruit after 72 h—it was 11.55%—and in the case of non-ozonated fruit—100%. The use of gaseous ozone technology shows greater efficiency of the process compared to the aqueous form, increasing the shelf life of food while improving the food safety with its good quality and without environmental pollution [1,19,20,21].
Accurate mathematical models are commonly used in modern agriculture to predict various properties of agricultural and food products, including fruits and vegetables [24,25]. Mirzabe et al. [26] used the normal distribution method to model the dimensional properties and mass of virgin olive fruit. The nonlinear least-squares method was employed to estimate parameters of the normal probability density function. Murakonda et al. [27] developed various regression models of physical parameters of wood apple fruit in correlation with mass, using the four equations, namely, linear, quadratic, power, and S-curve. For most models, the authors obtained a high concordance between experimental and predicted data (R2 higher than 0.8). Similar techniques were used by Barbhuiya et al. [28] to develop predictive models of the Indian Coffee Plum mass based on physical characteristics of the fruit. The most appropriate mass models were created with the use of quadratic and power equations and with length, thickness, and volume as the predictors. The regression mass models were also reported by Vivek et al. [29]. The authors employed linear, quadratic, S-curve, and power models to predict the mass of Sohiong fruit based on various physical properties. The highest accuracy was observed for quadratic models. The findings of the authors can be useful for the development of an automatic sorting system for the grading of Sohiong fruit based on the fruit mass. Moradi et al. [30] proposed a dimensionless model to predict the terminal velocity of the cucumbers. The model was of high accuracy with an R2 of 0.9. Li et al. [31] presented the four-parameter sigmoidal model of the relationship between the internal damage volume of tomato fruit and its percentage deformation. This model can be used in practice for the optimization of postharvest classification of fruits. The finite element modelling is another popular method used to predict the mechanical responses in fruit upon loading [32,33,34].
Soft berries, which include currants, are very sensitive to mechanical damage during storage and processing. Therefore, the prediction and recognition of fruit damage depending on biometric characteristics and storage conditions is crucial for the loss minimization. Machine learning (ML) is relevant for developing accurate prediction or classification models. In our previous study [8], a multiple linear regression was compared with machine learning methods to estimate mechanical properties of large cranberry (Vaccinium macrocarpon Aiton) fruit. The accuracy of the regression models was significantly lower than that of models based on neural networks and support vector machines. In the study by Ropelewska [35], various machine learning methods combined with image analysis were used to develop an accurate tool for assessing the quality of red currant (Ribes rubrum L.) related to mechanical properties of fruit under different storage conditions. The author reported very high accuracy of models up to 100%. The prediction model of mechanical properties of blueberry (Vaccinium corymbosum) was presented by Hu et al. [36]. They employed the least squares support vector machines to estimate texture profile and puncture parameters based on hyperspectral data. Huang et al. [37] employed four machine learning algorithms and multi-sensing technology to predict the freshness of blueberry fruit. The ML models outperformed the traditional Arrhenius equation method.
The aim of the research was to use machine learning modeling to demonstrate the relationships between biometric and mechanical parameters of ozonated and non-ozonated red currant fruit grown organically, and the harvest date and storage conditions. Such models allow for predicting the quality parameters of fruit and, consequently, appropriately design the harvesting and storage process to optimize product quality.

2. Materials and Methods

2.1. Characteristics of the Research Material

The research material consisted of the fruits of the red currant cultivars ‘Holenderska Czerwona’, ‘Luna’, and ‘Losan’. The fruits were grown on an organic farm in Łopuszka Wielka (49°56′12″ N 22°23′35″ E, Podkarpackie Voivodeship, Poland). From each variety, 6 kg of fruit was harvested by hand on two dates: in the first decade of July 2022, i.e., seven days before harvest maturity (P), and in the second decade of July 2022, i.e., at harvest maturity (O). The decision on the harvesting date was based on the producer’s experience, taking into account the color of the fruit and the strength of bonding to the stalk.
The fruits, both ozonized and non-ozonized, were stored in a cold room (temperature 3 °C, average air humidity 81%). On days 1, 8, and 15 of storage, measurements were taken.

2.2. Ozonation Process

Red currant fruits immediately after harvest were randomly divided into three portions of 2 kg each. The first part was a control sample (non-ozonized), and the other two batches were ozonated with gaseous ozone in a plastic container with dimensions L × W × H—0.6 × 0.4 × 0.4 m. The conditions of the ozonation process were as follows: ozone concentration—10 ppm; ozonation time—15 and 30 min; flow rate—40 g O3·h−1; and temperature—20 °C. As an ozone generator, the KORONA A40 Standard generator (Korona Scientific and Implementation Laboratory, Piotrków Trybunalski, Poland) was used. The 106 M UV Ozone Solution detector (Ozone Solution, Hull, MA, USA) was used to control the gas concentration.

2.3. Determination of the Morphological and Physical Characteristics of Red Currant Fruit

The sample size was 15 pieces of fruit for each variant. For each piece of fruit, the measurement of the diameter d and the weight was conducted with the accuracy of 0.01 mm and 0.001 g, respectively. The density of fruit was determined as a ratio of weight to the volume of a sphere of diameter d.
The drying method for determining the water content of fruit was in accordance with PN-90/A-75101-03:1990 [38]. The drying process was conducted at 105 °C with the use of a laboratory weighing machine (Radwag, Radom, Poland).

2.4. Determination of the Mechanical Properties of Red Currant Fruit

In a compression test between two horizontal planes using a Brookfield CT3-1000 Texture Analyser (AMETEK Brookfield, Middleboro, MA, USA) with TexturePro CT v. 1.2 software, the destructive force FD (N), absolute strain λ, and destructive energy ED were measured. The specimen preload was 0.05 N, and the compression velocity was 0.2 mm∙s−1. The value of the apparent modulus of elasticity EC (MPa), was calculated from the equation [8,12]
E C = E D 0.26 · d 2   · λ
where d is diameter of the fruit (mm), λ is the fruit deformation in the load direction (mm), and ED is destructive energy (mJ).

2.5. Statistical Analysis

The results obtained were subjected to statistical analysis using the Statistica v.13.3. environment (TIBCO Software Inc., Tulsa, OK, USA). Analysis of variance (ANOVA) and LSD significance tests were performed at a significance level of α = 0.05.

2.6. Machine Learning Methods

Artificial neural networks (ANNs) are computational tools inspired by biological nervous systems. The Multilayer Perceptron (MLP) is one of the most popular architectures of ANNs used to solve regression problems. MLP consists of units arranged in layers. Layers are composed of nodes or artificial neurons. Nodes are units in the input layer that pass the input signals to the following layers. In MLP, there are one or more hidden layers and an output layer producing output signals of MLP. Hidden and output layers consist of artificial neurons—computational units connected to each other by weighted links. The output signal of neurons is calculated based on a weighted sum of input signals transformed by a transfer function (linear or nonlinear). A Radial Basis Function neural network (RBF) is a three-layer network composed of input, hidden, and output layers. The nodes in the input layer propagate input variables to the hidden layer. The neurons in the hidden layer are radial basis function units with Gaussian kernels. The output layer is a summation layer producing a weighted sum of output signals of neurons from the hidden layer. The practical use of ANNs for the modelling of complex and nonlinear relationships is a three-step process. The first step is to determine the structure of the ANN—the number of hidden layers, the number of units in each layer, and the type of neurons. The next step is the training of the ANN with the use of a supervised training method and based on the input and target matrix derived from the experimental datasets. During the training process, connection weights in the ANN are adjusted to minimize the error of the model (the difference between output values expected and calculated by the ANN). Sometimes, the training dataset is divided into two sets—for regular training and for validation—to help in fine-tuning of the model hyperparameters. The third step is the testing of the model. The training process is usually finished when the error of the model is lower than assumed. However, an undesirable phenomenon called overfitting may occur. Overfitting means that the model is perfectly adjusted to the training examples but has no generalization abilities. During the third step, the model is validated with the use of data not included in the training set (test data set). A small error during the testing process means that the model can be used in real-world applications.
Support Vector Machines (SVMs) were presented by Vapnik [39], originally for classification and then extended to regression problems [40]. The SVM regression approach directly defines the kernel as a function of the input feature vector. As a kernel, the linear, polynomial, RBF, or sigmoid function can be employed. SVM minimizes the regularized error function:
C n = 1 N E ϵ y n t n 2 + 1 2 w 2
where C is the inverse regularization parameter, E is an -insensitive error function (where can be interpreted as the required accuracy of the approximation), yn is the output and tn is the target for the n-th element of training data set, w is the weights vector, and N is the number of training vectors.
For this research, Statistica v. 13 software (TIBCO Software Inc., Tulsa, OK, USA) was used as the machine learning environment. When ANNs were used for the development of regression models, 2000 structures with various number of neurons in hidden layer (from 10 to 50), and random initial values of connection weights were trained to find the optimal model. In the case of MLP models, various activation functions of neurons (linear, sigmoid, hyperbolic tangent, or exponential) were used. The experimental data set consisted of 810 vectors, 270 vectors each for the control, fruit ozonated for 15 min and 30 min. For the training process of ANNs, the data set was divided randomly into training, validation, and test sets at the 70:15:15 ratio. When SVM models were developed, the Gaussian RBF kernel function was utilized, according to Equation (3):
K x i , x = exp γ x x i 2
where γ is a kernel parameter.
The parameters C, , and γ were tuned via a grid search. For parameters C and , the 10-fold cross-validation method was employed (C was tuned in the range of 1–15 with a step of 1, was adjusted in the range of 0.1–0.5 with a step of 0.1). The γ parameter of the Gaussian RBF kernel function was tuned in the range of 0.1–0.2 with a step of 0.01.
The data set was divided randomly into training and test sets in an 80:20 ratio. The ten-fold cross-validation method was used.

2.7. Sensitivity Analysis

MLP is commonly called the black-box model because it provides little explanatory insight into relationships between input and output variables. However, there are some methods of sensitivity analysis which allow us to explore the relative importance of independent input variables. Previous studies have proposed a number of sensitivity analysis methods, such as the partial derivatives method (the partial derivatives of the output variables according to the input variables are calculated), the Weights method based on values of connection weights in the model, or the method based on indexes proposed by Yeh and Cheng [41].
This research used sensitivity analysis as implemented in the Statistica v.13 environment. In this method, the mean value of each input variable is calculated based on the training data set in order to replace a certain variable. Then, the percentage impact of independent input variables on output values is determined based on the quotient of two errors: the network error with an input replaced by its mean and the network error with the original inputs.

2.8. Criteria of Accuracy Assessment of Models

For quantifying the performance of the regression models, two error measures were used, namely, the coefficient of correlation (R) and root-mean-squared error (RMSE), and calculated as follows:
R = ( Y m e a s Y ¯ m e a s ) Y p r e d Y ¯ p r e d ( Y m e a s Y ¯ m e a s ) 2 Y p r e d Y ¯ p r e d 2
RMSE = 1 n i = 1 n Y p r e d Y m e a s 2
where Ypred denotes the target value estimated by the model, Y ¯ p r e d is the mean of estimated target, Ymeas is the actual target value (experimental), and Y ¯ m e a s is the mean of experimental target.
The closer to 1 that the R value is and the lower the RMSE error is, the better the model is. For the assessment of the quality of models, the classification proposed by Her and Wong [42] was employed: an R value lower than 0.40 is interpreted as a weak correlation, an R value in the range of 0.40–0.69 means moderate correlation, and an R value higher than 0.70 is considered as a strong correlation. The models with a strong correlation between the target and predicted values for test data set were considered as useful for real-life applications.
A value of the coefficient of correlation close to 1 and a low value of RMSE are not trustworthy enough for the assessment of the model accuracy. Therefore, Yoon et al. [43] an additional metric—the generalization ability (GA) calculated according to the following equation:
GA = R M S E t e s t R M S E t r a i n
where RMSEtest is the RMSE error for the test data set and RMSEtrain is the RMSE error for the training data set.
Based on the rules developed by El Bilali et al. [44], the generalization ability of the models created in this research was evaluated. A model with GA = 1 was classified as perfect, and a model with GA higher than 0.75 was classified as excellent.

3. Results

The detailed values obtained for the morphological characteristics, moisture content, and mechanical parameters of the fruits of the three redcurrant cultivars for the applied harvest dates, ozonation times, and storage times are presented in Table 1. Fruits of the studied cultivars differed in morphological characteristics regardless of the harvesting date. The largest volume was characterized by the fruit of the ‘Holenderska Czerwona’ cultivar and the smallest by the ‘Luna’ cultivar. Analyzing the results of this parameter, it should be emphasized that the currant fruit volume significantly decreased after 7 days of storage for the fruit harvested seven days before harvest maturity and not ozonized (‘Holenderska Czerwona’ and ‘Losan’ cultivars) and the fruit ozonized for 15 and 30 min (‘Losan’). The density of the fruit of the ‘Luna’ cultivar was the highest, while the density of fruit of the ‘Losan’ and ‘Luna’ cultivars collected at harvest maturity decreased significantly during storage. The greatest decrease in red currant fruit moisture content was recorded for the ‘Holenderska Czerwona’ currant cultivar at harvest maturity and ozonized at a dose of 10 ppm, regardless of the ozonation time. The mean values of fruit moisture content were, respectively, as follows: fruit not ozonated, 84.2% ± 1.73%; ozonated for 15 min, 83.4% ± 1.24%; and ozonated for 30 min, 83.0% ± 1.59%.
Figure 1 and Figure 2 show the analyzed mechanical parameters of the red currant fruit of the cultivars studied for the two harvest dates in relation to ozonation time and storage time. The relationships are in the form of a quadratic function described by the equation
z = a + bx + cy+ dx2 + exy + fy2
Analyzing the plane diagrams for fruit harvested before harvest maturity (Figure 1), there was a decrease in the destructive power of the currant fruit with an increasing storage time and shorter ozonation time. With regard to the modulus of elasticity of the currant fruit (Figure 2), a decrease in the value of this mechanical parameter was found with an increasing storage time for fruit harvested at harvest maturity, while for fruit harvested seven days before harvest maturity, the highest value of the modulus was recorded after seven days of storage. In the case of the staple puncture of highbush blueberry fruit, ozone treatments had no significant effect on the stiffness, breaking force, or mechanical work required to break the epidermis of highbush blueberry fruit [20].

3.1. Machine Learning Models

Before modeling, it is important to verify that the input parameters selected based on expert knowledge of the object under study are not highly correlated with each other. In the case of correlated parameters, only one of them should be retained to avoid redundancy of input information. It is also necessary to check the correlation between input and output parameters because machine learning methods are particularly useful for modeling multidimensional nonlinear relationships. Table 2 shows the Pearson linear correlation coefficients between all parameters under study.
The linear correlations between input parameters of models are weak. Therefore, all features related to fruit properties and storage conditions can be used in the modeling process. The correlations between destructive force or apparent modulus of elasticity and other features under study are also weak—the highest is R = −0.55 between fruit volume and EC.
The two approaches to the development of machine learning models were applied in this research. The first one is based on all parameters measured—the seven input parameters (harvest date, cultivar, ozone exposure time, duration of storage, volume of fruit, fruit density, and moisture content) and one output feature: the modulus of elasticity or destructive force. In the second approach, it is assumed that the ozone exposure time is of a fixed value (0 min—control; 15 min; and 30 min). For each value of ozone treatment time, the separate models were developed with six input features: harvest date, cultivar, duration of storage, volume of fruit, fruit density, and moisture content. The ozonation process is an additional treatment during storage and can influence the physicochemical parameters of fruit. The two approaches proposed in this research allow us to compare the accuracy of models including or not the impact of ozonation time. Each relationship under study was modeled with the use of three machine learning methods: the multilayer perceptron, radial basis function neural network, and support vector machine.

3.1.1. Multilayer Perceptron

In Table 2, the structures and error metrics for the best models based on the seven input features are presented. The meaning of the model structure is as follows: the number of input parameters—the number of neurons in one hidden layer—the number of output parameters. In this research, the number of input parameters is determined by the approach (seven or six), and the number of neurons in hidden layer was adjusted experimentally. For all models, one output feature was defined (EC or FD).
As presented in Table 3, the best models developed for both output features, the modulus of elasticity and destructive force, consist of eight neurons in the hidden layer. In the case of EC as the output value, the quality metrics for training, validation, and test data sets are similar to each other—the RMSE is low, and the R is high. The metrics calculated for the test data set are only slightly worse than those calculated for the training process. This indicates that the model is not overfitted. Additionally, the GA metric suggests an excellent generalization ability of the model. For FD as the output feature, based on the GA metric, the model can be classified as excellent, but the high values of RMSE error and the low correlation between the expected and predicted values for all data sets imply a low practical usefulness of the model.
In Table 4, the best MLP models of the relationships under study with established values of ozone exposure time are depicted.
Neural models for the prediction of the modulus of elasticity depending on harvest date, cultivar, duration of storage, volume of fruit, fruit density, and moisture content have a high accuracy for the three ozone treatment procedures. When the fruit was ozonized for 15 or 30 min, the correlation between EC expected and predicted by the model exceeded 0.80 for the test data set. Slightly worse accuracy was achieved when the fruit was not treated with ozone (R = 0.77). All these models can be classified as excellent according to the GA metric. Significantly lower accuracy was achieved for models with FD as the output parameter. The best correspondence between the measured and predicted destructive force was observed in the case of ozone treatment for 30 min. However, the correlation coefficient was no greater than 0.6, which means that the practical value of the models is questionable.

3.1.2. RBF Neural Networks

In Table 5, the details of the best models developed with the use of RBF neural networks are presented. These models represent the relationships between harvest date, cultivar, ozone exposure time, duration of storage, volume of fruit, fruit density, and moisture content as input parameters and the modulus of elasticity or destructive force as the output feature.
The number of neurons in the hidden layer in RBF neural models is significantly higher than in their MLP counterparts. In the model for EC prediction, the correlation between experimental and predicted values is similar for training, validation, and test data sets. This means that there is no overfitting phenomenon during the training process. The accuracy of the model (R = 0.75) can be considered as acceptable. The generalization ability of the model is excellent. When destructive force is the output parameter, the accuracy of the RBF models is low (R = 0.38), and this model is not useful for practical applications.
In Table 6, the best RBF models for the prediction of the modulus of elasticity or destructive force based on the harvest date, cultivar, duration of storage, volume of fruit, fruit density, and moisture content are described—separately for the control (no ozone treatment) and fruit ozonized for 15 and 30 min.
Among the models for the estimation of the modulus of elasticity, the most accurate was the model developed based on the data on no-ozonized fruit (R = 0.78). The accuracy of models based on the data on fruit exposed to ozone for 15 and 30 min was lower (R = 0.70 and R = 0.64, respectively). According to the generalization ability, these models are excellent. The precision of RBF models with destructive force as the predicted parameter is low for all three data sets. The highest correlation between the measured and predicted FD was observed for fruit ozonized for 15 min (R = 0.49). The quality of these models makes them not useful in real-world applications.

3.1.3. Support Vector Machines

The third machine learning method employed for modelling in this research is the support vector machine. The details of SVM regression models of relationships between the seven input features described in Section 3.1. and the modulus of elasticity or destructive force are presented in Table 7.
The values of error metrics of the model for the prediction of the modulus of elasticity are very similar for training and test data sets. Therefore, the generalization ability of the model is very high. The accuracy of the model is acceptable, with a high correlation between expected and predicted values of EC for the test data set (R = 0.78). On the other hand, the quality of the model with destructive force as the output parameter is too low for practical applications (R = 0.28 for test data set).
Table 8 summarizes the best models obtained using the SVM method for the three data sets: non-ozonized fruit and fruit after ozone treatment for 15 and 30 min.
The accuracy of models for EC prediction based on the six parameters (harvest date, cultivar, duration of storage, volume of fruit, fruit density, and moisture content) based on data sets for a specific ozone exposure time was lower than for the model trained with the use of all experimental data (Table 7). The highest accuracy was observed for the control data set and for fruit ozonized for 30 min (R = 0.76 for test data set). The quality of the model for fruit exposed to ozone for 15 min was lower (R = 0.65). The generalization ability of these three models was excellent. The accuracy of the models for FD prediction is far too low to make them useful in practice, as the correlation between expected and predicted values for the test data set does not exceed 0.43.
In Figure 3 and Figure 4, the performance of the best models of the modulus of elasticity EC and destructive force FD for the test data set is depicted.

3.2. Sensitivity Analysis

The best neural models presented in Table 3 were used for the sensitivity analysis. In Figure 5, the percentage influence of a certain input variable on the modulus of elasticity and destructive force is illustrated.
The highest impact on the modulus of elasticity is observed for the volume of fruit (33%). The second most influencing parameter is the fruit cultivar. Other parameters affect the modulus of elasticity at a similar level (8–12%). The fruit cultivar has the highest impact on the destructive force (17%). Other analyzed parameters influence FD at a level of around 14%.

4. Discussion

According to [20], ozone treatments significantly increased the weight loss of ozonated blueberries during storage compared to untreated fruit. At the same exposure time, the higher the ozone concentration, the higher the weight loss was. Several studies mention that higher ozone levels can lead to epidermal and epidermal tissue damage and oxidation of epidermal waxes due to the high oxidative power of ozone [45,46,47]. Some studies conducted on ‘Casselman’ plums treated with gaseous ozone showed significant differences in waxes and scale thickness compared to the control fruit. They suggested that the effect of ozone in cuticles and waxes contributed to the observed weight loss [48].
The fruit of the ‘Luna’ cultivar had the highest resistance to mechanical damage and the highest modulus of elasticity. According to Panfilova et al. [3], for the optimal operation of the harvester, the crushing force of the red currant fruit must be greater than 2 N. Taking into account the obtained values of the destructive force of the fruits of the analyzed red currant cultivars, it can be concluded that they are suitable for mechanical harvesting.
Our results indicate that for fruit harvested before the harvest maturity stage, increasing the storage time and reducing the ozonation time resulted in a decrease in the destructive power. According to the authors of [20,22,49], changes in the mechanical properties of fruit during storage were similar for untreated and ozonated fruit. Thus, the changes in mechanical behavior can be attributed mainly to metabolic reactions of ripening and ageing, without a significant effect of ozone exposure. In the process of compressing red currant fruits, a decrease in the elastic modulus was found with an increasing storage time of fruits harvested at harvest ripeness, while for fruits harvested seven days before harvest maturity, the highest value of the modulus was recorded on the seventh day of storage.
In the case of the staple puncture of highbush blueberry fruit, ozone treatments had no significant effect on the stiffness, breaking force, and mechanical work required to break the epidermis of highbush blueberry fruit [20].
The models for the modulus of elasticity prediction developed in this research can be considered as useful for practical implementation. The best models were created using the MLP neural network, and only for non-ozonized fruit, the best technique was RBF. The correlation between expected and predicted values of EC for test data sets is high—the R value is in the range 0.78–0.82. Based on the error metrics presented in Table 3, Table 4, Table 5, Table 6, Table 7 and Table 8 it can be concluded that no overfitting phenomenon occurred during the training process. The generalization ability of the models is excellent. The error metrics regarding models for destructive force prediction detailed in Table 3, Table 4, Table 5, Table 6, Table 7 and Table 8 suggest the low quality of models. The correlation between measured and predicted values of FD for test data sets does not exceed 0.6. This suggests that FD is significantly influenced by additional parameters that are not considered in this research. Therefore, the potential usefulness of these models in real-life application is questionable. A subdivision of a data set into subsets according to ozone exposure time has no significant impact on the accuracy of the models.
To date, accurate models for predicting the mechanical properties of fruit have been developed using machine learning techniques. Cevher and Yıldırım [50] used ANNs to create neural models for estimation of rupture energy of pear fruit under conditions of loading position and storage duration. The authors compared neural models of various structures and trained using three different methods. The best models reported in that study had a high accuracy, with a coefficient of correlation R between expected and predicted values for the test data set exceeding 0.95. Vasighi-Shojae et al. [51] applied the ANN modeling technique to estimate the mechanical properties of Golden Delicious apples. They developed three independent neural models to estimate the firmness, elastic modulus, and stiffness of the apple based on data from ultrasonic measurements. The accuracy of the models was very high (R > 0.9). Abasi et al. [52] used the PLS regression technique to analyze the relationships between apple firmness and the spectral absorbance response of the fruit. They obtained a high agreement between expected and predicted values (R = 0.77). Neural networks were employed by Saiedirad and Mirsalehi [53] to predict the rupture force and rupture energy of cumin seeds. The input parameters selected for the models were moisture content, seed size, rate loading, and seed orientation. The agreement between experimental and predicted values for both models was high (R = 0.98 for rupture force and R = 0.97 for rupture energy). Hu et al. [36] used hyperspectral interactance imaging combined with machine learning to estimate mechanical parameters of blueberry (Vaccinium corymbosum) fruit. They reported a high accuracy of prediction assessed on the basis of the correlation between target and predicted values (R = 0.91 for cohesiveness, R = 0.84 for springiness, R = 0.86 for resilience, R = 0.65 for maximal force strain, R = 0.62 for final force, R = 0.77 for hardness, and R = 0.71 for maximal force). Huang et al. [37] compared the traditional method of fruit freshness prediction (Arrhenius equation based on temperature and quality parameters) with machine learning methods. They created the four ML models with the use of backpropagation (BP) ANN, RBF neural network, SVM, and extreme learning machine (ELM) to estimate the freshness of blueberry fruit based on multi-sensing data. The accuracy of the ML models was higher (90.87% (BP), 92.24% (RBF), 94.01% (SVM), and 91.31% (ELM)) in comparison to traditional modeling (85.10%).

5. Conclusions

The destructive force of redcurrant fruit harvested before harvesting maturity decreased with increasing storage time and with shorter ozonation time, whereas the dependence on ozonation time was reversed for fruit harvested at harvesting maturity. The value of the modulus of elasticity of currant fruit did not depend on the ozonation time and decreased with increasing storage time for fruit harvested at harvest maturity. On the other hand, for fruit harvested 7 days before harvesting maturity, the highest value of this parameter was recorded after seven days of storage.
The three machine learning techniques, namely, MLP and RBF neural networks and SVM, were used to develop models of the relationships under study. For each mechanical parameter, four independent models were created: based on all data from measurements, based on data from non-ozonized fruit, and based on data relating to fruit ozonized for 15 and 30 min. The most accurate models were created with the use of ANNs. Models for the prediction of the modulus of elasticity had a high accuracy. The error metrics obtained for the test data set were R in the range of 0.78–0.82 and RMSE in the range of 13.38–14.71. The accuracy of models for destructive force estimation was significantly lower. The error metrics calculated for the test data set were R in the range of 0.38–0.60 and RMSE in the range of 0.93–1.34. The correlation between target and predicted values for EC models is similar to that reported for models developed by other researchers for berry fruit, whereas the accuracy of the FD models is significantly lower. Mathematical models introduce additional knowledge of the relationship between process parameters and strength parameters. In addition, they allow us to predict physical parameters and thus the design of the harvesting process.

Author Contributions

Conceptualization, K.P., P.K. and J.G.; methodology, K.P., P.K. and J.G.; software, K.P.; validation, K.P.; formal analysis, P.K.; investigation, K.P., P.K. and J.G.; data curation, P.K. and J.G.; writing—original draft preparation, K.P. and J.G.; writing—review and editing, K.P., J.G. and P.K.; funding acquisition, K.P., P.K. and J.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lv, Y.R.; Tahir, I.I.; Olsson, M.E. Effect of ozone application on bioactive compounds of apple fruit during short-term cold storage. Sci. Hortic. 2019, 253, 49–60. [Google Scholar] [CrossRef]
  2. Szmajda, G.; Nowakowski, T. Analysis of the harvesting quality of redcurrant with a trailed combine. Agric. Eng. 2020, 24, 91–102. [Google Scholar] [CrossRef]
  3. Panfilova, O.; Kalinina, O.; Golyaeva, O.; Knyazev, S.; Tsoy, M. Physical and mechanical properties of berries and biological features of red currant growth for mechanized harvesting. Res. Agric. Eng. 2020, 66, 156–163. [Google Scholar] [CrossRef]
  4. Li, Z.G.; Li, P.P.; Liu, J.Z. Effect of mechanical damage on mass loss and water content in tomato fruits. Int. Agrophys. 2011, 25, 77–83. [Google Scholar]
  5. Hussein, Z.; Fawole, O.A.; Opara, U.L. Harvest and Postharvest Factors Affecting Bruise Damage of Fresh Fruits. Hortic. Plant J. 2020, 6, 1–13. [Google Scholar] [CrossRef]
  6. ReFED. A Roadmap to Reduce U.S. Food Waste by 20 Percent; ReFED: Long Island City, NY, USA, 2016. [Google Scholar]
  7. 2021—Year of Vegetables and Fruits, 16 February 2021, 10–30. Available online: https://www.gazetaprawna.pl/wiadomosci/kraj/artykuly/8096722,2021-rok-warzyw-i-owocow.html (accessed on 30 October 2023).
  8. Gorzelany, J.; Belcar, J.; Kuzniar, P.; Niedbala, G.; Pentos, K. Modelling of Mechanical Properties of Fresh and Stored Fruit of Large Cranberry Using Multiple Linear Regression and Machine Learning. Agriculture 2022, 12, 200. [Google Scholar] [CrossRef]
  9. Thielen, M.; Speck, T.; Seidel, R. Viscoelasticity and compaction behaviour of the foam-like pomelo (Citrus maxima) peel. J. Mater. Sci. 2013, 48, 3469–3478. [Google Scholar] [CrossRef]
  10. Wang, J.X.; Zheng, D.C.; Cui, Q.L.; Xu, S.H.; Jiang, B.Y. Study on tensile mechanical property and microstructure of fruit and vegetable peels. Inmateh-Agric. Eng. 2019, 59, 227–236. [Google Scholar] [CrossRef]
  11. Fadiji, T.; Coetzee, C.; Pathare, P.; Opara, U.L. Susceptibility to impact damage of apples inside ventilated corrugated paperboard packages: Effects of package design. Postharvest Biol. Technol. 2016, 111, 286–296. [Google Scholar] [CrossRef]
  12. Kuzniar, P.; Belcar, J.; Zardzewialy, M.; Basara, O.; Gorzelany, J. Effect of Ozonation on the Mechanical, Chemical, and Microbiological Properties of Organically Grown Red Currant (Ribes rubrum L.) Fruit. Molecules 2022, 27, 8231. [Google Scholar] [CrossRef]
  13. Djordjevic, B.S.; Djurovic, D.B.; Zec, G.D.; Meland, M.O.; Aksic, M.M.F. Effects of shoot age on biological and chemical properties of red currant (Ribes rubrum L.) cultivars. Folia Hortic. 2020, 32, 291–305. [Google Scholar] [CrossRef]
  14. Heijerman, G.; van Gessel, G. Higher profits with planting hole treatment in red currant. In Xii International Rubus and Ribes Symposium: Innovative Rubus and Ribes Production for High Quality Berries in Changing Environments; International Society for Horticultural Science: Korbeek-Lo, Belgium, 2020; Volume 1277, pp. 239–243. [Google Scholar] [CrossRef]
  15. Ersoy, N.; Kupe, M.; Gundogdu, M.; Ilhan, G.; Ercisli, S. Phytochemical and Antioxidant Diversity in Fruits of Currant (Ribes spp.). Not. Bot. Horti Agrobot. Cluj-Napoca 2018, 46, 381–387. [Google Scholar] [CrossRef]
  16. Jurgiel-Małecka, G.; Buchwał, A. Characteristics of the chemical composition of currant fruit grown in the region of West Pomeran. Food Sci. Technol. Qual. 2016, 6, 90–101. [Google Scholar]
  17. Vakula, A.; Radojčin, M.; Pavkov, I.; Stamenković, Z.; Tepić Horecki, A.; Šumić, Z.; Pavlić, B. The impact of different drying methods on quality indicators of red currants (Ribes rubrum L.). J. Process. Energy Agric. 2015, 19, 249–254. [Google Scholar]
  18. Milivojevic, J.; Slatnar, A.; Mikulic-Petkovsek, M.; Stampar, F.; Nikolic, M.; Veberic, R. The Influence of Early Yield on the Accumulation of Major Taste and Health-Related Compounds in Black and Red Currant Cultivars (Ribes spp.). J. Agric. Food Chem. 2012, 60, 2682–2691. [Google Scholar] [CrossRef] [PubMed]
  19. Djordjevic, B.; Savikin, K.; Zdunic, G.; Jankovic, T.; Vulic, T.; Oparnica, C.; Radivojevic, D. Biochemical Properties of Red Currant Varieties in Relation to Storage. Plant Foods Hum. Nutr. 2010, 65, 326–332. [Google Scholar] [CrossRef]
  20. Jaramillo-Sanchez, G.; Contigiani, E.V.; Castro, M.A.; Hodara, K.; Alzamora, S.M.; Loredo, A.G.; Nieto, A.B. Freshness Maintenance of Blueberries (Vaccinium corymbosum L.) During Postharvest Using Ozone in Aqueous Phase: Microbiological, Structure, and Mechanical issues. Food Bioprocess Technol. 2019, 12, 2136–2147. [Google Scholar] [CrossRef]
  21. Piechowiak, T.; Antos, P.; Kosowski, P.; Skrobacz, K.; Jozefczyk, R.; Balawejder, M. Impact of ozonation process on the microbiological and antioxidant status of raspberries (Rubus ideaeus L.) during storage at room temperature. Agric. Food Sci. 2019, 28, 35–44. [Google Scholar] [CrossRef]
  22. Contigiani, E.V.; Jaramillo-Sanchez, G.; Castro, M.A.; Gomez, P.L.; Alzamora, S.M. Postharvest Quality of Strawberry Fruit (Fragaria x Ananassa Duch cv. Albion) as Affected by Ozone Washing: Fungal Spoilage, Mechanical Properties, and Structure. Food Bioprocess Technol. 2018, 11, 1639–1650. [Google Scholar] [CrossRef]
  23. Chwaszcz, B.; Józefczyk, R.; Bilek, M.; Balawejder, M. Ozonation as a method of extending the storage life of raspberry fruit under non-refrigerated conditions. In Technological Development of Food Quality; Wójciak, K.M., Dolatowski, Z.J., Eds.; Wydawnictwo Naukowe PTTŻ: Kraków, Poland, 2015; pp. 15–26. (In Polish) [Google Scholar]
  24. Szwedziak, K.; Polanczyk, E.; Grzywacz, Z.; Niedbala, G.; Wojtkiewicz, W. Neural Modeling of the Distribution of Protein, Water and Gluten in Wheat Grains during Storage. Sustainability 2020, 12, 5050. [Google Scholar] [CrossRef]
  25. Xia, A.L.; Zhang, Y.; Zhao, L.Z.; Qin, P. Simultaneous, Rapid and Nondestructive Determination of Moisture, Fat Content and Storage Time in Leisure Dried Tofu Using LF-NMR. Anal. Sci. 2021, 37, 301–307. [Google Scholar] [CrossRef] [PubMed]
  26. Mirzabe, A.H.; Khazaei, J.; Chegini, G.R.; Nejad, M.H.A.P.R. Determination of some physical properties of virgin olive fruits. Agric. Eng. Int. CIGR J. 2013, 15, 201–210. [Google Scholar]
  27. Sahithi Murakonda, S.; Patel, G.; Dwivedi, M. Characterization of engineering properties and modeling mass and fruit fraction of wood apple (Limonia acidissima) fruit for post-harvest processing. J. Saudi Soc. Agric. Sci. 2022, 21, 267–277. [Google Scholar] [CrossRef]
  28. Barbhuiya, R.I.; Nath, D.; Singh, S.K.; Dwivedi, M. Mass Modeling of Indian Coffee Plum (Flacourtia jangomas) Fruit with its Physicochemical Properties. Int. J. Fruit Sci. 2020, 20, S1110–S1133. [Google Scholar] [CrossRef]
  29. Vivek, K.; Mishra, S.; Pradhan, R.C. Physicochemical characterization and mass modelling of Sohiong (Prunus nepalensis L.) fruit. J. Food Meas. Charact. 2018, 12, 923–936. [Google Scholar] [CrossRef]
  30. Moradi, M.; Balanian, H.; Taherian, A.; Khaneghah, A.M. Physical and mechanical properties of three varieties of cucumber: A mathematical modeling. J. Food Process. Eng. 2020, 43, 13323. [Google Scholar] [CrossRef]
  31. Li, Z.G.; Andrews, J.; Wang, Y.Q. Mathematical modelling of mechanical damage to tomato fruits. Postharvest Biol. Technol. 2017, 126, 50–56. [Google Scholar] [CrossRef]
  32. Gao, Y.W.; Song, C.B.; Rao, X.Q.; Ying, Y.B. Image processing-aided FEA for monitoring dynamic response of potato tubers to impact loading. Comput. Electron. Agric. 2018, 151, 21–30. [Google Scholar] [CrossRef]
  33. Salarikia, A.; Miraei Ashtiani, S.-H.; Golzarian, M.R.; Mohammadinezhad, H. Finite element analysis of the dynamic behavior of pear under impact loading. Inform. Process. Agric. 2017, 4, 64–77. [Google Scholar] [CrossRef]
  34. Zulkifli, N.; Hashim, N.; Harith, H.H.; Shukery, M.F.M. Finite element modelling for fruit stress analysis—A review. Trends Food Sci. Technol. 2020, 97, 29–37. [Google Scholar] [CrossRef]
  35. Ropelewska, E. Assessment of the Influence of Storage Conditions and Time on Red Currants (Ribes rubrum L.) Using Image Processing and Traditional Machine Learning. Agriculture 2022, 12, 1730. [Google Scholar] [CrossRef]
  36. Hu, M.; Dong, Q.; Liu, B.; Opara, U.L. Prediction of mechanical properties of blueberry using hyperspectral interactance imaging. Postharvest Biol. Technol. 2016, 115, 122–131. [Google Scholar] [CrossRef]
  37. Huang, W.; Wang, X.; Zhang, J.; Xia, J.; Zhang, X. Improvement of blueberry freshness prediction based on machine learning and multi-source sensing in the cold chain logistics. Food Control 2023, 145, 109496. [Google Scholar] [CrossRef]
  38. PN-90/A-75101-03:1990; Fruit and Vegetable Preserves-Sample Preparation and Physicochemical Test Methods-Determination of dry Matter Content by Gravimetry. Polish Committee for Standardization: Warsaw, Poland, 1990.
  39. Vapnik, V.N.; Lerner, A. Pattern recognition using generalized portrait method. Autom. Remote Control 1963, 24, 774–780. [Google Scholar]
  40. Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  41. Yeh, I.C.; Cheng, W.-L. First and second order sensitivity analysis of MLP. Neurocomputing 2010, 73, 2225–2233. [Google Scholar] [CrossRef]
  42. Her, Q.L.; Wong, J. Significant correlation versus strength of correlation. Am. J. Health Syst. Pharm. 2019, 77, 73–75. [Google Scholar] [CrossRef]
  43. Yoon, H.; Jun, S.C.; Hyun, Y.; Bae, G.O.; Lee, K.K. A comparative study of artificial neural networks and support vector machines for predicting groundwater levels in a coastal aquifer. J. Hydrol. 2011, 396, 128–138. [Google Scholar] [CrossRef]
  44. El Bilali, A.; Moukhliss, M.; Taleb, A.; Nafii, A.; Alabjah, B.; Brouziyne, Y.; Mazigh, N.; Teznine, K.; Mhamed, M. Predicting daily pore water pressure in embankment dam: Empowering Machine Learning-based modeling. Environ. Sci. Pollut. Res. 2022, 29, 47382–47398. [Google Scholar] [CrossRef]
  45. Lara, I.; Belge, B.; Goulao, L.F. The fruit cuticle as a modulator of postharvest quality. Postharvest Biol. Technol. 2014, 87, 103–112. [Google Scholar] [CrossRef]
  46. Tzortzakis, N.; Borland, A.; Singleton, I.; Barnes, J. Impact of atmospheric ozone-enrichment on quality-related attributes of tomato fruit. Postharvest Biol. Technol. 2007, 45, 317–325. [Google Scholar] [CrossRef]
  47. Palou, L.; Crisosto, C.H.; Smilanick, J.L.; Adaskaveg, J.E.; Zoffoli, J.P. Effects of continuous 0.3 ppm ozone exposure on decay development and physiological responses of peaches and table grapes in cold storage. Postharvest Biol. Technol. 2002, 24, 39–48. [Google Scholar] [CrossRef]
  48. Crisosto, C.H.; Retzlaff, W.A.; Williams, L.E.; Dejong, T.M.; Zoffoli, J.P. Postharvest performance evaluation of plum (prunus-salicina lindel, casselman) fruit grown under 3 ozone concentrations. J. Am. Soc. Hortic. Sci. 1993, 118, 497–502. [Google Scholar] [CrossRef]
  49. Aday, M.S.; Caner, C. Individual and combined effects of ultrasound, ozone and chlorine dioxide on strawberry storage life. Lwt-Food Sci. Technol. 2014, 57, 344–351. [Google Scholar] [CrossRef]
  50. Cevher, E.Y.; Yildirim, D. Using Artificial Neural Network Application in Modeling the Mechanical Properties of Loading Position and Storage Duration of Pear Fruit. Processes 2022, 10, 2245. [Google Scholar] [CrossRef]
  51. Vasighi-Shojae, H.; Gholami-Parashkouhi, M.; Mohammadzamani, D.; Soheili, A. Predicting Mechanical Properties of Golden Delicious Apple Using Ultrasound Technique and Artificial Neural Network. Food Anal. Methods 2020, 13, 699–705. [Google Scholar] [CrossRef]
  52. Abasi, S.; Minaei, S.; Jamshidi, B.; Fathi, D.; Khoshtaghaza, M.H. Rapid measurement of apple quality parameters using wavelet de-noising transform with Vis/NIR analysis. Sci. Hortic. 2019, 252, 7–13. [Google Scholar] [CrossRef]
  53. Saiedirad, M.H.; Mirsalehi, M. Prediction of mechanical properties of cumin seed using artificial neural networks. J. Texture Stud. 2010, 41, 34–48. [Google Scholar] [CrossRef]
Figure 1. Dependence of destructive force FD on ozone treatment time OT and storage time ST for redcurrant fruit harvested seven days before harvest maturity P and at harvest maturity O.
Figure 1. Dependence of destructive force FD on ozone treatment time OT and storage time ST for redcurrant fruit harvested seven days before harvest maturity P and at harvest maturity O.
Agriculture 13 02125 g001
Figure 2. Dependence of apparent modulus of elasticity EC on ozone treatment time OT and storage time ST for redcurrant fruit harvested seven days before harvest maturity P and at harvest maturity O.
Figure 2. Dependence of apparent modulus of elasticity EC on ozone treatment time OT and storage time ST for redcurrant fruit harvested seven days before harvest maturity P and at harvest maturity O.
Agriculture 13 02125 g002
Figure 3. Predicted values versus measured values of modulus of elasticity for test data set: (A)—all data (MLP model with 7 inputs); (B)—control (RBF model with 6 inputs); (C)—ozone exposure time 15 min (MLP model with 6 inputs); (D)—ozone exposure time 30 min (MLP model with 6 inputs).
Figure 3. Predicted values versus measured values of modulus of elasticity for test data set: (A)—all data (MLP model with 7 inputs); (B)—control (RBF model with 6 inputs); (C)—ozone exposure time 15 min (MLP model with 6 inputs); (D)—ozone exposure time 30 min (MLP model with 6 inputs).
Agriculture 13 02125 g003
Figure 4. Predicted values versus measured values of destructive force for test data set: (A)—all data (RBF model with 7 inputs); (B)—control (MLP model with 6 inputs); (C)—ozone exposure time 15 min (RBF model with 6 inputs); (D)—ozone exposure time 30 min (MLP model with 6 inputs).
Figure 4. Predicted values versus measured values of destructive force for test data set: (A)—all data (RBF model with 7 inputs); (B)—control (MLP model with 6 inputs); (C)—ozone exposure time 15 min (RBF model with 6 inputs); (D)—ozone exposure time 30 min (MLP model with 6 inputs).
Agriculture 13 02125 g004
Figure 5. The relative importance of input variables of MLP model on modulus of elasticity EC and destructive force FD.
Figure 5. The relative importance of input variables of MLP model on modulus of elasticity EC and destructive force FD.
Agriculture 13 02125 g005
Table 1. Morphological characteristics, moisture content, and mechanical properties of red currant fruit for cultivars, harvest date, storage time, and ozonation time.
Table 1. Morphological characteristics, moisture content, and mechanical properties of red currant fruit for cultivars, harvest date, storage time, and ozonation time.
CultivarOzonation Time
[min]
Harvest DateStorage Time
[Days]
Volume
[cm3]
Density
[g/cm3]
Moisture
Content [%]
Destructive Force
[N]
Apparent Modulus of Elasticity
[kPa]
‘Holenderska Czerwona’0P10.48 b ± 0.101.075 a ± 0.04185.74 b ± 1.982.99 a ± 0.9370.80 a ± 22.34
0P80.42 a ± 0.151.066 a ± 0.05686.54 b ± 1.452.73 a ± 0.8468.58 a ± 22.58
0P150.40 a ± 0.061.075 a ± 0.02882.97 a ± 0.872.53 a ± 0.8067.41 a ± 12.27
0O10.46 a ± 0.111.046 a ± 0.02784.10 a ± 1.273.24 b ± 0.6381.84 b ± 18.05
0O80.47 a ± 0.101.140 b ± 0.04384.59 a ± 1.352.17 a ± 0.9751.56 a ± 21.40
0O150.45 a ± 0.081.109 b ± 0.04583.92 a ± 2.572.73 ab ± 0.6756.17 a ± 13.15
15P10.36 a ± 0.091.044 a ± 0.02685.43 b ± 1.182.94 ab ± 0.6487.93 b ± 26.04
15P80.34 a ± 0.121.097 b ± 0.04985.56 b ± 1.723.46 b ± 0.7895.43 b ± 28.67
15P150.40 b ± 0.061.089 b ± 0.03683.80 a ± 1.072.66 a ± 0.4667.14 a ± 11.19
15O10.45 b ± 0.071.089 a ± 0.07083.51 a ± 0.952.50 a ± 0.7670.97 b ± 20.00
15O80.37 a ± 0.111.112 a ± 0.06282.88 a ± 1.122.55 a ± 0.8379.04 b ± 24.36
15O150.47 b ± 0.081.097 a ± 0.04783.86 a ± 1.652.77 a ± 0.5256.14 a ± 12.04
30P10.43 a ± 0.061.069 a ± 0.04984.53 ab ± 1.503.07 a ± 0.7178.15 a ± 19.04
30P80.40 a ± 0.151.097 a ± 0.06085.47 b ± 2.032.75 a ± 0.8174.32 a ± 31.52
30P150.40 a ± 0.061.096 a ± 0.04683.68 a ± 1.242.72 a ± 0.7865.32 a ± 12.01
30O10.44 a ± 0.061.090 a ± 0.05083.90 b ± 1.082.81 a ± 0.5075.42 b ± 10.18
30O80.47 a ± 0.111.110 a ± 0.05282.64 a ± 1.192.72 a ± 0.9559.17 a ± 22.64
30O150.46 a ± 0.061.094 a ± 0.03982.51 a ± 1.542.40 a ± 0.5251.95 a ± 9.68
‘Losan’0P10.50 b ± 0.061.110 a ± 0.05483.91 a ± 1.232.69 a ± 0.7660.24 a ± 12.77
0P80.32 a ± 0.091.089 a ± 0.06086.53 b ± 2.052.19 a ± 0.7061.71 a ± 26.42
0P150.36 a ± 0.061.103 a ± 0.04785.84 b ± 1.472.38 a ± 0.6854.98 a ± 9.25
0O10.41 a ± 0.071.136 ab ± 0.05286.51 b ± 1.843.15 b ± 0.9375.77 c ± 12.51
0O80.44 a ± 0.051.147 b ± 0.03784.61 a ± 2.333.06 b ± 0.7860.15 b ± 10.67
0O150.40 a ± 0.101.099 a ± 0.07584.40 a ± 1.271.69 a ± 0.8937.65 a ± 16.70
15P10.38 b ± 0.091.131 a ± 0.03787.03 b ± 1.632.46 a ± 0.5764.00 ab ± 17.25
15P80.32 a ± 0.101.106 a ± 0.05885.64 a ± 2.152.53 a ± 0.9672.30 b ± 22.83
15P150.36 ab ± 0.061.118 a ± 0.04084.67 a ± 1.292.04 a ± 0.6950.57 b ± 11.25
15O10.31 a ± 0.121.132 b ± 0.05486.29 b ± 2.431.72 a ± 0.7152.43 ab ± 28.44
15O80.36 a ± 0.061.110 b ± 0.04084.93 a ± 0.912.49 b ± 0.7965.73 b ± 9.96
15O150.35 a ± 0.101.034 a ± 0.09283.85 a ± 1.092.68 b ± 1.9250.65 a ± 20.22
30P10.40 b ± 0.081.095 a ± 0.05084.90 a ± 1.762.79 a ± 1.3859.88 a ± 17.98
30P80.28 a ± 0.091.083 a ± 0.06085.51 a ± 1.782.39 a ± 0.5883.62 b ± 22.54
30P150.36 b ± 0.061.117 a ± 0.04385.18 a ± 1.272.40 a ± 1.2652.67 a ± 11.48
30O10.35 a ± 0.111.164 b ± 0.11884.72 a ± 1.772.85 b ± 1.3175.10 b ± 39.60
30O80.37 a ± 0.041.132 ab ± 0.06184.91 a ± 1.172.41 ab ± 1.0259.56 a ± 10.41
30O150.34 a ± 0.091.106 a ± 0.08884.99 a ± 1.571.96 a ± 0.6754.81 a ± 10.63
‘Luna’0P10.41 a ± 0.091.147 a ± 0.04187.06 b ± 2.274.11 b ± 0.7291.95 b ± 16.19
0P80.37 a ± 0.061.132 a ± 0.05784.63 a ± 1.734.15 b ± 1.2192.367 b ± 13.51
0P150.35 a ± 0.061.129 a ± 0.04084.90 a ± 1.543.29 a ± 0.9571.28 a ± 18.30
0O10.33 a ± 0.051.139 b ± 0.03987.83 b ± 1.743.60 a ± 1.0188.01 b ± 17.38
0O80.34 a ± 0.121.136 b ± 0.05086.97 b ± 1.263.52 a ± 1.9480.81 ab ± 23.48
0O150.39 a ± 0.061.078 a ± 0.05083.57 a ± 1.493.80 a ± 1.6270.00 a ± 14.46
15P10.37 a ± 0.101.148 a ± 0.05084.89 a ± 2.663.88 b ± 1.4392.71 b ± 14.37
15P80.35 a ± 0.081.143 a ± 0.04385.06 a ± 3.062.87 a ± 0.9982.39 ab ± 14.13
15P150.33 a ± 0.031.145 a ± 0.05983.95 a ± 1.223.37 ab ± 1.2475.57 a ± 15.80
15O10.41 a ± 0.131.129 b ± 0.06784.72 a ± 1.913.58 b ± 1.4981.47 b ± 24.33
15O80.38 a ± 0.091.146 b ± 0.04385.70 a ± 1.992.33 a ± 0.9262.17 a ± 14.70
15O150.37 a ± 0.071.056 a ± 0.05584.81 a ± 2.013.79 b ± 1.1769.22 ab ± 11.23
30P10.33 a ± 0.071.150 a ± 0.07985.74 b ± 1.573.43 a ± 1.2399.27 b ± 30.66
30P80.31 a ± 0.051.145 a ± 0.06484.91 ab ± 2.243.83 a ± 0.78104.41 b ± 17.02
30P150.34 a ± 0.061.138 a ± 0.05384.42 a ± 1.913.66 a ± 1.3275.35 a ± 21.25
30O10.36 a ± 0.091.163 b ± 0.05485.41 b ± 1.424.17 b ± 1.1591.81 b ± 20.21
30O80.32 a ± 0.121.114 a ± 0.07785.69 b ± 1.812.83 a ± 1.5173.76 a ± 26.26
30O150.36 a ± 0.061.129 ab ± 0.06283.87 a ± 1.322.66 a ± 0.8160.42 a ± 12.86
Data are expressed as mean values (n = 15) ± SD; SD—standard deviation. Mean values within columns with different letters for duration of storage are significantly different (p < 0.05).
Table 2. Correlation coefficients between explanatory and response variables.
Table 2. Correlation coefficients between explanatory and response variables.
Ozonation Time Storage TimeVolumeDensityMoisture Content Destructive Force Apparent Modulus of Elasticity
Ozonation time 1.000.00−0.130.05−0.13−0.040.05
Storage time0.001.00−0.07−0.09−0.24−0.13−0.30
Volume−0.13−0.071.00−0.12−0.32−0.07−0.55
Density0.05−0.09−0.121.000.000.060.10
Moisture content −0.13−0.24−0.320.001.00−0.020.15
Destructive force −0.04−0.13−0.070.06−0.021.000.61
Apparent modulus of elasticity0.05−0.30−0.550.100.150.611.00
Table 3. Structures and error metrics of the best MLP models.
Table 3. Structures and error metrics of the best MLP models.
Output ParameterModel StructureTrainValidationTestGA
RMSERRMSERRMSER
modulus of elasticity EC7-8-112.920.8312.530.8814.680.801.14
destructive force FD7-8-10.950.530.960.531.190.361.25
Table 4. Structures and error metrics of the best MLP models.
Table 4. Structures and error metrics of the best MLP models.
Output ParameterModel StructureTrainValidationTestGA
RMSERRMSERRMSER
Control
modulus of elasticity Ec6-21-113.030.8011.920.8614.860.771.14
destructive force FD6-34-10.910.571.020.391.340.461.47
Ozone exposure time 15 min
modulus of elasticity EC6-18-113.790.7913.160.8213.980.821.01
destructive force FD6-24-10.980.480.790.741.020.451.04
Ozone exposure time 30 min
modulus of elasticity Ec6-17-113.690.8415.080.8513.380.820.97
destructive force FD6-31-10.700.761.090.560.930.601.33
Table 5. Structures and error metrics of the best RBF models.
Table 5. Structures and error metrics of the best RBF models.
Output ParameterModel StructureTrainValidationTestGA
RMSERRMSERRMSER
modulus of elasticity EC7-37-115.770.7315.740.7517.520.751.11
destructive force FD7-39-10.970.491.180.391.060.381.09
Table 6. Structures and error metrics of the best RBF models.
Table 6. Structures and error metrics of the best RBF models.
Output ParameterModel StructureTrainValidationTestGA
RMSERRMSERRMSER
Control
modulus of elasticity Ec6-46-113.450.7914.880.8014.710.781.09
destructive force FD6-16-10.860.620.950.551.440.371.67
Ozone exposure time 15 min
modulus of elasticity EC6-36-114.440.7715.810.7717.360.701.20
destructive force FD6-26-11.020.400.930.661.010.490.99
Ozone exposure time 30 min
modulus of elasticity Ec6-35-114.990.8117.130.7619.050.641.27
destructive force FD6-35-10.890.561.080.541.110.331.25
Table 7. Error metrics of the best SVM models.
Table 7. Error metrics of the best SVM models.
Output ParameterTrainTestGA
RMSERRMSER
modulus of elasticity EC14.600.7815.270.781.04
destructive force FD1.130.361.160.281.03
Table 8. Error metrics of the best SVM models.
Table 8. Error metrics of the best SVM models.
Output ParameterTrainTestGA
RMSERRMSER
Control
modulus of elasticity EC15.590.7019.250.761.23
destructive force FD1.030.521.040.431.01
Ozone exposure time 15 min
modulus of elasticity EC18.210.6616.230.650.89
destructive force FD1.250.421.200.300.96
Ozone exposure time 30 min
modulus of elasticity EC13.730.8515.140.761.10
destructive force FD1.050.510.930.370.88
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

Kuźniar, P.; Pentoś, K.; Gorzelany, J. Evaluation of the Use of Machine Learning to Predict Selected Mechanical Properties of Red Currant Fruit (Ribes rubrum L.) Ozonized during Storage. Agriculture 2023, 13, 2125. https://doi.org/10.3390/agriculture13112125

AMA Style

Kuźniar P, Pentoś K, Gorzelany J. Evaluation of the Use of Machine Learning to Predict Selected Mechanical Properties of Red Currant Fruit (Ribes rubrum L.) Ozonized during Storage. Agriculture. 2023; 13(11):2125. https://doi.org/10.3390/agriculture13112125

Chicago/Turabian Style

Kuźniar, Piotr, Katarzyna Pentoś, and Józef Gorzelany. 2023. "Evaluation of the Use of Machine Learning to Predict Selected Mechanical Properties of Red Currant Fruit (Ribes rubrum L.) Ozonized during Storage" Agriculture 13, no. 11: 2125. https://doi.org/10.3390/agriculture13112125

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop