Читать книгу Handbook of Intelligent Computing and Optimization for Sustainable Development - Группа авторов - Страница 88
3.4.2 Experimental Results and Statistics
ОглавлениеThe proposed approach was evaluated by measuring the effectiveness of the detection of active garments and the identification of garments of interest.
Figure 3.4 Samples from the dataset.
Table 3.2 Precision and recall of active garment detection.
Precision (%) | Recall (%) |
87.36 | 85.92 |
The effectiveness of active garment detection was evaluated by measuring its precision and recall, which are shown in Table 3.2. These metrics have been calculated as follows:
(3.5)
(3.6)
where TP, TN, FP, and FN denote the true positive, true negative, false positive, and false negative observations, respectively.
The garments of interest were verified manually with estimations (as the actual ground truth for the degree to which an active garment is a garment of interest to the customers was not available due to the subjective nature of the task). Visual illustrations of the results obtained in different scenarios have been displayed in Figures 3.5 to 3.7. In these figures, a green box indicates a garment of interest, while a red box indicates an active garment which is not a garment of interest.
Figure 3.5 Identification of garment of interest in the presence of a single customer and a single active garment.
Figure 3.6 Identification of garments of interest in the presence of a single customer and multiple active garments.
Figure 3.7 Identification of garments of interest in the presence of multiple customers.
The variation in the average confidence scores taken at varying confidence thresholds (δ) for a garment of interest of a given color is illustrated in Figure 3.8. From this figure, it can be observed that the variation takes the form of an S-curve, which signifies that the average confidence score mimics a logistic curve. Using this knowledge, we can easily observe that the confidence threshold (δ) of 0.6 is an optimal value (i.e., when the curve starts to flatten immediately after the point of inflection) to classify whether an active garment is a garment of interest to a given customer. The average confidence score at this confidence threshold (δ) exceeds 0.8 for all the colors under observation. This ensures that the wrists of the interacting person are sufficiently close to the active garment.
Figure 3.8 Variation of average confidence score with respect to changes in confidence threshold for garments of interest of a given color.
The average confidence score obtained by garments of interest for each given color at a confidence threshold (δ) of 0.6 is illustrated in Figure 3.9. This figure indicates the average degree to which the customers found the garment of a given color interesting, thereby providing insights into the colors customers found the most and least interesting for the garments present in the store.
Figure 3.9 Average confidence score obtained by garments of interest of particular color at a confidence threshold of 0.60.
The distribution of the total duration of time for which the customers were interested in a garment of a given color at a confidence threshold (δ) of 0.6 is illustrated in Figure 3.10. This figure elucidates the distribution of the total time spent by the customers for each given color, thereby providing invaluable information about which color for a garment was most and least interacted with the customer base at the store.