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

Abdul Wajid Fazil, Musawer Hakimi, Rohullah Akbari, Mohammad Mustafa Quchi, Khudai Qul Khaliqyar
{"title":"Comparative Analysis of Machine Learning Models for Data Classification: An In-Depth Exploration","authors":"Abdul Wajid Fazil, Musawer Hakimi, Rohullah Akbari, Mohammad Mustafa Quchi, Khudai Qul Khaliqyar","doi":"10.32996/jcsts.2023.5.4.16","DOIUrl":null,"url":null,"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.","PeriodicalId":417206,"journal":{"name":"Journal of Computer Science and Technology Studies","volume":"28 13","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computer Science and Technology Studies","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.32996/jcsts.2023.5.4.16","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.
用于数据分类的机器学习模型比较分析:深入探讨
本研究深入研究了使用机器学习模型的数据分类领域,即“随机森林”,“支持向量机(SVM)”。和“逻辑回归”。该数据集来自澳大利亚政府气象局,涵盖了2008年至2017年的天气观测,还有“今日降雨”和目标变量“明日降雨”等附加栏。该研究采用了各种指标,包括准确性评分、“Jaccard指数”、f1评分、日志损失、召回评分和精度评分,用于模型评估。利用“NumPy”,Pandas, matplotlib和“scikit -learn”等库,数据预处理包括one-hot编码,平衡类不平衡以及创建训练和测试数据集。本研究采用逻辑回归、支持向量机和随机森林三种模型对数据进行分类。结果通过ROC-AUC、log loss和Jaccard Score等指标展示了模型的性能,与SVM(0.89)和Logistic Regression(0.88)相比,Random Forest在ROC-AUC(0.98)方面的性能优于SVM(0.89)。分析还包括对每个模型的混淆矩阵的详细检查,提供对其预测准确性的见解。该研究为这些天气预报模型的有效性提供了有价值的见解,随机森林成为了一个强有力的选择。所采用的方法可以扩展到其他分类任务,为在不同领域利用机器学习提供基础。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信