High Performance Computing Applied to Logistic Regression: A CPU and GPU Implementation Comparison

Nechba Mohammed, Mouhajir Mohamed, Sedjari Yassine
8/19/2023
10 citations
cs.LG

Official code: NechbaMohammed/SwiftLogisticReg (5 stars, Python, MIT, last commit 2023-08-03).

Abstract

We present a versatile GPU-based parallel version of Logistic Regression (LR), aiming to address the increasing demand for faster algorithms in binary classification due to large data sets. Our implementation is a direct translation of the parallel Gradient Descent Logistic Regression algorithm proposed by X.

Show full abstract

Zou et al. [12]. Our experiments demonstrate that our GPU-based LR outperforms existing CPU-based implementations in terms of execution time while maintaining comparable f1 score. The significant acceleration of processing large datasets makes our method particularly advantageous for real-time prediction applications like image recognition, spam detection, and fraud detection. Our algorithm is implemented in a ready-to-use Python library available at : https://github.com/NechbaMohammed/SwiftLogisticReg

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains implementations of logistic regression using high-performance computing techniques, supporting both CPU and GPU architectures.

51PythonJun 2, 20233 years agoMIT
cpugpu-accelerationhigh-performance-computinglogistic-regressionmachine-learning-algorithms+1 more

Similar Papers

Cite this paper

@article{mohammed2023high,
  title  = {High Performance Computing Applied to Logistic Regression: A CPU and GPU Implementation Comparison},
  author = {Nechba Mohammed and Mouhajir Mohamed and Sedjari Yassine},
  year   = {2023},
  eprint = {2308.10037},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.10037v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.10037.svg)](https://codeofpaper.com/paper/2308.10037)

Discussion