Beta
213624

Logistic Regression Hyperparameter Optimization for Cancer Classification

Article

Last updated: 25 Dec 2024

Subjects

-

Tags

• Artificial Intelligent and Machine Learning.

Abstract

In machine learning, optimization of hyperparameters aims to find the best values of model hyperparameters yielding an optimal model with minimum prediction error. It is the most important step that directly affects the performance of learned model. Many techniques have been proposed to optimize hyperparameters for different predictive models. In this paper, the performance of grid search, random search, Bayesian Tree Parzen Estimator (TPE) and Simulated Annealing (SA) optimization techniques is evaluated to determine the best hyperparameters for a logistic regression model when used in cancer classification. Wisconsin Breast Cancer Dataset (WBCD) has been used to evaluate the previously mentioned optimization techniques. The results show that Bayesian TPE outperformed other techniques in terms of number of iterations and running time. The number of iterations to get optimal parameters in TPE is less than SA by 75.75 %, and random search by 77.1%. While the time taken by TPE is better than SA, random search and grid search by 79.9%, 86.1% and 99.9% respectively. The resulted optimal hyperparameter values have been utilized to learn a logistic regression model to classify cancer using WBCD dataset. The optimized model succeeded in classifying cancer with 98.2% for test accuracy, 0.962 for kappa statistic and 0.963 for MCC metrics when evaluated using 10-fold cross validation.

DOI

10.21608/mjeer.2021.70512.1034

Keywords

Hyperparameter Optimization, Random Search Grid Search, Tree Parzen Estimator, simulated annealing

Authors

First Name

Ahmed

Last Name

Ahmed Arafa

MiddleName

Hamdy

Affiliation

Computer Science & Engineering Dept. Faculty of Electronic Engineering Menoufia, Egypt.

Email

ahmed.arafa@el-eng.menofia.edu.eg

City

-

Orcid

-

First Name

Marwa

Last Name

Radad

MiddleName

-

Affiliation

Computer Science & Engineering Dept. Faculty of Electronic Engineering Menoufia, Egypt.

Email

marwa_abbas2003@yahoo.com

City

-

Orcid

-

First Name

Mohammed

Last Name

Badawy

MiddleName

M

Affiliation

Computer Science and Engineering Dept., Faculty of Electronic Engineering, Menoufia University

Email

mohamed.badawi@el-eng.menofia.edu.eg

City

-

Orcid

0000-0003-0833-9466

First Name

Nawal

Last Name

El-Fishawy

MiddleName

-

Affiliation

Computer Science an Engineering, Faculty Of Electronic Engineering, Menoufia University, Egypt

Email

nelfishawy@hotmail.com

City

-

Orcid

-

Volume

31

Article Issue

1

Related Issue

31199

Issue Date

2022-01-01

Receive Date

2021-04-01

Publish Date

2022-01-01

Page Start

1

Page End

8

Print ISSN

1687-1189

Online ISSN

2682-3535

Link

https://mjeer.journals.ekb.eg/article_213624.html

Detail API

https://mjeer.journals.ekb.eg/service?article_code=213624

Order

1

Type

Original Article

Type Code

1,088

Publication Type

Journal

Publication Title

Menoufia Journal of Electronic Engineering Research

Publication Link

https://mjeer.journals.ekb.eg/

MainTitle

Logistic Regression Hyperparameter Optimization for Cancer Classification

Details

Type

Article

Created At

22 Jan 2023