KMITL
Permanent URI for this communityhttps://dspace.kmitl.ac.th/handle/123456789/1
Browse
11 results
Search Results
- Some of the metrics are blocked by yourconsent settings
Item type:Publication, Hybrid Deep Learning Framework for Accurate Surface Defect Detection Using Autoencoder and CNNs(2026-01-01) ;Craypo, Niphat ;Banjongkan, AnupongHanskunatai, AnantapornSurface defect detection is paramount in industrial quality control. Conventional methods, which often rely on human inspection or manually engineered statistical models, frequently fail to accurately detect and classify defects, particularly on complex surfaces or those with intricate features. Human inspection is inherently inconsistent and prone to errors due to fatigue, while traditional machine vision systems often lack the sensitivity to clearly identify small or low-contrast defects. This paper proposes a hybrid deep learning framework, termed Autoencoders-Convolutional Neural Networks (AE-CNNs), DefectNet, for surface defect classification, AE, and CNNs to enhance both accuracy and efficiency. The AE is employed to extract and compress reliable features from surface images into latent representations, which are subsequently classified by a CNN enhanced through transfer learning using InceptionV3. The CNN is fine-tuned from a pretrained model with customized fully connected layers to adapt to specific defect characteristics, while the AE is trained exclusively on non-defective images. The encoded features produced by the AE serve as the input to the CNN. The proposed model is evaluated on standard benchmark datasets comprising diverse surface defect types and compared against Anomaly Detection with Autoencoder (ADA), Visual Geometry Group (VGG16), Inception-based Convolutional Neural Network Long Short-Term Memory (In-CNNLSTM), and DTL_Inception_v3. Experimental results demonstrate the superior performance of the proposed method, achieving classification accuracies ranging from 85.60% to 100% across five datasets, including a perfect 100% accuracy on the glass bottle neck dataset. - Some of the metrics are blocked by yourconsent settings
Item type:Publication, Minimum cost of job assignment in polynomial time by adaptive unbiased filtering and branch-and-bound algorithm with the best predictor(2025-06-01) ;Werapun, Jeeraporn ;Towongpaichayont, WitchayaHanskunatai, AnantapornThe minimum cost of job assignment (Min-JA) is one of the practical NP-hard problems to manage the optimization in science-and-engineering applications. Formally, the optimal solution of the Min-JA can be computed by the branch-and-bound (BnB) algorithm (with the efficient predictor) in O(n!), n = problem size, and O(n<sup>3</sup>) in the best case but that best case hardly occurs. Currently, metaheuristic algorithms, such as genetic algorithms (GA) and swarm-optimization algorithms, are extensively studied, for polynomial-time solutions. Recently, unbiased filtering (in search-space reduction) could solve some NP-hard problems, such as 0/1-knapsack and multiple 0/1-knapsacks with Latin square (LS) of m-capacity ranking, for the ideal solutions in polynomial time. To solve the Min-JA problem, we propose the adaptive unbiased-filtering (AU-filtering) in O(n<sup>3</sup>) with a new hybrid (search-space) reduction (of the indirect metaheuristic strategy and the exact BnB). Innovation-and-contribution of our AU-filtering is achieved through three main steps: 1. find 9 + n effective job-orders for the good initial solutions (by the indirect assignment with UP: unbiased predictor), 2. improve top 9-solutions by the indirect improvement of the significant job-orders (by Latin square of n permutations plus n complex mod-functions), and 3. classify objects (from three of the best solutions) for AU-filtering (on large n) with deep-reduction (on smaller n’) and repeat (1)-(3) until n’ < 6, the exact BnB is applied. In experiments, the proposed AU-filtering was evaluated by a simulation study, where its ideal results outperformed the best results of the hybrid swarm-GA algorithm on a variety of 2D datasets (n ≤ 1000). - Some of the metrics are blocked by yourconsent settings
Item type:Publication, A Partition-Based Hybrid Algorithm for Effective Imbalanced Classification(2025-04-01) ;Theephoowiang, KittipongHanskunatai, AnantapornImbalanced classification presents a significant challenge in real-world datasets, requiring innovative solutions to enhance performance. This study introduces a hybrid binary classification algorithm designed to effectively address this challenge. The algorithm identifies different data types, pairs them, and trains multiple models, which then vote on predictions using weighted strategies to ensure stable performance and minimize overfitting. Unlike some methods, it is designed to work consistently with both noisy and noise-free datasets, prioritizing overall stability rather than specific noise adjustments. The algorithm’s effectiveness is evaluated using Recall, G-Mean, and AUC, measuring its ability to detect the minority class while maintaining balance. The results reveal notable improvements in minority class detection, with Recall outperforming other methods in 16 out of 22 datasets, supported by paired t-tests. The algorithm also shows promising improvements in G-Mean and AUC, ranking first in 17 and 18 datasets, respectively. To further evaluate its performance, the study compares the proposed algorithm with previous methods using G-Mean. The comparison confirms that the proposed algorithm also exhibits strong performance, further highlighting its potential. These findings emphasize the algorithm’s versatility in handling diverse datasets and its ability to balance minority class detection with overall accuracy. - Some of the metrics are blocked by yourconsent settings
Item type:Publication, Tourist Destination Recommendation System based on Machine Learning(2024-10-03) ;Kongpeng, SumitraHanskunatai, AnantapornThailand has a wide variety of tourist attractions, making it difficult for tourist to choose where to go on vacation. The tourist destination recommendation system is a challenge for creating a system to help recommend tourist destinations that are appropriate for personal. Therefore, the principal aims of this research encompass two distinct objectives: firstly, to create a recommendation system for tourist destinations in Thailand by applying machine learning algorithms; and secondly, to analyze factors influencing tourists' choices of destinations. The dataset was gathered from an online survey conducted via Google Forms, comprising responses from 429 tourists in Thailand. In the experiments, three different types of feature selection methods were applied in a data preprocessing step. In the modeling process, four machine learning algorithms, namely Decision Tree, Random Forest, k-Nearest Neighbors (k-NN), and Multi-Layer Perceptron (MLP), were used to construct the model and compare the predictive performance of the recommendation system based on hit rate and NDCG. The experimental results showed that suggesting tourist destinations in the Central region was the most effective, with the highest hit rate and NDCG compared to other regions. The average hit rate and NDCG for the five regions were 0.8 and 0.59, respectively. In addition, there has been an analysis of key factors influencing destination selection, such as activity, travel month, travel budget, and the age of tourists, to understand their impact on travel choices in each region of Thailand. - Some of the metrics are blocked by yourconsent settings
Item type:Publication, Multi-Label Classification of Foreign Tourists' Opinions on Thailand Tourism Development(2024-10-03) ;Suramanka, LalitaHanskunatai, AnantapornThe enhancement of tourism quality in Thailand through the understanding and utilization of foreign tourists' opinions presents challenges due to the extensive volume of data involved. This research proposes a two-fold approach to address this issue: (1) the development of an opinion classification model, and (2) the analysis of tourists' opinions through a dashboard. A dataset, compiled by the Tourism Authority of Thailand (TAT) and consisting of opinions from foreign tourists regarding areas for improvement in Thai tourism, was utilized. A total of 2,249 comments were collected. Experimental results demonstrate that the use of data augmentation, feature selection, Multi-label transformation using Classifier Chains, and the Random Forest classification model on the training dataset yields promising results with an accuracy rate of 80%, precision of 90%, recall of 81%, F1-score of 85%, and Hamming loss of 0.04. Analysis from the dashboard revealed the top three key areas for improvement: communication/language, traffic/public transportation, and cleanliness/hygiene. - Some of the metrics are blocked by yourconsent settings
Item type:Publication, FAST DEFECT DETECTION FOR GLASS BOTTLE USING AUTOENCODER AND ERROR THRESHOLD(2024-06-01) ;Hanskunatai, Anantaporn ;Jaiyen, SaichonClaypo, NiphatGlass bottle defect detection is an important part of quality control process in any glass manufacturing industry. The bottles must be inspected before packaging. Machine vision for glass bottle defect detection is the technology and method to inspect and analyze the defects for images automatically. Machine vision requires high-ability method to detect the defect and reject the bottle with the defect quickly. In this paper, defect detection framework for glass bottle defect detection tasks using autoencoders and error threshold is proposed. The fast detection method, a small autoencoder neural network architecture was designed with only good bottle images to train an autoencoder neural network. The decoded images are representations of normal bottle images and calculate threshold errors value. Defect detection is done by comparing the error between the normal background image and the encoded images to a threshold error from the training set. The performance of our method was compared to several other methods: VGG16, MobileNetV3, ADA, edge detection and image threshold. The experimental results show that our method yields 80% of accuracy on the body dataset and 92% of accuracy on the neck dataset. The average training time of our method is faster than that of all other neural network-based methods. From the experimental results, we can conclude that our defect detection framework outperforms other approaches both in accuracy and training time for defect detection on the side wall of a glass bottle. - Some of the metrics are blocked by yourconsent settings
Item type:Publication, FACE SPOOFING DETECTION BASED ON DEEP FEATURE EXTRACTION AND INSTANCE-BASED CLASSIFICATION(2023-02-01) ;Claypo, Niphat ;Jaiyen, SaichonHanskunatai, AnantapornFace recognition is an important task in smart home security for detecting a face or monitoring a person in a live video and verifying the identity of an authentic user. However, there have been spoofing face methods that can trick a face recognition algorithm into wrongly verifying the identity of the person. In this paper, we propose a new hybrid framework for spoofing face detection based on Convolutional Neural Network and Long Short-Term Memory (CNNLSTM) and instance-based learning algorithm. In addition, a new dataset called FSA-CCTV is proposed, which contains face images from CCTV video clips with many types of spoofing attacks. The performance of our method was compared to several other anti-spoofing methods: CNN and RI-LBP, SLRNN, HSV+YCbCr, ResNet50, YCbCr+SVM and YCbCr+KNN. The experimental results show that our method yielded 93.2% of Accuracy, 96.8% of Recall, 94% of Precision, 94.8% of F<inf>1</inf>-score and 0.93 of AUC on the FSA-CCTV dataset. From the experimental results we can conclude that the proposed algorithm outperforms other approaches and yielded the most stable classification accuracy on the proposed dataset. - Some of the metrics are blocked by yourconsent settings
Item type:Publication, Question Classification for Thai Conversational Chatbots Using Artificial Neural Networks and Multilingual BERT Models(2023-01-01) ;Thananukhun, Kit ;Jaiyen, Saichon ;Jitkajornwanich, KulsawasdHanskunatai, AnantapornQuestion-Answering (QA) models are part of Natural Language Processing (NLP) field used for ensuring questions match the answers appropriately. QA consists of several steps, one of which is called Question Classification, which is to classify the context of communication. In this step, it categorizes group of questions based on what users need to know in order to combine answers within the same category and respond accurately. It helps saving us time to search for answers as well. In this paper, we present a question classification model for Thai Conversational Chatbot using Artificial Neural Network and Multilingual Bidirectional Encoder Representations from Transformer (BERT) models using BERT-base multilingual cased combined with Multilayer Perceptron (MLP). The method yields the highest accuracy of 92.57%, compared to the BERT-base multilingual cased combined with other classification models, including Support Vector Machine (SVM), Naive Bayes (NB), K-Nearest Neighbors (KNN) and Decision Trees (DTs) with the accuracy scores of 88.57%, 80.00%, 78.57% and 60.29%, respectively. In addition, we also compare the performance of our proposed BERT model with another well-known Thai word embedding model, called Thai2Vec, which also combines with other classification models including MLP, SVM, NB, KNN and DTs, and their results of accuracies are: 85.71%, 85.71%, 75.71%, 75.71% and 58.86%, respectively. From the experiments, the BERT model combined with MLP can achieve the highest performance in term of accuracy among other methods. - Some of the metrics are blocked by yourconsent settings
Item type:Publication, Hierarchical Convolutional Neural Networks using CCP-3 Block Architecture for Apparel Image Classification(2023-01-01) ;Chamnong, Natthamon ;Werapun, JeerapornHanskunatai, AnantapornIn fashion applications, deep learning has been applied automatically to recognize and classify the apparel images under the massive visual data, emerged on social networks. To classify the apparel correctly and quickly is challenging due to a variety of apparel features and complexity of the classification. Recently, the hierarchical convolutional neural networks (H–CNN) with the VGGNet architecture was proposed to classify the fashion-MNIST datasets. However, the VGGNet (many layers) required many filters (in the convolution layer) and many neurons (in the fully connected layer), leading to computational complexity and long training-time. Therefore, this paper proposes to classify the apparel images by the H–CNN in cooperated with the new shallow-layer CCP-3-Block architecture, where each building block consists of two convolutional layers (CC) and one pooling layer (P). In the CCP-3-Block, the number of layers can be reduced (in the network), the number of filters (in the convolution layer), and the number of neurons (in the fully connected layer), while adding a new connection between the convolution layer and the pooling layer plus a batch-normalization technique before passing the activation so that networks can learn independently and train quickly. Moreover, dropout techniques were utilized in the feature mapping and fully connected to reduce overfitting, and the optimizer adaptive moment estimation was utilized to solve the decaying of gradients, which can improve the network-performance. The experimental results showed that the improved H–CNN model with our CCP-3-Block outperformed the recent H–CNN model with the VGGNet in terms of decreased loss, increased accuracy, and faster training. - Some of the metrics are blocked by yourconsent settings
Item type:Publication, Inspection System for Glass Bottle Defect Classification based on Deep Neural Network(2023-01-01) ;Claypo, Niphat ;Jaiyen, SaichonHanskunatai, AnantapornThe problem of defects in glass bottles is a significant issue in glass bottle manufacturing. There are various types of defects that can occur, including cracks, scratches, and blisters. Detecting these defects is crucial for ensuring the quality of glass bottle production. The inspection system must be able to accurately detect and automatically determine that the defects in a bottle affect its appearance and functionality. Defective bottles must be identified and removed from the production line to maintain product quality. This paper proposed glass bottle defect classification using Convolutional Neural Network with Long Short-Term Memory (CNNLSTM) and instant base classification. CNNLSTM is used for feature extraction to create a representation of the class data. The instant base classification predicts anomalies based on the similarity of representations of class data. The convolutional layer of the CNNLSTM method incorporates a transfer learning algorithm, using pre-trained models such as ResNet50, AlexNet, MobileNetV3, and VGG16. In this experiment, the results were compared with ResNet50, AlexNet, MobileNetV3, VGG16, ADA, Image threshold, and Edge detection methods. The experimental results demonstrate the effectiveness of the proposed method, achieving high classification accuracies of 77% on the body dataset, 95% on the neck dataset, and an impressive 98% on the rotating dataset.
