Analisis Perbandingan Kinerja Algoritma Random Forest dan XGBoost dalam Klasifikasi Preferensi Wisatawan Kabupaten Kendal
DOI:
https://doi.org/10.62411/tc.v25i3.16214Abstract
Penelitian ini bertujuan untuk menganalisis dan membandingkan kinerja algoritma Random Forest dan XGBoost dalam mengklasifikasikan preferensi pengunjung destinasi wisata di Kabupaten Kendal. Data diperoleh melalui kuesioner yang mencakup atribut usia, jenis kelamin, asal, transportasi, harga tiket, fasilitas, dan akses. Tahapan penelitian meliputi pembagian data menggunakan train-test split dengan proporsi 80:20 serta penanganan ketidakseimbangan data menggunakan teknik SMOTE pada data pelatihan. Proses pemodelan dilakukan dengan optimasi parameter menggunakan GridSearchCV untuk memperoleh model terbaik dari masing-masing algoritma. Evaluasi model dilakukan menggunakan metrik akurasi, presisi, recall, dan F1-score pada data uji, serta diperkuat dengan Stratified K-Fold Cross Validation (k=5) untuk memastikan stabilitas dan kemampuan generalisasi model. Hasil penelitian menunjukkan bahwa Random Forest memperoleh akurasi sebesar 89,55%, sedangkan XGBoost menghasilkan akurasi yang lebih tinggi yaitu 90,30%. Hasil cross-validation juga menunjukkan bahwa XGBoost memiliki performa yang lebih stabil dibandingkan Random Forest. Analisis feature importance menunjukkan bahwa atribut usia menjadi faktor paling berpengaruh, diikuti oleh akses, asal, dan harga tiket. Hasil penelitian ini diharapkan dapat menjadi dasar dalam perumusan strategi pengembangan dan promosi pariwisata berbasis data. Kata kunci – Random Forest, XGBoost, Klasifikasi, Preferensi WisataDownloads
Published
Issue
Section
License
Copyright (c) 2026 Yuni Handayani

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
License Terms
All articles published in Techno.COM Journal are licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). This means:
1. Attribution
Readers and users are free to:
-
Share – Copy and redistribute the material in any medium or format.
-
Adapt – Remix, transform, and build upon the material.
As long as proper credit is given to the original work by citing the author(s) and the journal.
2. Non-Commercial Use
-
The material cannot be used for commercial purposes.
-
Commercial use includes selling the content, using it in commercial advertising, or integrating it into products/services for profit.
3. Rights of Authors
-
Authors retain copyright and grant Techno.COM Journal the right to publish the article.
-
Authors can distribute their work (e.g., in institutional repositories or personal websites) with proper acknowledgment of the journal.
4. No Additional Restrictions
-
The journal cannot apply legal terms or technological measures that restrict others from using the material in ways allowed by the license.
5. Disclaimer
-
The journal is not responsible for how the published content is used by third parties.
-
The opinions expressed in the articles are solely those of the authors.
For more details, visit the Creative Commons License Page:
? https://creativecommons.org/licenses/by-nc/4.0/









