Mathematical Model of Logistic Regression for Binary Classification. Part 2. Data Preparation, Learning and Testing Processes
Authors:
- Lviv Polytechnic National UniversityLULviv Polytechnic National University
- Petro KravetsPKPetro Kravets
- Volodymyr PasichnykVPVolodymyr Pasichnyk
- Mykola ProdaniukMPMykola Prodaniuk
- 15 July 2024
- journal article
- Published by Lviv Polytechnic National University in Computer systems and network
- Vol. 15, 322-340
Abstract
This article reviews the theoretical aspects of logistic regression for binary data classification, including data preparation processes, training, testing, and model evaluation metrics. Requirements for input data sets are formulated, methods of coding categorical data are described, methods of scaling input features are defined and substantiated. A scheme for learning logistic regression using the gradient descent method has been developed to minimize the loss function by the appropriate adjustment of the weights of the features of the sample of objects intended for classification. Features of the construction of recurrent methods of classical and stochastic gradient descent are determined. The requirements for the organization of the data sample for the multi-stage learning model in order to avoid overtraining or undertraining of logistic regression are described. The scheme of testing the trained logistic regression is given and the main quality metrics of binary classification are described. The influence of the height of the classification threshold on the efficiency of logistic regression was noted. According to the results of the work, the directions of perspective research of logistic regression are outlined.Keywords
This publication has 17 references indexed in Scilit:
- Statistical Analysis of Fixed Mini-Batch Gradient Descent EstimatorJournal of Computational and Graphical Statistics, 2023
- Adaptive stochastic conjugate gradient for machine learningExpert Systems with Applications, 2022
- Research on the Application of Gradient Descent Algorithm in Machine Learning2021
- The Art of Feature Engineering2020
- Introduction to KDD and Data Science2018
- Mini-batch gradient descent: Faster convergence under data sparsity2017
- The standard multinomial logit model2003
- Applied Logistic Regression2000
- Convergence analysis of gradient descent stochastic algorithmsJournal of Optimization Theory and Applications, 1996
- Two-Point Step Size Gradient MethodsIMA Journal of Numerical Analysis, 1988