Please use this identifier to cite or link to this item: http://kmutnb-ir.kmutnb.ac.th/jspui/handle/123456789/499
Title: Classification of Social Media User Opinions on Artificial Intelligence (AI) Using Text Mining Techniques
การจำแนกความคิดเห็นของผู้ใช้งานบนโซเชียลมีเดียเกี่ยวกับเทคโนโลยีปัญญาประดิษฐ์ (AI) ด้วยเทคนิคเหมืองข้อความ
Authors: THANATMETH WUTTISATHITTHAM
ธนัทเมศร์ วุฒิสถิตย์ธรรม
SAKCHAI TANGWANNAWIT
ศักดิ์ชาย ตั้งวรรณวิทย์
King Mongkut's University of Technology North Bangkok
มหาวิทยาลัยเทคโนโลยีพระจอมเกล้าพระนครเหนือ
sakchait@kmutnb.ac.th
Keywords: Artificial Intelligence
 Text Mining
 Opinion Classification
ปัญญาประดิษฐ์
 เหมืองข้อความ
 การจำแนกความคิดเห็น
Issue Date: 6-Nov-2026
Publisher: King Mongkut's University of Technology North Bangkok
Abstract: In the digital era, characterized by rapid technological advancement, Artificial Intelligence (AI) has played a pivotal role across various sectors of Thai society, sparking diverse public discourse on social media platforms. This research aims to analyze social media users' opinions regarding AI technology, classifying them into positive and negative sentiments using text mining techniques. Furthermore, the study compares the classification performance of several algorithms: Random Forest, Naïve Bayes, Support Vector Machine (SVM), Deep Learning, Decision Tree, K-Nearest Neighbors (KNN), Neural Network, and Logistic Regression. The dataset was curated from Facebook, YouTube, Pantip, and TikTok between January 2023 and August 2025, focusing specifically on Thai-language content related to AI. Performance evaluation was based on Accuracy, Precision, Recall, and F-Measure. The analytical toolkit included Python (via Google Colab), RapidMiner for model development, Excel and Google Sheets for data management, and Power BI for dashboard visualization. The research findings indicate that the K-Nearest Neighbors (KNN) algorithm achieved the highest performance in sentiment classification. It yielded an Accuracy of 82.09%, a Precision of 88.68%, and a Recall of 84.77%, reflecting its superior capability in comprehensively and accurately detecting target sentiment groups. With a combined F-Measure of 86.68%, it can be concluded that the KNN algorithm is the most effective and stable model for the applications within this study.
 ในยุคดิจิทัลที่เทคโนโลยีมีการเปลี่ยนแปลงอย่างรวดเร็ว ปัญญาประดิษฐ์ (Artificial Intelligence: AI) ได้เข้ามามีบทบาทสำคัญในหลายภาคส่วนของสังคมไทย ส่งผลให้เกิดการแสดงความคิดเห็นอย่างหลากหลายในสื่อสังคมออนไลน์ งานวิจัยนี้มีวัตถุประสงค์เพื่อวิเคราะห์ความคิดเห็นของผู้ใช้งานบนโซเชียลมีเดียเกี่ยวกับเทคโนโลยี AI โดยจำแนกเป็นความคิดเห็นเชิงบวกและเชิงลบ ด้วยเทคนิคเหมืองข้อความ (Text Mining) และเปรียบเทียบประสิทธิภาพของอัลกอริทึมในการจำแนกความคิดเห็น ได้แก่ ได้แก่ อัลกอริทึมป่าสุ่ม (Random Forest) อัลกอริทึมนาอีฟเบย์ (Naïve Bayes) อัลกอริทึมซัพพอร์ตเวกเตอร์แมชชีน (Support Vector Machine: SVM) อัลกอริทึมการเรียนรู้เชิงลึก (Deep Learning) อัลกอริทึมต้นไม้ตัดสินใจ (Decision Tree) อัลกอริทึมเพื่อนบ้านใกล้เคียงที่สุด (K-Nearest Neighbors: KNN) อัลกอริทึมโครงข่ายประสาทเทียม (Neural Network) อัลกอริทึมการถดถอยโลจิสติก (Logistic Regression) ข้อมูลที่ใช้ในงานวิจัยได้ถูกรวบรวมจากแพลตฟอร์ม Facebook, YouTube, Pantip และ TikTok ในช่วงเดือนมกราคม พ.ศ. 2566 ถึงเดือนสิงหาคม 2568 โดยพิจารณาเฉพาะข้อความภาษาไทยที่เกี่ยวข้องกับเทคโนโลยี AI ผลการจำแนกความคิดเห็นจะประเมินโดยใช้ค่าความถูกต้อง (Accuracy), ความแม่นยำ (Precision), การระลึก (Recall) และค่าความถ่วงดุล (F-Measure) เครื่องมือที่ใช้ในการวิเคราะห์ประกอบด้วย Python บนแพลตฟอร์ม Google Colab, RapidMiner สำหรับการสร้างโมเดล, Excel และ Google Sheets สำหรับการจัดการข้อมูล และ Power BI สำหรับการนำเสนอผลในรูปแบบ Dashboard ผลการวิจัยพบว่า อัลกอริทึม เพื่อนบ้านใกล้เคียงที่สุด (K-Nearest Neighbors: KNN) มีประสิทธิภาพในการจำแนกข้อมูลสูงที่สุด โดยให้ค่าความถูกต้อง (Accuracy) เท่ากับ 82.09% และมีค่าความแม่นยำ (Precision) อยู่ที่ 88.68% ค่าความระลึก (Recall) ที่สูงถึง 84.77% ซึ่งสะท้อนให้เห็นถึงขีดความสามารถในการจำแนกและตรวจจับกลุ่มเป้าหมายได้อย่างครอบคลุมและแม่นยำ โดยมีค่าความถ่วงดุล (F-Measure) รวมอยู่ที่ 86.68% จึงสรุปได้ว่าอัลกอริทึม เพื่อนบ้านใกล้เคียงที่สุด เป็นตัวแบบที่มีประสิทธิภาพและความเสถียรสูงสุดสำหรับการนำไปประยุกต์ใช้ในงานวิจัยนี้
URI: http://kmutnb-ir.kmutnb.ac.th/jspui/handle/123456789/499
Appears in Collections:FACULTY OF INFORMATION TECHNOLOGY AND DIGITAL INNOVATION

Files in This Item:
File SizeFormat 
s6707021857252.pdf6.08 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.