Join the conversation
I learned about the concepts of Entropy, Gini Imputation, and Information Gain in python using Example data and also learned the interpretations of all of them.
Reply
goood done
best courese
Reply
Done
Reply
good
Reply
I have done this lecture with 100% practice.
Reply
I have done this video with 100% practice.
Reply
Decision tree algorithm in Python in which we calculated the values of
(1) Entropy=0.97 means a moderate level of disorder in the dataset
(2) Gini_Impurity=0.48 mean impurity found
(3) Information_Gain=0 means no result is found
Reply
And I also learned ML algorithm of decision tree in PythonAnd the Steps of Decision Tree and Example of data set1-Import the library of math
2-Example Dataset
3-Let's say we have a dataset with two classes, A and B
4-Suppose in a dataset of 10 elements, 4 are of class A and 6 are of class B
5-Number of elements in each class
6-Let's calculate the proportions
7-Print the proportions
8-Entropy Calculate
9-Gini impurity
10-Calculate Information Gain
ALLAH PAK aap ko sahat o aafiat wali lambi umar ata kray aor ap ko dono jahan ki bhalian naseeb farmaey,Ameen.
Reply