Classification Trees in Python from Start to Finish

preview_player
Показать описание

This webinar was recorded 20200528 at 11:00am (New York time).

NOTE: This StatQuest assumes are already familiar with:

For a complete index of all the StatQuest videos, check out:

If you'd like to support StatQuest, please consider...

...or...

...buying one of my books, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...

...or just donating to StatQuest!

Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:

0:00 Awesome song and introduction
5:23 Import Modules
7:40 Import Data
11:18 Missing Data Part 1: Identifying
15:57 Missing Data Part 2: Dealing with it
21:16 Format Data Part 1: X and y
23:33 Format Data Part 2: One-Hot Encoding
37:29 Build Preliminary Tree
46:31 Pruning Part 1: Visualize Alpha
51:22 Pruning Part 2: Cross Validation
56:46 Build and Draw Final Tree

#StatQuest #ML #ClassificationTrees
Рекомендации по теме
Комментарии
Автор

BAM! My best decision this year was to follow your channel.

nuttysg
Автор

I just started my bachelor thesis and i really wanted to thank you!
Your videos are helping me so much.
You are a

renekokoschka
Автор

Thank you, this video helped me a lot! For anyone else following along in 2023, the way the confusion matrix is drawn here didn't work for me anymore. I replaced it with the following code:

cm = confusion_matrix(y_test, clf_dt_pruned.predict(x_test), labels = clf_dt_pruned.classes_)

disp = = cm, display_labels=['Does not have HD', "Has HD"])

disp.plot()

plt.show()

SashaLamp
Автор

You are so so helpful!! I am a data science major and your videos saved my academics. Thank you!!

jahanvi
Автор

I was searching for a tutorial related to statistics and landed here. At first, I thought this is just one among many low quality content tutorials out there, but I was wrong. This is one of the best statistics and data science related channels I have seen so far, wonderful explanation by Josh. Addicted to this channel and subscribed. Thank you Josh for sharing your knowledge and making us learn in a constructive way.

ravi_krishna_reddy
Автор

Hi Josh! You're helping me get ready for a life-changing case and interview.
Thank you for all the amazing and thoroughly detailed videos.

abzxcvbn
Автор

I'm absolute beginner and this is what i was looking. Thank you so much for this. Much appreciated sir!!

dhruvishah
Автор

I dunno how I stumbled on your channel a few videos ago, but you've really got me interested in statistics. Nice Work sir 😃

ozzyfromspace
Автор

How to implement pipeline with cost complexity? Consider the marking part which start before 49:00... Thank in advance! You are the best teacher...

aleksandartta
Автор

I have already commented but I watched the video again and I have to say I am even more impressed than before. truly fantastic tutorial, not too verbose but with every action clarified and commented in the code, beautifully presented (I have to work on my markdown; there are quite a few markdown formats you use that I cannot replicate...to study when I get the notebook). So all in all, one of the very top ML tuts I have ever watched (including paid for training courses). Can't wait for today's or tomorrows webinars. Can't join in real time as based in Europe, but will definitely pick it up here and get the accompanying study guides/code.

ccuny
Автор

your channel is the best at explaining complex machine learning algorithm step by step. please make more videos

gbchrs
Автор

My intro song for this channel:
" It's like Josh has got his hands on python right,
He teaches Ml and AI really Well and tight ---- STAT QUEST"
btw thanks Brother for so much wonderful content for

pratyushmisra
Автор

excellent thorough tutorial - appreciate all the careful work that went into it.

rogerwilcoshirley
Автор

I love your content! Definitely my favorite channel this year
Regards from Mexico!

montserratramirez
Автор

I actually think it can be great if you created more videos for other ML algorithms. After teaching us almost every aspect of machine learning algorithms as far as the mechanics and the related fundamentals are concerned, I feel it is high time to see those in action, and Python is, of course, the best way to go.

kaimueric
Автор

You explain things in a way that is easy to understand. Bravo!

jefferyg
Автор

I loved your Brazil polo shirt! Triple bam!!! Thank you for your videos. Regards from Brazil!

joaomanoellins
Автор

Josh,
this is really great.
Can you upload videos with some insights on your personal research and which methods did you use?
And some examples of why you prefer to use one method instead of the other? I mean, not only because you get a better result in RUC/AUC but is there a "biological" reasoning for using a specific method?

liranzaidman
Автор

Another hit for me. I will be getting the Jupyter notebook and some if not all of you study guides (I only just realised they existed).

ccuny
Автор

This video helped me a lot for my Data Mining assignment.. Thank you..

creativeo
join shbcf.ru