bioRxivBioinformaticsPreprint
Comparative Analysis of Machine Learning Libraries for Neural Networks: A Benchmarking Study
Aws Ismail Abu Eid, Salameh MjlaeiD, Suzie Yaseen Rababa'hiD, Ahmed HammadiD, Mahmoud Ali RababahiD
Abstract
This comprehensive benchmarking study explores the performance of three prominent machine learning libraries: PyTorch, Keras with TensorFlow backend, and Scikit-learn with the same criteria, software, and hardware. The evaluation encompasses two diverse datasets, "student performance" and "College Attending Plan Classification," supported by Kaggle platforms utilizing feedforward neural networks (FNNs) as the modeling technique. The findings reveal that PyTorch and Keras with TensorFlow backend excel on the "College Attending Plan Classification" dataset, with PyTorch achieving impeccable precision, Recall, and F1-score for both classes. While Scikit-learn demonstrates commendable performance, it trails behind these libraries in this context. On the "Student Performance" dataset, all three libraries deliver comparable results, with Scikit-learn exhibiting the lowest accuracy at 16%. Keras with TensorFlow backend and PyTorch attain accuracy rates of 23%, respectively. Moreover, this study offers valuable insights into each librarys unique strengths and weaknesses when confronted with diverse dataset types. PyTorch emerges as the go-to choice for demanding tasks requiring high performance, while Scikit-learn proves advantageous for simpler tasks with modest computational demands. Keras with TensorFlow backend strikes a balance between performance and user-friendliness. This benchmarking endeavor equips machine learning practitioners with valuable guidance for selecting the most suitable library or framework tailored to their project requirements. It underscores the pivotal role of library choice in achieving optimal results in machine learning endeavors.
- Citations
- 2
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- NeuroTorch: A Python library for neuroscience-oriented machine learning
Jérémie Gince, Anthony Drouin, … Simon V. Hardy·bioRxiv·Dec 29, 2024
- ShinyLearner: A containerized benchmarking tool for machine-learning classification of tabular data
Stephen Piccolo, Terry J. Lee, … Kimball Hill·GigaSciencePeer-reviewed·Apr 1, 2020
- Comparative Analysis of Machine Learning Algorithms for Breast Cancer Classification: SVM Outperforms XGBoost, CNN, RNN, and Others
Prithwish Ghosh, Debashis Chatterjee·bioRxiv·Apr 22, 2024
- Performance Evaluation Of Prediction On Molecular Graphs With Graph Neural Networks
Haotian Li·bioRxiv·Oct 21, 2022
- A performance evaluation of neural network features and functions settings on the model accuracy
M. Bozdech·bioRxiv·Nov 28, 2022
- Robustly interrogating machine learning based scoring functions: what are they learning?
Guy Durant, Fergus Boyles, … Charlotte Mary Deane·BioinformaticsPeer-reviewed·Jan 24, 2025