Classification in Python | logistic regression, LDA, QDA | Data Science With Marco

  Рет қаралды 9,106

Data Science with Marco

Data Science with Marco

Күн бұрын

Notebook and dataset: github.com/marcopeix/datascie...
📚 Theory: 0:00 - 7:07
🐍 Code: 7:08 - 26:36
In this video, we cover the topic of classification in data science. We learn about logistic regression, linear discriminant analysis (LDA) and quadratic discriminant analysis (QDA), and use these algorithms to build a classifier for edible or poisonous mushrooms in Python.
Follow me on Medium: / marcopeixeiro

Пікірлер: 11
@camerongridley9065
@camerongridley9065 3 жыл бұрын
Really enjoying your videos so far. Really clear and great code. Thanks for putting them together. A few suggestions for this one: 1) cover what to do if target class is imbalanced 2) pick a different target that doesn't produce a perfect ROC/AUC so we can actually see how different models perform. Keep up the great work!
@datasciencewithmarco
@datasciencewithmarco 3 жыл бұрын
Thanks for the feedback!
@priyadoesdatascience5141
@priyadoesdatascience5141 3 жыл бұрын
Thanks for the detail video, can you tell us how to test the assumptions for LDA and QDA using python
@saswatprusty6691
@saswatprusty6691 2 жыл бұрын
hey, can you show a case study where LDA is used over logistic regression or explain when to use one over the other?
@rablaze
@rablaze 3 жыл бұрын
how do you set y_pred_lda = np.where(np.where(y_prob_lda > .5, 1, 0) if you have more than two classifications?
@datasciencewithmarco
@datasciencewithmarco 3 жыл бұрын
You do not necessarily need to set the class based on the probability. You can directly use the predict method of the LDA implementation in scikit-learn.
@moak4052
@moak4052 4 жыл бұрын
Hallo, can you make a video about resampling methods (bootstrap, cross validation
@datasciencewithmarco
@datasciencewithmarco 4 жыл бұрын
Yes! The next video will be about resampling and regularixation!
@pedroribeiro6271
@pedroribeiro6271 3 жыл бұрын
good video, still didnt use cross validation did you? You imported it but didnt use it right?
@datasciencewithmarco
@datasciencewithmarco 3 жыл бұрын
Yes, you're right. I did not want to use cross-validation without explanation. So I made a video where I dive deeper into the subject: kzbin.info/www/bejne/mXi1aHSibJp2n8k Afterwards, I use cross-validation in all my subsequent tutorials! Cheers!
@pedroribeiro6271
@pedroribeiro6271 3 жыл бұрын
@@datasciencewithmarco thanks for the answer :D
Resampling and Regularization | Data Science with Marco
14:41
Data Science with Marco
Рет қаралды 1,2 М.
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 2,6 МЛН
Which one of them is cooler?😎 @potapova_blog
00:45
Filaretiki
Рет қаралды 10 МЛН
Anomaly detection in time series with Python | Data Science with Marco
34:22
Data Science with Marco
Рет қаралды 26 М.
Supervised Learning and Linear Discriminants
19:05
Nathan Kutz
Рет қаралды 6 М.
ROC and AUC, Clearly Explained!
16:17
StatQuest with Josh Starmer
Рет қаралды 1,4 МЛН
Python for Data Analysis: Logistic Regression
19:06
DataDaft
Рет қаралды 10 М.
All Learning Algorithms Explained in 14 Minutes
14:10
CinemaGuess
Рет қаралды 181 М.
Data Science Portfolio Project: Regression #1 | Data Science with Marco
21:08
Data Science with Marco
Рет қаралды 4,7 М.
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 3,6 МЛН
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 1,2 МЛН
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 6 МЛН
Секретный смартфон Apple без камеры для работы на АЭС
0:22
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 49 МЛН