Dense urban areas with high levels of industrial and transportation activity result in increased air pollutant emissions that threaten air quality and the health of their residents. The issue is the lack of utilization and optimization of motorcycle emission test classification through a machine learning approach. This research aims to utilize motorcycle emission test data and to determine the accuracy, precision, and recall results of the naive Bayes algorithm. The number of datasets used by the researchers is 2409 data points. Based on this data, it is divided into two parts: training data consisting of 1927 data points (80%) and testing data consisting of 482 data points (20%). The results of the motorcycle emission test data can be utilized for classification optimization, and the naive Bayes algorithm can be applied to classify and analyze the accuracy, precision, and recall results of the motorcycle emission test data. The accuracy result is 91.49%, the precision result for the pass classification is 93.72%, and the precision result for the fail classification is 83%, while the recall result for the pass classification is 95.47% and the recall result for the fail classification is 77.57%. ABSTRAK Daerah perkotaan yang padat penduduk dengan tingkat aktivitas industri dan transportasi yang tinggi mengakibatkan peningkatan emisi polutan udara yang mengancam kualitas udara dan kesehatan warganya. Permasalahan belum adanya pemanfaatan dan optimalisasi klasifikasi uji emisi sepeda motor melalui pendekatan machine learning. Penelitian ini bertujuan untuk memanfaatkan data uji emisi sepeda motor dan untuk mengetahui hasil akurasi, presisi, dan recall dari algoritma naïve bayes. Adapun jumlah dataset yang peneliti gunakan sebanyak 2409 data. Berdasarkan data tersebut dibagi menjadi dua yaitu data training sebanyak 1927 data (80%) dan data testing sebanyak 482 data (20%). Hasil penelitian data uji emisi sepeda motor dapat dimanfaatkan untuk optimalisasi klasifikasi dan algoritma naïve bayes dapat diterapkan dalam mengklasifikasi dan menganalisis hasil akurasi, presisi, dan recall dari data uji emisi sepeda motor. Adapun hasil akurasinya sebesar sebesar 91,49%, hasil precision klasifikasi lulus sebesar 93,72% dan hasil precision klasifikasi tidak lulus sebesar 83%, dan hasil recall klasifikasi lulus sebesar 95,47% dan hasil recall klasifikasi tidak lulus sebesar 77,57%.