在不平衡数据集上使用 MPI4Py 进行级联建模的并行方法

Suprapto Suprapto, W. Wahyono, Nur Rokhman, Faisal Dharma Adhinata
{"title":"在不平衡数据集上使用 MPI4Py 进行级联建模的并行方法","authors":"Suprapto Suprapto, W. Wahyono, Nur Rokhman, Faisal Dharma Adhinata","doi":"10.12785/ijcds/150191","DOIUrl":null,"url":null,"abstract":": Machine learning is crucial in categorizing data into specific classes based on their features. However, challenges emerge, especially in classification, when dealing with imbalanced datasets. An imbalanced dataset occurs when there is a disproportionate number of samples across di ff erent classes. It leads to a machine learning model’s bias towards the majority class and poor recognition of minority classes, often resulting in notable prediction inaccuracies for those less represented classes. This research proposes a cascade and parallel architecture in the training process to enhance accuracy and speed compared to non-cascade and sequential. This research will evaluate the performance of the SVM and Random Forest methods. Our findings reveal that employing the Random Forest method, configured with 100 trees, substantially enhances classification accuracy by 4.72%, elevating it from 58.87% to 63.59% compared to non-cascade classifiers. Furthermore, adopting the Message Passing Interface for Python (MPI4Py) for parallel processing across multiple cores or nodes demonstrates a remarkable increase in training speed. Specifically, parallel processing was found to accelerate the training process by up to 4.35 times, reducing the duration from 1725.86 milliseconds to a mere 396.54 milliseconds. These results highlight the advantages of integrating parallel processing with a cascade architecture in machine learning models, particularly in addressing the challenges associated with imbalanced datasets. This research demonstrates the potential for substantial improvements in classification tasks’","PeriodicalId":37180,"journal":{"name":"International Journal of Computing and Digital Systems","volume":"63 5","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Parallel Approach of Cascade Modelling Using MPI4Py on\\nImbalanced Dataset\",\"authors\":\"Suprapto Suprapto, W. Wahyono, Nur Rokhman, Faisal Dharma Adhinata\",\"doi\":\"10.12785/ijcds/150191\",\"DOIUrl\":null,\"url\":null,\"abstract\":\": Machine learning is crucial in categorizing data into specific classes based on their features. However, challenges emerge, especially in classification, when dealing with imbalanced datasets. An imbalanced dataset occurs when there is a disproportionate number of samples across di ff erent classes. It leads to a machine learning model’s bias towards the majority class and poor recognition of minority classes, often resulting in notable prediction inaccuracies for those less represented classes. This research proposes a cascade and parallel architecture in the training process to enhance accuracy and speed compared to non-cascade and sequential. This research will evaluate the performance of the SVM and Random Forest methods. Our findings reveal that employing the Random Forest method, configured with 100 trees, substantially enhances classification accuracy by 4.72%, elevating it from 58.87% to 63.59% compared to non-cascade classifiers. Furthermore, adopting the Message Passing Interface for Python (MPI4Py) for parallel processing across multiple cores or nodes demonstrates a remarkable increase in training speed. Specifically, parallel processing was found to accelerate the training process by up to 4.35 times, reducing the duration from 1725.86 milliseconds to a mere 396.54 milliseconds. These results highlight the advantages of integrating parallel processing with a cascade architecture in machine learning models, particularly in addressing the challenges associated with imbalanced datasets. This research demonstrates the potential for substantial improvements in classification tasks’\",\"PeriodicalId\":37180,\"journal\":{\"name\":\"International Journal of Computing and Digital Systems\",\"volume\":\"63 5\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-03-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Journal of Computing and Digital Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.12785/ijcds/150191\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Computing and Digital Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.12785/ijcds/150191","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

:机器学习对于根据数据特征将其归入特定类别至关重要。然而,在处理不平衡数据集时,尤其是在分类方面,会出现挑战。当不同类别的样本数量不成比例时,就会出现不平衡数据集。这会导致机器学习模型偏向于多数类,而对少数类的识别能力较差,往往导致对那些代表性较差的类的预测明显不准确。本研究建议在训练过程中采用级联和并行架构,以提高准确性和速度。本研究将评估 SVM 和随机森林方法的性能。我们的研究结果表明,与非级联分类器相比,采用配置了 100 棵树的随机森林方法可将分类准确率大幅提高 4.72%,从 58.87% 提高到 63.59%。此外,采用 Python 消息传递接口(MPI4Py)在多个内核或节点上进行并行处理,显著提高了训练速度。具体来说,并行处理可将训练过程加快 4.35 倍,将持续时间从 1725.86 毫秒缩短到仅 396.54 毫秒。这些结果凸显了将并行处理与级联架构集成到机器学习模型中的优势,尤其是在应对与不平衡数据集相关的挑战时。这项研究展示了大幅改进分类任务的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
A Parallel Approach of Cascade Modelling Using MPI4Py on Imbalanced Dataset
: Machine learning is crucial in categorizing data into specific classes based on their features. However, challenges emerge, especially in classification, when dealing with imbalanced datasets. An imbalanced dataset occurs when there is a disproportionate number of samples across di ff erent classes. It leads to a machine learning model’s bias towards the majority class and poor recognition of minority classes, often resulting in notable prediction inaccuracies for those less represented classes. This research proposes a cascade and parallel architecture in the training process to enhance accuracy and speed compared to non-cascade and sequential. This research will evaluate the performance of the SVM and Random Forest methods. Our findings reveal that employing the Random Forest method, configured with 100 trees, substantially enhances classification accuracy by 4.72%, elevating it from 58.87% to 63.59% compared to non-cascade classifiers. Furthermore, adopting the Message Passing Interface for Python (MPI4Py) for parallel processing across multiple cores or nodes demonstrates a remarkable increase in training speed. Specifically, parallel processing was found to accelerate the training process by up to 4.35 times, reducing the duration from 1725.86 milliseconds to a mere 396.54 milliseconds. These results highlight the advantages of integrating parallel processing with a cascade architecture in machine learning models, particularly in addressing the challenges associated with imbalanced datasets. This research demonstrates the potential for substantial improvements in classification tasks’
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
International Journal of Computing and Digital Systems
International Journal of Computing and Digital Systems Business, Management and Accounting-Management of Technology and Innovation
CiteScore
1.70
自引率
0.00%
发文量
111
期刊最新文献
Application of Optimized Deep Learning Mechanism for Recognition and Categorization of Retinal Diseases Application of Optimized Deep Learning Mechanism for Recognition and Categorization of Retinal Diseases IoT-based AI Methods for Indoor Air Quality Monitoring Systems: A Systematic Review Machine Learning Based Smartphone Screen GestureRecognition Using Smartphone Embedded Accelerometer and Gyroscope QR Shield: A Dual Machine Learning Approach Towards Securing QR Codes
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1