Why Linear Regression is not suitable for classification? (2024)

There are two things that explain why Linear Regression is not suitable for classification. The first one is that Linear Regression deals with continuous values whereas classification problems mandate discrete values.

The second problem is regarding the shift in threshold value when new data points are added. Let us take a simple Linear Regression example and fit a line to it. The below graph shows the best fit line. To make the explanation a bit more simple let us take an example of a classification problem in healthcare. Basically, our aim here is to classify whether a person is sick or not.

Technically the hypothesis function for linear regression can be used for logistic regression also but there is a problem.

Why Linear Regression is not suitable for classification? (1)

The above graph shows the best fit line for the given points. This is a simple example and the real-world data is never this simple. So coming back, when we add another point to this dataset, our best fit line shifts to fit that point. Hence the line becomes like this

Why Linear Regression is not suitable for classification? (2)

So according to our example, if we have to classify whether a person is sick or not, this method is not reliable at all since we use a sigmoid function in logistic regression. If there is a shift in the line then the minimum threshold value for classifying the examples changes. So in the beginning, the threshold might be 0.5 but after adding few more data points the value might be 0.8. So the accuracy of the model takes a hit here. Also deploying a model with such instability in a field such as healthcare is not so good and can have dire consequences.

Hence to avoid this we use an algorithm called the Logistic Regression which is a binary classification algorithm to stepover these practical problems that hold back Linear Regression for classification.

Logistic Regression deals with discrete values unlike Linear Regression and also maintains the value of the threshold even when new data points are added.

Why Linear Regression is not suitable for classification? (2024)
Top Articles
Reach your financial goals while making a positive impact: Invest with Ellevest
Arihant Capital Review 2024| Brokerage charges| Demat Account| Trading Platforms
The Blackening Showtimes Near Century Aurora And Xd
Dte Outage Map Woodhaven
Rainbird Wiring Diagram
Kentucky Downs Entries Today
Sunday World Northern Ireland
Espn Expert Picks Week 2
Natureza e Qualidade de Produtos - Gestão da Qualidade
Craigslist Apartments In Philly
iOS 18 Hadir, Tapi Mana Fitur AI Apple?
Available Training - Acadis® Portal
Games Like Mythic Manor
Define Percosivism
Echat Fr Review Pc Retailer In Qatar Prestige Pc Providers – Alpha Marine Group
Best Uf Sororities
Yakimacraigslist
Nhl Tankathon Mock Draft
Rufus Benton "Bent" Moulds Jr. Obituary 2024 - Webb & Stephens Funeral Homes
Sef2 Lewis Structure
Jeffers Funeral Home Obituaries Greeneville Tennessee
Minnick Funeral Home West Point Nebraska
Holiday Gift Bearer In Egypt
Sunset Time November 5 2022
Manuela Qm Only
Is Light Raid Hard
Access a Shared Resource | Computing for Arts + Sciences
Enduring Word John 15
Cylinder Head Bolt Torque Values
Weather Underground Durham
Winterset Rants And Raves
Parent Management Training (PMT) Worksheet | HappierTHERAPY
Greater Orangeburg
Ghid depunere declarație unică
Chicago Pd Rotten Tomatoes
Devotion Showtimes Near Mjr Universal Grand Cinema 16
Tyler Perry Marriage Counselor Play 123Movies
Ursula Creed Datasheet
Man Stuff Idaho
Postgraduate | Student Recruitment
Nina Flowers
Arcane Bloodline Pathfinder
Best GoMovies Alternatives
18006548818
Login
Victoria Vesce Playboy
Conan Exiles Colored Crystal
Dying Light Mother's Day Roof
Sapphire Pine Grove
Syrie Funeral Home Obituary
How to Choose Where to Study Abroad
Pauline Frommer's Paris 2007 (Pauline Frommer Guides) - SILO.PUB
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 6205

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.