Navigate Select ESC Close

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

2020-05-25 Science & Technology
9.7k
196
11

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Notebook and dataset: https://github.com/marcopeix/datasciencewithmarco 📚 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: https://medium.com/@marcopeixeiro

Top Comments (6)

@camerongridley9065 2020-10-20

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!

3 1 replies
@rablaze 2021-06-20

how do you set y_pred_lda = np.where(np.where(y_prob_lda > .5, 1, 0) if you have more than two classifications?

1 1 replies
@pedroribeiro6271 2020-07-28

good video, still didnt use cross validation did you? You imported it but didnt use it right?

0 2 replies
@moak4052 2020-05-28

Hallo, can you make a video about resampling methods (bootstrap, cross validation

0 1 replies
@priyadoesdatascience5141 2020-12-02

Thanks for the detail video, can you tell us how to test the assumptions for LDA and QDA using python

0
@VagabondStoryTeller 2021-07-31

hey, can you show a case study where LDA is used over logistic regression or explain when to use one over the other?

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot