Government Regulation (PP) No. 82/2021, which regulates the payment of pensions and allowances for Constitutional and Supreme Court Justices, has sparked public debate, especially after allegations of significant cuts to the Supreme Court's budget. This issue raises concerns regarding policy transparency, making it important to analyze public sentiment towards this PP. This study uses two sentiment analysis methods, namely Naïve Bayes Classifier (NBC) and Support Vector Machine (SVM), to evaluate public opinion based on data from Twitter. The dataset consists of 2,719 tweets that have gone through preprocessing stages, such as cleansing, stemming, and using SMOTE techniques, with 70% data division for training and 30% for model testing. This study tests the performance of NBC and SVM through four scenarios: (1) without stemming and without SMOTE, (2) without stemming with SMOTE, (3) with stemming without SMOTE, and (4) with stemming and SMOTE. The results show that SVM has a more stable performance than NBC in all scenarios. In the scenario without stemming and without SMOTE, both models recorded 100% accuracy, but NBC failed to detect positive sentiment accurately. When SMOTE was applied without stemming, NBC's accuracy decreased to 97%, while SVM still achieved a perfect accuracy of 100%. In the scenario with stemming without SMOTE, NBC recorded 97% accuracy, while SVM reached 99%. With the application of SMOTE and stemming, NBC accuracy decreased to 95%, while SVM again recorded a perfect accuracy of 100%. This study concludes that SVM is the best method for sentiment analysis of PP No. 82 of 2021, especially in scenarios with stemming and SMOTE, providing important insights into public opinion and confirming the superiority of SVM in sentiment classification related to public policy.