<mods:mods version="3.3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd" xmlns:mods="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><mods:titleInfo><mods:title>PERBANDINGAN METODE K-NEAREST NEIGHBOR (KNN) DAN RANDOM FOREST UNTUK KLASIFIKASI SENTIMEN KOMENTAR DI TIKTOK  (STUDI KASUS: PERFORMA ONIC ESPORTS PADA TURNAMEN M7 MOBILE LEGENDS: BANG BANG)</mods:title></mods:titleInfo><mods:name type="personal"><mods:namePart type="given">NIM.: 22106010075</mods:namePart><mods:namePart type="family">Anggit Pratiknyo Widyagiri</mods:namePart><mods:role><mods:roleTerm type="text">author</mods:roleTerm></mods:role></mods:name><mods:abstract>The performance of ONIC Esports in the M7 Mobile Legends: Bang Bang (MLBB) tournament generated various opinions among TikTok users, making sentiment analysis necessary to classify comments into positive, negative, and neutal categories. This study aims to identify the stages of sentiment classification using the k-Nearest Neighbor (kNN) and Random Forest methods, analyze the sentiment classification result, and compare the performance of both methods. The study used 5,203 Indonesian language comments collected through web scraping. The data were processed through labelling, preprocessing, and Term Frequency-Inverse Document Frequency (TF-IDF) feature extraction before being classified using kNN and Random Forest with Grid Search and 5-Fold Cross Validation. Model performance was evaluated using a confusion matrix, accuracy, precision, recall, and F1-score. The result showed that Random Forest achieved the best performance with an accuracy of 83,18%, while kNN using Euclidean and Manhattan distances achieved accuracies of 79.49% and 64.82%, respectively. Therefore, Random Forest outperformed kNN in classifying TikTok comments related to the performance of ONIC Esports in the M7 MLBB tournament.</mods:abstract><mods:classification authority="lcc">510 Mathematics (Matematika)</mods:classification><mods:originInfo><mods:dateIssued encoding="iso8061">2026-08-11</mods:dateIssued></mods:originInfo><mods:originInfo><mods:publisher>UIN SUNAN KALIJAGA YOGYAKARTA;FAKULTAS SAINS DAN TEKNOLOGI</mods:publisher></mods:originInfo><mods:genre>Thesis</mods:genre></mods:mods>