Classification: linear and logistic regression
As the amount of available data, the strength of computing power, and the number of algorithmic improvements continue to rise, so does the importance of data science and machine learning . Classification is among the most important areas of machine learning, and logistic regression is one of its basic methods. By the end of this tutorial, you’ll have learned about classification in general and the fundamentals of logistic regression in particular, as well as how to implement logistic regression in Python. In this tutorial, you’ll learn: What linear and logistic regression is What linear and logistic regression is used for How linear and logistic regression works How to implement linear and logistic regression in Python, step by step Linear Equations A linear equation is an equation for a straight line These are all linear equations: y = 2x + 1 5x = 6 + 3y y/2 = 3 − x Let us look more closely at one example: Example: y = 2x + 1 is a linear equation: The graph of y