Let’s Write a Decision Tree Classifier from Scratch - Machine Learning Recipes #8

Let’s Write a Decision Tree Classifier from Scratch - Machine Learning Recipes #8

Google for Developers

7 лет назад

554,751 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@leoyuanluo
@leoyuanluo - 19.06.2020 20:27

best video about decision tree thus far

Ответить
@HarpreetKaur-qq8rx
@HarpreetKaur-qq8rx - 23.06.2020 05:17

Why is the impurity at the decision node "color=green" equal to 0.62

Ответить
@HarpreetKaur-qq8rx
@HarpreetKaur-qq8rx - 23.06.2020 22:19

How to decide when to use Decision Tree Vs Random Forest

Ответить
@azrael5648
@azrael5648 - 02.07.2020 12:58

Hey can anyone explain to me why do we square while taking the gini impurity? Why can't we take it without squaring it.

Ответить
@ricardohincapie1537
@ricardohincapie1537 - 03.07.2020 05:09

Such a good video! I have very clear now

Ответить
@rohitgavirni3400
@rohitgavirni3400 - 20.08.2020 07:42

The script is tightly edited. Much appreciated.

Ответить
@rifatmahammod4002
@rifatmahammod4002 - 23.08.2020 02:07

He is a nice person

Ответить
@msctube45
@msctube45 - 11.09.2020 21:40

Thank you Josh for preparing and explaining this presentation aa well as the software to help the understanding of the topics. Great job!

Ответить
@SampadaThorat000
@SampadaThorat000 - 15.09.2020 11:59

I m using ua algo....but getting queries...how do I connect u??

Ответить
@donking6996
@donking6996 - 23.09.2020 19:37

I am crying tears of joy! How can you articulate such complex topics so clearly!

Ответить
@whatif3753
@whatif3753 - 28.09.2020 01:32

Thank you sir thank you so much.

Ответить
@kwarnkham3836
@kwarnkham3836 - 01.10.2020 13:10

Love the music!

Ответить
@mindset873
@mindset873 - 14.10.2020 19:49

I've never seen any other channels like this. So deep and perfect.

Ответить
@astonlee9420
@astonlee9420 - 17.10.2020 20:32

holy loly gesus moly

Ответить
@muslimbekabduganiev7483
@muslimbekabduganiev7483 - 12.11.2020 08:01

You are creating a question with only one value, what if I want to have a question like "Is it GREEN OR YELLOW?". So, basically, I will have to test all combinations of values of size 2 to find the best info_gain for a particular attribute. Furthermore, we could test all possible sizes of a question. Would that give a better result or is it better to use only one value of the attribute to build the question?

Ответить
@LucasCFCJF
@LucasCFCJF - 11.12.2020 14:31

Does someone know how to code a pruning of this tree?

Ответить
@fathimadji8570
@fathimadji8570 - 26.12.2020 05:24

Excuse me, I am still not clear about how the value of 0.64 comes out, can you explain a little more?

Ответить
@AyushGupta-kp9xf
@AyushGupta-kp9xf - 10.01.2021 20:26

So much value in just 10 mins, this is Gold

Ответить
@kswill4514
@kswill4514 - 16.01.2021 17:29

wait a min... you are calculating IG based on gini? I think IG is associated with entropy, and IG should be nothing but choose the split made delta entropy biggest.

Ответить
@KamEt-69
@KamEt-69 - 10.02.2021 02:07

How comes that in the calculation of the GINI Impurity we remove from the impurity the square of the probability of each label?

Ответить
@tymothylim6550
@tymothylim6550 - 31.03.2021 09:22

Thank you very much for this video! I learnt a lot on how to understand Gini Coefficient and how it is used to pick the best questions to split the data!

Ответить
@adampaxton5214
@adampaxton5214 - 06.05.2021 13:23

Great video and such clear code to accompany it! I learned a lot :)

Ответить
@techmech7196
@techmech7196 - 20.09.2021 21:53

Can anyone help me out ,I'm getting error like couldn't able to convert int value into float from dataset

Ответить
@spoortigandhad8750
@spoortigandhad8750 - 20.10.2021 14:39

How do we train this model and save it ?

Ответить
@arminhejazian5306
@arminhejazian5306 - 01.12.2021 17:06

Amazing and Tnx for sharing the code <3

Ответить
@jaimetirado6130
@jaimetirado6130 - 13.01.2022 21:37

Has anyone run into 'TypeError: cannot unpack non-iterable NoneType object' at the end of code?

Ответить
@tooniatoonia2830
@tooniatoonia2830 - 08.02.2022 00:11

I built a tree from scratch but I am stuck making a useful plot like is obtainable in sklearn. Any help?

Ответить
@ryanp9441
@ryanp9441 - 02.03.2022 03:44

so INSTRUCTIVE. thank you so much for your clear & precise explanation

Ответить
@ericcartman106
@ericcartman106 - 17.05.2022 17:23

Care to explain where does 4/5 or 1/5 come from? There are 11 training examples, and the left only has 8, the number does not add up.

Ответить
@slr3123
@slr3123 - 08.07.2022 07:24

I understood it as "when Gini Impurity of parent node is zero, Information Gain with child nodes is also zero. So we don't have to ask more question to classify." Is it right?

Ответить
@juliocardenas4485
@juliocardenas4485 - 05.08.2022 13:43

incredible !

Ответить
@omarsherif88
@omarsherif88 - 04.09.2022 12:40

Awesome tutorial, many thanks!

Ответить
@dunstantough5134
@dunstantough5134 - 27.09.2022 08:07

This video has saved my life 😆

Ответить
@Po-YuJuan-g9k
@Po-YuJuan-g9k - 28.10.2022 11:29

Sooo dooope !!!!
Helpful 🔥🔥🔥

Ответить
@mustafaghoneim5262
@mustafaghoneim5262 - 02.11.2022 00:25

😮😮😮😮

Ответить
@omarlopezrubio4980
@omarlopezrubio4980 - 09.12.2022 13:15

Why gini impurity has a square?

Ответить
@NECRAZ_D
@NECRAZ_D - 27.03.2023 15:46

Is it information gain or gini gain? I'm trying to figure it out from multiple sources and I'm kinda confused.

Ответить
@kaziranga_national_park
@kaziranga_national_park - 30.04.2023 19:10

Hello sir, it is possible to classify animal-trapped camera images and segregate them into folders using an automatic process. This can be done using machine learning and computer vision techniques. Please make a video. I work in the forest department. Many Photographs capture a maximum of 18 lakhs. One by one segregation of having a problem. Please help us

Ответить
@aseperate
@aseperate - 02.05.2023 02:24

The Gino impurity function in the code does not output the same responses listed in the video. It’s quite confusing.

Ответить
@LiterateProgramming
@LiterateProgramming - 10.10.2023 18:05

We can teach it to you but we cannot learn it for you.

Ответить
@hiskaya
@hiskaya - 24.11.2023 21:54

thanks! that was helpful)

Ответить
@senyotsedze3388
@senyotsedze3388 - 25.11.2023 17:53

you are awesome, man! but why is it that, the second question on if the color is yellow? you separated only apple when two grapes are red. Or is it because they are already taken care of at the first false split of the node?

Ответить
@mohammadbayat1635
@mohammadbayat1635 - 02.12.2023 03:20

Why Impurity is 0.62 after partitioning on "Is color green" on the left subtree?

Ответить
@alirezagh1456
@alirezagh1456 - 31.03.2024 20:08

One of the best course i ever seed

Ответить
@teosurch
@teosurch - 20.11.2024 00:38

Incredibly clear explanation. Thank you!

Ответить
@imranfahad5960
@imranfahad5960 - 22.03.2025 00:19

Great to watch it.

Ответить