Reader small image

You're reading from  Machine Learning with Python

Product typeBook
Published inMar 2024
PublisherPackt
ISBN-139781835461969
Edition1st Edition
Right arrow
Author (1)
Oliver Theobald
Oliver Theobald
author image
Oliver Theobald

Oliver Theobald, a technical writer and best-selling author, excels in AI, fintech, and cloud computing. With global experience, he now resides between China and Japan, deepening his expertise in technology. As an instructor, Oliver emphasizes clarity and engagement, stripping away jargon to make complex topics accessible. His courses aim to empower both beginners and professionals with practical skills for success in the tech industry, making learning both effective and enjoyable.
Read more about Oliver Theobald

Right arrow

LOGISTIC REGRESSION

 

Machine learning generally involves predicting a quantitative outcome or a qualitative class. The former is commonly referred to as a regression problem, and in the case of linear regression, this involves predicting a numeric outcome based on the input of continuous variables. When predicting a qualitative outcome (class), the task is considered a classification problem. Examples of classification problems include predicting what products a user will buy or predicting if a target user will click on an online advertisement (True/False).

Not all algorithms, though, fit cleanly into this simple dichotomy and logistic regression is a notable example. Logistic regression is part of the regression family because, as with linear regression, it involves predicting outcomes based on analyzing quantitative relationships between variables. But unlike linear regression, it accepts both continuous and discrete variables as input and its output is qualitative; it predicts...

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Machine Learning with Python
Published in: Mar 2024Publisher: PacktISBN-13: 9781835461969
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime

Author (1)

author image
Oliver Theobald

Oliver Theobald, a technical writer and best-selling author, excels in AI, fintech, and cloud computing. With global experience, he now resides between China and Japan, deepening his expertise in technology. As an instructor, Oliver emphasizes clarity and engagement, stripping away jargon to make complex topics accessible. His courses aim to empower both beginners and professionals with practical skills for success in the tech industry, making learning both effective and enjoyable.
Read more about Oliver Theobald