Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Machine Learning by (19k points)
Can anyone tell me how to find entropy in Machine Learning?

1 Answer

0 votes
by (19.9k points)
edited by

Entropy is usually calculated when you build decision trees. It is calculated using the following formula:

Entropy = -SUM(Pi * log2(Pi))

Where Pi (read ‘P of i’) is the proportion of a node belonging to a particular class. Its value ranges from 0 to 1 with ‘1’ being maximum entropy and ‘0’ being minimum entropy.

If you are looking for an online course to learn Machine Learning, check out this Machine Learning Certification program by Intellipaat.

Browse Categories

...