How to Implement Logistic Regression in Python From Scratch

  Рет қаралды 4,243

Greg Hogg

Greg Hogg

2 жыл бұрын

The Notebook: colab.research.google.com/dri...
Thank you for watching the video! You can learn data science FASTER at mlnow.ai!
Master Python at mlnow.ai/course-material/python/!
Learn SQL & Relational Databases at mlnow.ai/course-material/sql/!
Learn NumPy, Pandas, and Python for Data Science at mlnow.ai/course-material/data...!
Become a Machine Learning Expert at mlnow.ai/course-material/ml/!
Don't forget to subscribe if you enjoyed the video :D

Пікірлер: 26
@GregHogg
@GregHogg 11 ай бұрын
Take my courses at mlnow.ai/!
@ashleyb5849
@ashleyb5849 2 жыл бұрын
Was waiting for this one, thanks!!
@GregHogg
@GregHogg 2 жыл бұрын
Well, you no longer have to! 😃
@arsheyajain7055
@arsheyajain7055 2 жыл бұрын
Awesome!!!
@GregHogg
@GregHogg 2 жыл бұрын
Thanks!
@pogiribhanuteja4650
@pogiribhanuteja4650 2 жыл бұрын
I got this at the right time.
@GregHogg
@GregHogg 2 жыл бұрын
Great!
@commonsense1019
@commonsense1019 2 жыл бұрын
plzz continue this series
@GregHogg
@GregHogg 2 жыл бұрын
Okay noted!
@waliddjema5442
@waliddjema5442 2 жыл бұрын
Hey mate, I am actually cursed and keep missing your lives do you mind if I ask you here? Or would you like me to wait for the next live?
@GregHogg
@GregHogg 2 жыл бұрын
Haha no problem; feel free to ask a question here.
@waliddjema5442
@waliddjema5442 2 жыл бұрын
@@GregHogg hey mate, thanks for this opportunity! First of all, I hope that you're doing great! secondly, This question might take some time, and I think that there are other people like me. background: non-math/stat/anything that is worth it related 'biology' programming skills: zero (I just started learning python) Goal: basically make money by working online. My question is, is it worth it learning data analytics/science if my only purpose is to make money as a freelance or remote worker? What will separate me from millions of other data scientists/analysts (by the time I finish learning, I would have a "meh" portfolio) and I am sure that there would be at least 100.000 other people in India that are better than me (I learn from them lol) so how can I compete? I know that nationality plays a big role in landing a remote job (seen it with my own eyes xd) and mine kind of sucks 'even traveling abroad is out of the question since I have a weak passport.' Thanks for reading this!
@hannukoistinen5329
@hannukoistinen5329 Жыл бұрын
For all viewers I suggest R in data-analytics! Not Python!!
@Mohith7548
@Mohith7548 2 жыл бұрын
27:00 in accuracy score, first arg is y_actual, 2nd arg is y_pred. You passed the other way round. LMAO
@GregHogg
@GregHogg 2 жыл бұрын
The order of these two doesn't matter :)
@tiagosilva856
@tiagosilva856 Жыл бұрын
@@GregHogg doesn't matter in this example cuz phyton can understand it. But it really matters in reality. The functions arguments should be called in the right order.
@commonsense1019
@commonsense1019 2 жыл бұрын
plzz use dark mode if possible
@GregHogg
@GregHogg 2 жыл бұрын
Haha okay
@tiagosilva856
@tiagosilva856 Жыл бұрын
The video is very good. Although he didnt have the mathematical knowledge to explain what the coeficient and the intercept means in a logistic regression. As a senior data scientist i give this free for youtube community. the coeficient tell us how much the probability of having heart disease increase or decrease when we go up in x by 1.0 value (max HR in this example ). In this case we can see that for every 1.0 increase in MaxHR the probability of having Heart Disease decrease about 3%. The intercept tell us the probability of having heart disease when the x=0 (maxHR=0), ofc in this case dont make any sense, because if u have 0 heart rate you would be dead. Although the model says you have 500% probability of having heart disease. Maths its the base to understand ML phyton and modules are tools. You can never make a proper analize of an ML output if you dont understand maths.
@GregHogg
@GregHogg Жыл бұрын
No.
@tiagosilva856
@tiagosilva856 Жыл бұрын
@@GregHogg yes
@GregHogg
@GregHogg Жыл бұрын
@@tiagosilva856 there is a 600% probability you're incorrect
@tiagosilva856
@tiagosilva856 Жыл бұрын
@@GregHogg bro i don't remember the values. You get the picture here.
@GregHogg
@GregHogg Жыл бұрын
@@tiagosilva856 Yep, I think I have a pretty good picture of what's going on here
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 16 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 79 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 67 МЛН
Linear Regression in Python - Full Project for Beginners
50:52
Alejandro AO - Software & Ai
Рет қаралды 14 М.
Polynomial Regression in Python
20:18
NeuralNine
Рет қаралды 44 М.
Pandas Tutorial - Basics In 20 Minutes!
22:16
Greg Hogg
Рет қаралды 4,8 М.
Data Analysis on the Tokyo Olympics in Python!
50:51
Greg Hogg
Рет қаралды 7 М.
Feature Engineering Techniques For Machine Learning in Python
47:58
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 16 МЛН