The Gini Impurity Index explained in 8 minutes!

  Рет қаралды 40,941

Serrano.Academy

Serrano.Academy

Күн бұрын

Пікірлер: 104
@Leonardo-jv1ls
@Leonardo-jv1ls 3 жыл бұрын
This is the exact meaning of "The simplest and best explanation".
@muhannedalsaif153
@muhannedalsaif153 2 жыл бұрын
and beautiful!
@hansenmarc
@hansenmarc 2 жыл бұрын
Best explanation of Gini impurity I’ve ever seen. Thank you!
@RogerVandervort
@RogerVandervort 3 жыл бұрын
This explanation is, by far, one of the most simple and direct. It drives an intuitive understanding of the calculation.
@celismaroliveira6081
@celismaroliveira6081 5 ай бұрын
That is the best explanation of Gini impurity I’ve ever seen! Even 8-year-old children can get it. Amazing! Congrats Luis Serrano/Serrano Academy!!
@supersql8406
@supersql8406 3 жыл бұрын
The best gini index explanation!!
@reverse_engineered
@reverse_engineered 3 жыл бұрын
What a great and simple way to explain it! I love these visual demonstrations.
@skamal4u
@skamal4u 2 жыл бұрын
one of the best explanation ever . so simple and easy to follow 👏👏👏
@srisrinivas9873
@srisrinivas9873 3 жыл бұрын
Very intuitive and easy to grasp. Thanks for your effort Luis Serrano.
@JaviOrman
@JaviOrman 3 жыл бұрын
What an intuitive explanation!
@ssshukla26
@ssshukla26 3 жыл бұрын
Wow... It was this simple... Certainly I didn't learn this simply enough to understand at my uni... Not my prof's fault btw...
@shubha07m
@shubha07m Жыл бұрын
THE Best explanation of Gini index ever, YOU are awesome!
@736939
@736939 11 ай бұрын
The real scientist can explain everything by the simple terms. You're the real scientist and thank you very much, unfortunately there are not so many scientist (especially physicians) who are able to use simple language.
@marcinstrzesak346
@marcinstrzesak346 Жыл бұрын
Very good explanation. Thank you
@Q793148210
@Q793148210 2 жыл бұрын
This is the best gini index video by far ! thankyou
@tooniatoonia2830
@tooniatoonia2830 2 жыл бұрын
This man called Luis is a genius, I take Udacity course because of you!
@joragondafacultyeeedept309
@joragondafacultyeeedept309 Жыл бұрын
Great Serrano. Best of the presentations I have come across. You are a great teacher. Kudos
@abeferszt2408
@abeferszt2408 9 ай бұрын
One of the best explanations I've seen
@alioraqsa
@alioraqsa Жыл бұрын
best explanation i've seen so far
@developerboy8341
@developerboy8341 3 жыл бұрын
Probably best I got the best intuition of Gini index from it, can't thank you enough Man.
@alokranjancs
@alokranjancs 2 жыл бұрын
I rarely put comments on youtube but this is such a nice explanation of the concept. Thank you
@bryanbischof4351
@bryanbischof4351 3 жыл бұрын
Great visualizations and explanations.
@SerranoAcademy
@SerranoAcademy 3 жыл бұрын
Thank you Bryan!
@abail7010
@abail7010 8 ай бұрын
This is such a good and intuitive explanation. Well done and thank you!!
@kirtichandrakomarraju5164
@kirtichandrakomarraju5164 2 жыл бұрын
Explained like a King !!
@wanderbeautyE
@wanderbeautyE Жыл бұрын
Thank you for your explanation!!! I finally understood what GINI impurity index means!! :D
@xxelurraxx232
@xxelurraxx232 Жыл бұрын
This was a fantastic explanation of the formula! The visuals helped a ton. Thank you so much!
@johannahultgren2887
@johannahultgren2887 Жыл бұрын
Wow this was so good explained!😍 i'm an AI and neuroscience student and your videos are helping me out a lot!🙏
@alexbuchko323
@alexbuchko323 Жыл бұрын
This is an amazing explanation, I didn't know it was that simple!
@VivianSam-l6i
@VivianSam-l6i 11 ай бұрын
Great explanation, able to understand in one go!!
@abdulkarim.jamal.kanaan
@abdulkarim.jamal.kanaan 3 жыл бұрын
this is the best explanation; I hope the book is as easy to understand as this one :)
@zukofire6424
@zukofire6424 Жыл бұрын
Thanks Pr. Serrano for this! It helps prepare for my exam! :)
@TheDavidlloydjones
@TheDavidlloydjones 3 жыл бұрын
Bug Report: Audio vs. video glitch at 0:57~1:01. Spoken "on the right it's gonna be 0.47." Video shows 0.7.
@VidyaBhandary
@VidyaBhandary 3 жыл бұрын
Awesome explanation ! Thank you for this.
@TheSoonAnn
@TheSoonAnn Жыл бұрын
thanks for explanation, concise and clear
@mohamedgaal5340
@mohamedgaal5340 3 жыл бұрын
Thanks for this concise explanation!
@shaporovanatalia6805
@shaporovanatalia6805 Жыл бұрын
Best explanation ! Thank you!
@flaviospadavecchia5126
@flaviospadavecchia5126 3 жыл бұрын
Thank you, Luis! I'm enjoying your book very much :)
@srinivasachary7392
@srinivasachary7392 3 жыл бұрын
Wow... Great. Superb Explanation
@denisr5250
@denisr5250 5 ай бұрын
This was an awesome explanation! One small question (maybe correction?) - at around 7:20 shouldn't the Gini index of the diverse set be 1 - (0 + 0 + ... +0) since the probability of getting the same element twice is 0 - there are 10 unique elements i.e. no duplicates, so it's impossible to pick two of the same item.
@kishorab
@kishorab 2 жыл бұрын
Is Gini index being calculated with replacement. Blue,red,green,yellow squares consist of items being paired with themselves. If an item is picked it can only be paired with itself by replacing it back.
@arshadkazi4559
@arshadkazi4559 2 жыл бұрын
Amazing, just what I wanted!
@vaibhavmishra232
@vaibhavmishra232 Жыл бұрын
very geniously explained
@apristen
@apristen 3 жыл бұрын
thanks for great easy to understand explanation!!!
@marekglowacki2607
@marekglowacki2607 3 жыл бұрын
Great explanation! Could you make an video on Gini Impurity Index vs Gini Coefficient?
@fadhlallahbaklouti9111
@fadhlallahbaklouti9111 2 ай бұрын
Love the explanation
@fabio336ful
@fabio336ful Жыл бұрын
Th explanation I was looking for!
@usmanriaz94
@usmanriaz94 2 жыл бұрын
I thought maximum value of gini index is .5. i am confused. can somebody help ?
@thegreatdream8427
@thegreatdream8427 3 жыл бұрын
This is basically a measure of average distance between pairs of points in a space. In this case all the points are vertices of a regular unit simplex, so if two elements are the same they're the same point, and if different their distance is 1. If instead you have degrees of difference - distances in type-of-thing-space - the simple formula using squares would stop working, but it would fit the real world better. :)
@ritikchopra4429
@ritikchopra4429 3 жыл бұрын
Hey, great explanation but I have a doubt, why are we allowed to pick the same element twice?
@scooby95219
@scooby95219 3 жыл бұрын
very good explanation. thank you!
@shashanktripathi3034
@shashanktripathi3034 3 жыл бұрын
This Really helped Great Work Thanks
@alphonseinbaraj7602
@alphonseinbaraj7602 3 жыл бұрын
Wonderful... Great explanation
@michelcusteau3184
@michelcusteau3184 Жыл бұрын
You mention that Gini Impurity is going to give values between the range of 0 - 1, However from other sources it says that the Gini Impurity only going to output values between the range of 0 - 0.5 . Is this a mistake in the video?
@siddarthbali12
@siddarthbali12 3 жыл бұрын
Great explanation
@ian-haggerty
@ian-haggerty 4 ай бұрын
Awesome! You've sold another book :)
@SerranoAcademy
@SerranoAcademy 4 ай бұрын
Yay thanks! Enjoy, and lemme know what you think!
@MariaFlorenciay
@MariaFlorenciay 2 жыл бұрын
Very well explained!
@thanhtung24
@thanhtung24 Жыл бұрын
Best explanation
@mshirazbaig6055
@mshirazbaig6055 2 жыл бұрын
Good explanation
@fobos6166
@fobos6166 3 күн бұрын
Im very thankfull sir
@karmabender
@karmabender 3 жыл бұрын
Awesome explanation. This is part of Decision Tree algorithm but you are not making any video on Decision Tree. How Decision tree algo makes nodes and condition itself without applying our own if else statement? Clear explanation on internal working of Decision Tree is not available on youtube that how it works from scratch only using python without using any library like sklearn.
@mattcobras
@mattcobras 2 жыл бұрын
that's awesome, I like your lesson.
@grantsmith3653
@grantsmith3653 3 ай бұрын
Perfect! Thank you!!
@oatmilk9545
@oatmilk9545 Жыл бұрын
I don't get the last example with 10 different classes. in this case, we're never going to have a pair of equal elements (which you started your video with); and in the square where we seek for intersections of two classes, we'll have just an empty cell for each pair of elements from the same class because, again, their pairing isn't possible
@emrahyener402
@emrahyener402 3 жыл бұрын
You are great! keep going please!
@刘鹏宇-k7f
@刘鹏宇-k7f 2 жыл бұрын
Thank you very much.
@forpublicstuff728
@forpublicstuff728 2 жыл бұрын
Awesome! Thank you.
@angjelinhila927
@angjelinhila927 Жыл бұрын
Je suis confus. Isn't max gini standardized to 0.5? In other words 1 - (0.5^2 + 0.5^2) = 0.5?
@eric_bonucci_data
@eric_bonucci_data Жыл бұрын
This definition of the Gini index is different from the one in Introduction to Statistical Learning with R (Equation 8.6 p.335), could you please elaborate on that ? Thank you
@eric_bonucci_data
@eric_bonucci_data Жыл бұрын
I just figured it out : the sum of the proportion of training observations over all classes is equal to 1, so sum(pk(1-pk)) = 1 - sum(pk^2)
@eric_bonucci_data
@eric_bonucci_data Жыл бұрын
Knowing that other definition from ISLR also helps to understand why the Gini index can be seen as the probability of sampling two observations of different class in the dataset.
@chanduiit42
@chanduiit42 3 жыл бұрын
The best..the best one
@jerrerock
@jerrerock 2 жыл бұрын
Thanks.
@laviusdev3763
@laviusdev3763 2 жыл бұрын
@stephennjuki4206
@stephennjuki4206 Жыл бұрын
thanks. very succinct.
@ahmadawad4782
@ahmadawad4782 3 жыл бұрын
It seems that the link is wrong. Gives error 404, page not found.
@SerranoAcademy
@SerranoAcademy 3 жыл бұрын
Thank you Ahmad! Fixed
@ahmadawad4782
@ahmadawad4782 3 жыл бұрын
@@SerranoAcademy Thanks. Just purchased an ebook copy. Can't wait to read through.
@SerranoAcademy
@SerranoAcademy 3 жыл бұрын
@@ahmadawad4782 so glad to hear, thank you! I hope you like it! :)
@alexvass
@alexvass 10 ай бұрын
Thanks
@SerranoAcademy
@SerranoAcademy 10 ай бұрын
@alexvass thank you so much for your kindness!!
@shubhamtalks9718
@shubhamtalks9718 2 жыл бұрын
Amazing!!!
@tourdesource
@tourdesource 22 күн бұрын
Shouldn't we eliminate the diagonal? It doesn't make sense to pick the same element twice.
@SerranoAcademy
@SerranoAcademy 21 күн бұрын
@@tourdesource good point! I thought the same thing, since it makes sense to not take the diagonal, but for some reason they defined it that way. Removing the diagonal, the formula changes from 1-p_1^2-…-p_k^2 to 1-1/n - [p_1^2-…-p_k^2]*(n-1)/n So at the end, it will give the same decision tree.
@tourdesource
@tourdesource 21 күн бұрын
Got it. Simpler formula, same result. Thanks a lot for answering!
@ger9551
@ger9551 2 жыл бұрын
what happens if all gini index is 0?
@vaggelisntaloukas2016
@vaggelisntaloukas2016 2 жыл бұрын
Thanks!
@SerranoAcademy
@SerranoAcademy 2 жыл бұрын
Thank you so much for your kind contribution Vaggelis! 😊
@noelthomasbejoy3089
@noelthomasbejoy3089 3 жыл бұрын
if theres only oneof them ,how can 1/10 ^2 exist.Since it cant be selected twice?
@shripaddeshpande5766
@shripaddeshpande5766 3 жыл бұрын
I guess its sampling with replacement.
@abdelrhmanrhyaseen6194
@abdelrhmanrhyaseen6194 2 жыл бұрын
Amazing
@prackertracker7189
@prackertracker7189 3 жыл бұрын
2:33 here you say gini is the propability of picking two distinct data points of a data set. At the end you present a totally diverse data set and say the gini index is 0.9. How is that possible since the propability of picking two totally different data points i 100% because we only have distinct and none data points that are the same?
@loftyTHEOWNER
@loftyTHEOWNER 2 жыл бұрын
I understood there is no sampling. Just a matrix of all the observations. So for 10 different objects, we have a matrix 10x10 and the elements on the diagonals are equal of course, so you d0 (100 - 10) / 100 = 0.9
@nijat6704
@nijat6704 2 жыл бұрын
As I know the Gini index ranges between 0 and 0.5. So the answer that you found seems wrong
@bhaveshvoswal
@bhaveshvoswal 3 жыл бұрын
Nice
@camzbeats6993
@camzbeats6993 3 ай бұрын
Top
@milenkoobradovic2896
@milenkoobradovic2896 2 жыл бұрын
👏👏👏
@kabilakamal8269
@kabilakamal8269 3 жыл бұрын
Well explained 👍 Another precise detailed video like that of “Matrix Factorization” 😂 Please can I have your contact email. I’d like to reach you personally. Thank you
@SerranoAcademy
@SerranoAcademy 3 жыл бұрын
Thank you Kabila! Absolutely, the best way to get in touch is through here serrano.academy/contact/
@akilanm6642
@akilanm6642 7 күн бұрын
thank u
@zaidkidwai7831
@zaidkidwai7831 2 жыл бұрын
Very well explained, thank you
@murilopalomosebilla2999
@murilopalomosebilla2999 3 жыл бұрын
Really well explained! Thanks!!
@MritunjayKumar-ck4hx
@MritunjayKumar-ck4hx 3 жыл бұрын
amazing
Decision and Classification Trees, Clearly Explained!!!
18:08
StatQuest with Josh Starmer
Рет қаралды 767 М.
Shannon Entropy and Information Gain
21:16
Serrano.Academy
Рет қаралды 205 М.
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 8 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 82 МЛН
The KL Divergence : Data Science Basics
18:14
ritvikmath
Рет қаралды 49 М.
An Introduction to Decision Trees | Gini Impurity & Python Code
19:55
All Machine Learning algorithms explained in 17 min
16:30
Infinite Codes
Рет қаралды 231 М.
Entropy (for data science) Clearly Explained!!!
16:35
StatQuest with Josh Starmer
Рет қаралды 618 М.
Machine Learning: Testing and Error Metrics
44:43
Serrano.Academy
Рет қаралды 109 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 327 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 590 М.
Why π^π^π^π could be an integer (for all we know!).
15:21
Stand-up Maths
Рет қаралды 3,4 МЛН
Tutorial 39- Gini Impurity Intuition In Depth In Decision Tree
11:13
More on Bertrand's Paradox (with 3blue1brown) - Numberphile
23:38
Numberphile2
Рет қаралды 535 М.
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18