EUVIMEDEUVIMED entdecken
Crossref

The Acquiring Optimal Models of Random Forest and Support Vector Machine Through Tuning Hyperparameters in Classifying the Imbalanced Data

Dwija Wisnu Brata, Arif Djunaidy, Daniel Oranova Siahaan, Samingun Handoyo

International Journal of Advanced Computer Science and Applications · 2026 · 17 (2)

DOI: 10.14569/ijacsa.2026.0170273 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal of Advanced Computer Science and Applications, 2026. Verfasst von Dwija Wisnu Brata und 3 weiteren Autor:innen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Machine learning models most often misclassify the positive class in the dataset with class imbalance. Besides, a sophisticated model involves the hyperparameters that need to be tuned to the optimal values. The study aims to tune hyperparameters of random forest (RF) and support vector machine (SVM) models using 5-fold cross-validation data, to build the best RF and SVM for two data scenarios: the original and oversampling training data, and to compare the models' performances in either the training or testing data. The RF hyperparameters: the instance number in the leaf node and tree depth of the RF, were acquired (500, 10), respectively. Whereas, the SVM hyperparameters: the values of gamma and constant, were acquired (0.001, 500), respectively. The benchmark models achieved around 98% across the accuracy, precision, recall, and F1 score metrics. However, it performed worse on the Mathew's Correlation Coefficient (MCC) and Area Under the Curve (AUC): 0.0000 and 0.5000, respectively. The models trained on the class-imbalance dataset failed to predict the positive class. Although the best RF and SVM models trained on the oversampled dataset perform worse than both benchmark models across four standard metrics, the RF best model shows improvements of approximately 7% (from 0.000 to 0.067) and 11% (from 0.500 to 0.612) while the SVM best model show slightly different improvements of approximately 6% (from 0.000 to 0.056) and 11% (from 0.500 to 0.611) in MCC and AUC, respectively. Both the RF and SVM models improve in predicting the positive class, and the best RF model performs slightly better.

Zitieren

APA

Brata, D. W., Djunaidy, A., Siahaan, D. O., & Handoyo, S. (2026). The Acquiring Optimal Models of Random Forest and Support Vector Machine Through Tuning Hyperparameters in Classifying the Imbalanced Data. International Journal of Advanced Computer Science and Applications, 17(2). https://doi.org/10.14569/ijacsa.2026.0170273

Vancouver

Brata DW, Djunaidy A, Siahaan DO, Handoyo S. The Acquiring Optimal Models of Random Forest and Support Vector Machine Through Tuning Hyperparameters in Classifying the Imbalanced Data. International Journal of Advanced Computer Science and Applications. 2026;17(2). doi:10.14569/ijacsa.2026.0170273

BibTeX
@article{Brata2026,
  author = {Brata, Dwija Wisnu and Djunaidy, Arif and Siahaan, Daniel Oranova and Handoyo, Samingun},
  title = {The Acquiring Optimal Models of Random Forest and Support Vector Machine Through Tuning Hyperparameters in Classifying the Imbalanced Data},
  journal = {International Journal of Advanced Computer Science and Applications},
  year = {2026},
  volume = {17},
  number = {2},
  doi = {10.14569/ijacsa.2026.0170273}
}
Kostenlos starten →