CORTEXA
← Browse
crossrefComputers2026-04-17

Occasion-Based Clothing Classification Using Vision Transformer and Traditional Machine Learning Models

Hanaa Alzahrani, Maram Almotairi, Arwa Basbrain

Clothing classification by occasion is an important area in computer vision and artificial intelligence (AI). This task is particularly challenging because of the subtle visual similarities among clothing categories such as formal, party, and casual attire. Variations in color, fabric, patterns, and lighting further increase the complexity of this task. To address this challenge, we used the Fashionpedia dataset to create a balanced subset of 15,000 images. Specifically, we adopted two different methods for labeling these images: automated classification, which relies on category identifications (IDs) and components, and manual labeling performed by human annotators. We then implemented our preprocessing pipeline, which includes several steps: resizing, image normalization, background removal using segmentation masks, and class balancing. We benchmarked traditional models, including artificial neural networks (ANNs), support vector machines (SVMs), and k-nearest neighbors (KNNs), which use a histogram of oriented gradient (HOG) features, as well as deep learning models such as convolutional neural networks (CNNs), the Visual Geometry Group 16 (VGG16) model utilizing transfer learning, and the vision transformer (ViT) model, all evaluated using identical data splits and preprocessing procedures. The traditional models achieved moderate accuracy, ranging from 54% to 66%. In contrast, the ViT model achieved an accuracy of 81.78% with automated classification and 98.09% with manual labeling. This indicates that a higher label accuracy, along with the preprocessing steps used, significantly enhances the performance. Together, these factors improve the effectiveness of ViT in context-aware apparel classification and establish a reliable baseline for future research.

Related papers

crossrefComputers2026-05-01

A Rigorous Comparative Study of Supervised Machine Learning Techniques for Network Anomaly Detection: Empirical Insights from the UNSW-NB15 Dataset

Nouf Alkhater

The increasing complexity of modern network infrastructures has intensified the need for reliable and efficient intrusion detection systems. While advanced deep learning approaches have demonstrated strong performance, their high computational cost and limited interpretability re…

crossrefComputers2026-03-04

Machine Learning and Deep Learning for Dropout Prediction in Higher Education: A Review

Beatriz Duro, Anabela Gomes, Fernanda Brito Correia, Ana Rosa Borges, Jorge Bernardino

Student dropout in Higher Education remains a persistent challenge with significant academic, social and economic consequences. Predictive analytics using traditional Machine Learning and Deep Learning have been increasingly explored to support early identification of students at…

crossrefComputers2026-02-12

Advanced Machine Learning Techniques for Predicting Inpatient Deterioration in General Medicine

Said Al Jaadi, Laila Al Wahaibi, Mohammed Al-Hinai, Haneen Hafiz Gaffar, Abdullah M. Al Alawi

Inpatient deterioration, marked by ICU transfer or mortality, remains a critical challenge in hospital settings. While traditional early warning systems (EWS) have limitations, machine learning (ML) offers a promising approach for the early identification of at-risk patients. Thi…

crossrefComputers2026-02-02

Research Advances in Maize Crop Disease Detection Using Machine Learning and Deep Learning Approaches

Thangavel Murugan, Nasurudeen Ahamed Noor Mohamed Badusha, Nura Shifa Musa, Eiman Mubarak Masoud Alahbabi, Ruqayyah Ali Ahmed Alyammahi, Abebe Belay Adege, et al.

Recent developments in machine learning (ML) and deep learning (DL) algorithms have introduced a new approach to the automatic detection of plant diseases. However, existing reviews of this field tend to be broader than maize-focused and do not offer a comprehensive synthesis of…