How I think about Logistic Regression - Part 1

  Рет қаралды 1,201

How I think about

How I think about

Күн бұрын

A (hopefully) simple and intuitive explanation of logistic regression for binary classification.
Intro and Overview 00:00-02:15
How to think about the Threshold 02:15-04:35
Assigning Likeliness 04:36-08:14
Maximum Likelihood 08:15-11:02
Finding the Best Threshold 11:03-11:34
Recap 11:35-12:35
Part 2: • How I think about Logi...
Gradient Descent Video: • How I think about Grad...
Some Reading on Probability: / overview-of-probability
Visualization and animation code on GitHub: github.com/gallettilance/repr...
Thumbnail by / endless.yarning
#machinelearning #logisticregression #education #classification #optimizationalgorithm #explained #mathexplained #machinelearningalgorithm #mathformachinelearning #machinelearningbasics #datascience #datasciencebasics #linearregression #probability #probabilitytheory

Пікірлер: 15
@HM-wo6ic
@HM-wo6ic 9 күн бұрын
That was a pleasure to watch.
@howithinkabout
@howithinkabout 9 күн бұрын
So glad to hear it!
@sriveralopez
@sriveralopez 3 сағат бұрын
Yet another one of those videos that, in your head, you think have 100k+ views but it turns out we're just lucky to be here first.
@howithinkabout
@howithinkabout Сағат бұрын
🙏🙏🙏 that’s so encouraging and kind! Thank you!
@frannydonington9925
@frannydonington9925 Ай бұрын
This was so helpful! A really great, new perspective (and way of explaining it)
@ryanschofield6160
@ryanschofield6160 24 күн бұрын
Awesome!
@shahulrahman2516
@shahulrahman2516 11 күн бұрын
Great video
@howithinkabout
@howithinkabout 11 күн бұрын
thanks so much!! I hope you enjoy part 2 when you get around to it :)
@nickwendt4023
@nickwendt4023 Ай бұрын
Great video, excited for more
@howithinkabout
@howithinkabout Ай бұрын
Thank you so much for watching!! Part 2 (and 3!) should be out real soon
@mrjackrabbitslim1
@mrjackrabbitslim1 Ай бұрын
Awesome. Question: why would you be adjusting the constants i.e in the hours/exam length basic chart? The final probability went up but what does that two-fold increase represent in the real world, not math language?
@howithinkabout
@howithinkabout Ай бұрын
Thanks so much for watching!! And great question! As you change these parameters you generate different probabilities across your space allowing you to describe it better. (and thus make better predictions etc). So it's less about what these parameters **mean** and more about what they let you **do** (which is to mold the sigmoid function to the data). In logistic regression there is an interpretation of the parameters as increases to the log-odds but that's pretty mathy and as far as I can tell just happenstance and not by design (happy to elaborate on this if you want). In probit regression for example there exists no such interpretation but the mechanism is the same. Similarly for Neural Networks.
@mrjackrabbitslim1
@mrjackrabbitslim1 Ай бұрын
@@howithinkabout ah I see. It makes sense that you'd want to shape the sigmoid by manipulating the parameters, intuitively it's still hard to convert the abstracted constant value into a tangible example. But as Von Neumann said "in mathematics you don't understand things. You just get used to them". Waiting eagerly for the next vid!
@howithinkabout
@howithinkabout Ай бұрын
@@mrjackrabbitslim1 I'm more of the opinion that if you don't understand it, someone's not explaining it well enough :) I made an animation just for you github.com/gallettilance/reproduce-those-animations/blob/main/examples/linear_function.gif to demonstrate what happens to the threshold as you change the parameters. This lets you rotate, shift, and center the sigmoid function. The constant specifically is responsible for shifting things. I'll try to make this more clear in part 2 - thanks for sharing your thoughts!
@mrjackrabbitslim1
@mrjackrabbitslim1 Ай бұрын
@@howithinkabout wow, thank you!
How I think about Logistic Regression - Part 2
7:24
How I think about
Рет қаралды 181
All Learning Algorithms Explained in 14 Minutes
14:10
CinemaGuess
Рет қаралды 179 М.
IS THIS REAL FOOD OR NOT?🤔 PIKACHU AND SONIC CONFUSE THE CAT! 😺🍫
00:41
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 57 МЛН
How I think about Gradient Descent
5:31
How I think about
Рет қаралды 1,2 М.
What are Pooling Layers in Deep Neural Networks?
9:16
Machine Learning Explained
Рет қаралды 3 М.
Gaussian Processes
23:47
Mutual Information
Рет қаралды 117 М.
Python Hash Sets Explained & Demonstrated - Computerphile
18:39
Computerphile
Рет қаралды 108 М.
Logistic Regression in R, Clearly Explained!!!!
17:15
StatQuest with Josh Starmer
Рет қаралды 507 М.
ROC and AUC, Clearly Explained!
16:17
StatQuest with Josh Starmer
Рет қаралды 1,4 МЛН
Logistic regression : the basics - simply explained
20:25
TileStats
Рет қаралды 32 М.
Samsung S24 Ultra professional shooting kit #shorts
0:12
Photographer Army
Рет қаралды 27 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 905 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 282 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН
Ждёшь обновление IOS 18? #ios #ios18 #айоэс #apple #iphone #айфон
0:57