Linear and Logistic Regression
摘要
Logistic regression is a linear classification technique and a fundamental element of many machine-learning systems. This chapter introduces it as well as linear regression. It then describes gradient descent, an algorithm to fit the parameters of a model to a dataset. We finally apply logistic regression to determine the language of a text from its character counts. As in the previous chapter, we use scikit-learn to write the classification program.