IDEAS home Printed from https://ideas.repec.org/a/alk/jcsts0/v5y2023i4id6370.html

Comparative Analysis of Machine Learning Models for Data Classification: An In-Depth Exploration

Author

Listed:
  • Abdul Wajid Fazil

    (Lecturer, Department of Information Systems, Badakhshan University, Afghanistan)

  • Musawer Hakimi

    (Lecturer, Department of Computer Science, Samangan University, Afghanistan)

  • Rohullah Akbari

    (Student, Information Systems Department, Kabul University, Afghanistan)

  • Mohammad Mustafa Quchi

    (Lecturer, Department of Network Engineering, Faryab University, Afghanistan)

  • Khudai Qul Khaliqyar

    (Lecturer, Department of IT, Badakhshan University, Afghanistan)

Abstract

This research delves into the realm of data classification using machine learning models, namely 'Random Forest', 'Support Vector Machine (SVM) ' and ‘Logistic Regression'. The dataset, derived from the Australian Government's Bureau of Meteorology, encompasses weather observations from 2008 to 2017, with additional columns like 'RainToday' and the target variable 'RainTomorrow.' The study employs various metrics, including Accuracy Score, 'Jaccard Index', F1-Score, Log Loss, Recall Score and Precision Score, for model evaluation. Utilizing libraries such as 'NumPy', Pandas, matplotlib and ‘sci-kit-learn', the data pre-processing involves one-hot encoding, balancing for class imbalance and creating training and test datasets. The research implements three models, Logistic Regression, SVM and Random Forest, for data classification. Results showcase the models' performance through metrics like ROC-AUC, log loss and Jaccard Score, revealing Random Forest's superior performance in terms of ROC-AUC (0.98), compared to SVM (0.89) and Logistic Regression (0.88). The analysis also includes a detailed examination of confusion matrices for each model, providing insights into their predictive accuracy. The study contributes valuable insights into the effectiveness of these models for weather prediction, with Random Forest emerging as a robust choice. The methodologies employed can be extended to other classification tasks, providing a foundation for leveraging machine learning in diverse domains.

Suggested Citation

  • Abdul Wajid Fazil & Musawer Hakimi & Rohullah Akbari & Mohammad Mustafa Quchi & Khudai Qul Khaliqyar, 2023. "Comparative Analysis of Machine Learning Models for Data Classification: An In-Depth Exploration," Journal of Computer Science and Technology Studies, Al-Kindi Center for Research and Development, vol. 5(4), pages 160-168, October.
  • Handle: RePEc:alk:jcsts0:v:5:y:2023:i:4:id:6370
    DOI: 10.32996/jcsts.2023.5.4.16
    as

    Download full text from publisher

    File URL: https://al-kindipublisher.com/index.php/jcsts/article/view/6370
    File Function: Abstract page
    Download Restriction: no

    File URL: https://al-kindipublisher.com/index.php/jcsts/article/download/6370/5346
    File Function: Full text
    Download Restriction: no

    File URL: https://libkey.io/10.32996/jcsts.2023.5.4.16?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:alk:jcsts0:v:5:y:2023:i:4:id:6370. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Al-Kindi Center for Research and Development (email available below). General contact details of provider: https://al-kindipublisher.com/index.php/jcsts .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.