For this research, mechanical and electronic instruments were used, due to the measurements and recording of metrics such as CPU consumption, memory consumption, processing time, precision, recall and accuracy.
3.2. Figures, Tables and Schemes
- ▪
Método de Detección de Madurez
La investigación utilizó un método de Redes Neuronales Convolucionales para detectar la madurez del aguacate a partir de imágenes. Este enfoque de aprendizaje automático permite entrenar un modelo de clasificación que puede analizar las características visuales de los aguacates y determinar su grado de madurez.
- ▪
Precisión del Método:
The research proposes to develop a machine learning method to predict avocado ripening more accurately. To do this, samples of avocados at different ripening stages were collected and various physical and chemical characteristics, such as color, texture, etc., were recorded. Based on the attributes observed, categories or classes of avocado ripening were established, such as:
It achieved an accuracy of 95% and a Recall of 100% indicating that the method detected all underripe avocados with a minimal false negative rate.
T10 (temperature at 10°C): Accuracy of 96%. Avocados show a deep green skin color and firm texture.
T20 (temperature at 20°C): Accuracy 94%. Avocados show a slightly paler green skin color and a slightly less firm texture.
Tam (room temperature): 93% accuracy. Avocados have a yellowish-green skin color and a moderately firm texture.
- ▪
Rompiendo maduro:
It achieved an accuracy of 100% and a Recall of 85% indicating that the method detected all avocados breaking ripe with a minimal false negative rate.
T10: Accuracy of 84%. Avocados show first signs of softening and slight skin discoloration.
T20: Accuracy 95%. Avocados show a yellowish-green skin color and a smooth texture to the touch.
Tam: Accuracy 94%. Avocados have reached optimum maturity, with darkened skin and a soft but still firm texture
- ▪
Maduro 01 Fase:
It achieved an accuracy of 95% and a Recall of 85%, indicating that the method detected the majority of avocados at the ripe-breaking stage, although with a moderate false negative rate.
T10: Accuracy of 92%. Avocados have a dark green skin color, a firm texture and a relatively low oil content.
T20: Accuracy of 90%. Avocados show a yellowish-green skin, slightly softer texture and increased oil content.
Tam: Accuracy 88%. Avocados exhibit a more pronounced yellowish-green peel, smooth texture and medium oil content.
- ▪
Maduro 02 Fase:
It achieved an accuracy of 95% and a Recall of 97%, indicating that the method detected the majority of avocados at the ripe-breaking stage, although with a moderate false negative rate.
T10: Accuracy of 85%. Avocados have a dark brown skin color, a very smooth texture and a high oil content.
T20: Accuracy 82%. Avocados show a brown skin color, a soft texture and a very high oil content.
Tam: Accuracy of 80%. Avocados show a dark brown skin color, a very soft texture and a maximum oil content..
- ▪
Demasiado maduro:
It achieved an accuracy of 85% and a Recall of 97%, indicating that the method detected the majority of avocados at the overripe stage, albeit with a moderate false negative rate.
T10: Accuracy of 75%. Avocados have a wrinkled and blotchy skin, extremely soft texture and excessive oil content.
T20: Accuracy of 70%. Avocados exhibit a very dark and wrinkled skin, a mushy texture and too high oil content.
Tam: Accuracy 65%. Avocados exhibit very dark and very loose skin, uneven texture, and excessive oil content.
Macro and weighted average metrics also reflect balanced and consistent model performance:
Macro Average: Accuracy, recall and F1 score of 97%, 94% and 95% respectively indicate strong overall performance without dependence on the number of samples in each category
Weighted Average: With values of 96% in precision, recall and F1, it confirms that the model maintains its high accuracy in the following categories.
The collected data were organized in a format suitable for training a classification model. The machine learning algorithm, neural networks, was tested to find the model that best fit the avocado ripening classification. The performance of the selected model was evaluated using metrics such as accuracy, completeness, and adjustments were made to the hyper parameters and model architecture to improve its performance.
Figure 1.
Resultado del Algoritmo.
Figure 1.
Resultado del Algoritmo.
Table 1.
Presicion del modelo.
Table 1.
Presicion del modelo.
|
Accuracy |
Recall |
F1-Score |
Support |
Slightly mature |
0.95 |
1 |
0.94 |
10 |
Breaking mature |
1 |
0.85 |
0.95 |
15 |
Mature 01 Phase |
0.95 |
0.85 |
0.96 |
28 |
Mature 02 Phase |
0.95 |
0.97 |
0.93 |
25 |
Overripe |
0.85 |
0.97 |
0.95 |
30 |
Accuracy |
|
|
0.96 |
24 |
Macro Average |
0.97 |
0.94 |
0.95 |
24 |
Weighted Average |
0.96 |
0.96 |
0.96 |
24 |
3.3. Formatting of Mathematical Components
The following indicators were used to evaluate the user authentication method:
: CPU consumption
: CPU consumption in test j
: Total number of tests
Memory consumption:
Where:
: Memory consumption
: Memory consumption in test j
: Total number of tests
Response time
: Final response time
: Initial response time
: Total number of tests
Accuracy
The metric allows evaluating the ability of the authentication method to correctly identify users. In other words, it measures the proportion of cases in which the authentication method identifies a user as legitimate, when they actually are [
11].
Where:
VP: Total true positives
FP: Total false positives
Recall (Completeness)
The metric indicates the number of avocados that the authentication method is able to recognize correctly. That is, it measures the proportion of avocados that the authentication method identifies as avocados, when they really are.
Where:
VP: Total true positives
FN: Total false negatives