Transportation Mode Choice for Shopping Trip Using Random Forest Algorithm

Abstract — Manado City, home to over 460,000 residents and anchored by the Megamas business and shopping district, faces significant mobility challenges and complex traffic congestion. The rise of online transport services has provided residents with new options, yet private vehicles remain the dominant choice due to comfort and scheduling flexibility. This study aims to describe travel‐actor characteristics in Manado, identify key factors influencing mode choice, and apply a Random Forest Classifier to predict preferences between private vehicles and online transport services. Primary data were collected from 203 respondents via online questionnaires and field interviews, covering demographics, trip characteristics, and choice drivers. Data were cleaned, encoded, and split into 80% training and 20% testing subsets. A default Random Forest model (100 trees) showed overfitting (100% train vs. 78% test). Hyperparameter tuning (GridSearchCV, 5-fold) improved test accuracy to 80.5%. Removing the least important feature (“trip distance”) further boosted test accuracy to 85.4% with average F₁-score >85%. Feature importance ranked vehicle ownership (25.4%) and primary reason (22.3%) as top predictors. Recommendations include expanding fleet coverage in suburban areas, adjusting pricing for lower-income groups, and intensifying public education on online transport benefits to alleviate congestion. Future research could explore multimodal integrations and real-time data analytics to optimize urban mobility systems. Key words— Artificial Intelligence, Mode Choice, Online Transportation, Private Vehicle, Random Forest Abstrak — Kota Manado, dengan lebih dari 460.000 penduduk dan kawasan Megamas sebagai pusat bisnis dan perbelanjaan, menghadapi tantangan mobilitas tinggi dan kemacetan kompleks. Munculnya layanan transportasi online menawarkan alternatif, namun kendaraan pribadi masih mendominasi pilihan karena kenyamanan dan fleksibilitas waktu. Penelitian ini bertujuan menggambarkan karakteristik pelaku perjalanan di Manado, mengidentifikasi faktor penentu pilihan moda, dan menerapkan Random Forest Classifier untuk memprediksi preferensi antara kendaraan pribadi dan transportasi online. Data primer diperoleh dari 203 responden melalui kuesioner daring dan wawancara lapangan, mencakup demografi, karakteristik perjalanan, dan pendorong pilihan. Data dibersihkan, dikodekan, dan dibagi 80% training–20% testing. Model Random Forest default (100 pohon) menunjukkan overfitting (akurasi train 100% vs. test 78%). Hyperparameter tuning (GridSearchCV 5-fold) meningkatkan akurasi test menjadi 80,5%. Menghapus fitur terendah (“jarak perjalanan”) menaikkan akurasi test menjadi 85,4% dengan F₁-score rata-rata >85%. Feature importance menempatkan kepemilikan kendaraan (25,4%) dan alasan utama (22,3%) sebagai prediktor utama. Rekomendasi meliputi perluasan jangkauan armada di zona pinggiran, penyesuaian tarif untuk kelompok berpendapatan rendah, dan edukasi publik tentang keunggulan transportasi daring untuk mengurangi kemacetan. Penelitian lanjutan dapat mengeksplorasi integrasi multimoda dan analitik data real-time untuk mengoptimalkan sistem mobilitas perkotaan. Kata kunci — Kecerdasan Buatan, Kendaraan Pribadi, Pemilihan Moda, Pohon Keputusan, Transportasi Online

Authors

Institutions

Publication Details

Journal
Jurnal Teknik Elektro dan Komputer
Published
2025-06-24
DOI
https://doi.org/10.35793/jtek.v14i1.62304
Primary Topic
Transportation and Mobility Innovations
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Transportation Mode Choice for Shopping Trip Using Random Forest Algorithm

Semuel Y. R. Rompis, Lucia Ingrid Regina Lefrandt, Kezia Najoan
Jurnal Teknik Elektro dan Komputer
Transportation and Mobility Innovations
article

Transportation Mode Choice for Shopping Trip Using Random Forest Algorithm

Semuel Y. R. Rompis, Lucia Ingrid Regina Lefrandt, Kezia Najoan
article en

Abstract

Abstract — Manado City, home to over 460,000 residents and anchored by the Megamas business and shopping district, faces significant mobility challenges and complex traffic congestion. The rise of online transport services has provided residents with new options, yet private vehicles remain the dominant choice due to comfort and scheduling flexibility. This study aims to describe travel‐actor characteristics in Manado, identify key factors influencing mode choice, and apply a Random Forest Classifier to predict preferences between private vehicles and online transport services. Primary data were collected from 203 respondents via online questionnaires and field interviews, covering demographics, trip characteristics, and choice drivers. Data were cleaned, encoded, and split into 80% training and 20% testing subsets. A default Random Forest model (100 trees) showed overfitting (100% train vs. 78% test). Hyperparameter tuning (GridSearchCV, 5-fold) improved test accuracy to 80.5%. Removing the least important feature (“trip distance”) further boosted test accuracy to 85.4% with average F₁-score >85%. Feature importance ranked vehicle ownership (25.4%) and primary reason (22.3%) as top predictors. Recommendations include expanding fleet coverage in suburban areas, adjusting pricing for lower-income groups, and intensifying public education on online transport benefits to alleviate congestion. Future research could explore multimodal integrations and real-time data analytics to optimize urban mobility systems. Key words— Artificial Intelligence, Mode Choice, Online Transportation, Private Vehicle, Random Forest Abstrak — Kota Manado, dengan lebih dari 460.000 penduduk dan kawasan Megamas sebagai pusat bisnis dan perbelanjaan, menghadapi tantangan mobilitas tinggi dan kemacetan kompleks. Munculnya layanan transportasi online menawarkan alternatif, namun kendaraan pribadi masih mendominasi pilihan karena kenyamanan dan fleksibilitas waktu. Penelitian ini bertujuan menggambarkan karakteristik pelaku perjalanan di Manado, mengidentifikasi faktor penentu pilihan moda, dan menerapkan Random Forest Classifier untuk memprediksi preferensi antara kendaraan pribadi dan transportasi online. Data primer diperoleh dari 203 responden melalui kuesioner daring dan wawancara lapangan, mencakup demografi, karakteristik perjalanan, dan pendorong pilihan. Data dibersihkan, dikodekan, dan dibagi 80% training–20% testing. Model Random Forest default (100 pohon) menunjukkan overfitting (akurasi train 100% vs. test 78%). Hyperparameter tuning (GridSearchCV 5-fold) meningkatkan akurasi test menjadi 80,5%. Menghapus fitur terendah (“jarak perjalanan”) menaikkan akurasi test menjadi 85,4% dengan F₁-score rata-rata >85%. Feature importance menempatkan kepemilikan kendaraan (25,4%) dan alasan utama (22,3%) sebagai prediktor utama. Rekomendasi meliputi perluasan jangkauan armada di zona pinggiran, penyesuaian tarif untuk kelompok berpendapatan rendah, dan edukasi publik tentang keunggulan transportasi daring untuk mengurangi kemacetan. Penelitian lanjutan dapat mengeksplorasi integrasi multimoda dan analitik data real-time untuk mengoptimalkan sistem mobilitas perkotaan. Kata kunci — Kecerdasan Buatan, Kendaraan Pribadi, Pemilihan Moda, Pohon Keputusan, Transportasi Online

Jurnal Teknik Elektro dan KomputerVol. 14(1)
Sam Ratulangi University (ID)
Openalex Percentile: Top 85%
Transportation and Mobility Innovations
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.