The Shannon entropy measures the entropy of an object or the system is a measure of the randomness in the system.