Big Data Analytics with Java by Mehta Rajat
Author:Mehta, Rajat [Mehta, Rajat]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2017-07-31T04:00:00+00:00
As seen in the preceding formula, if i is one such item in the set(x) then we find its probability within the set and multiply it by the logarithmic of its probability (log to the base 2). We do this for all the different discrete classes within the impure set and sum up all the calculated values for each different class in the set.
Let's understand this with a simple example.
Suppose you have a set of different fruits such as:
Set(fruits) = {apples, apples, apples, orange, orange, orange, orange, orange}
On this set, we find the probability of pulling each fruit.
So, it will be calculated as follows:
Probability(apple) = 3/8
Probability(orange) = 5/8
So, the Entropy for the Set (fruits) will be:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9755)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9647)
The Mikado Method by Ola Ellnestam Daniel Brolund(9646)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8153)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7658)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7658)
Grails in Action by Glen Smith Peter Ledbrook(7575)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7404)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6284)
Windows APT Warfare by Sheng-Hao Ma(6152)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(5909)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(5766)
Kotlin in Action by Dmitry Jemerov(4922)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4225)
Functional Programming in JavaScript by Mantyla Dan(3946)
Solidity Programming Essentials by Ritesh Modi(3637)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3383)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3356)
The Ultimate iOS Interview Playbook by Avi Tsadok(3314)
