arXiv · 1906.03834
Quantum algorithm for logistic regression
Abstract
Logistic regression (LR) is an important machine learning model for classification, with wide applications in text classification, image analysis and medicine diagnosis, etc. However, training LR generally entails an iterative gradient descent method, and is quite time consuming when processing big data sets. To solve this problem, we present a quantum algorithm for LR to implement the key task of the gradient descent method, obtaining the classical gradients in each iteration. It is shown that our algorithm achieves exponential speedup over its classical counterpart in each iteration when the dimension of each data point M grows polylogarithmically with the number of data points N, i.e.,M=O(polylog N). It is worth noting that the optimal model parameters are finally derived by performing simple calculations on the obtained gradients. So once the optimal model parameters are determined, one can use them to classify new data at little cost.
Explore related subjects
Keep this discovery
Hai-Ling Liu, Chao-Hua Yu, Yu-Sen Wu, Shi-Jie Pan, Su-Juan Qin, Fei Gao, Qiao-Yan Wen. 2019-06-10. Quantum algorithm for logistic regression. https://arxiv.org/abs/1906.03834
Cite the original work for its findings. Save a collection to share your selection of sources.