Lecture 12: Information Theory Flashcards
What is information?
Information is surprise.
Eg.. if someone tells you something unexpected you have gained information.
Information Content. Explain.
information content is usually expressed as the number of bits needed to communicate a message.
Information + Probabilities
the amount of information associated with an even (e), occurring is defined by an “probability of occurrence”
I(e) = information of an event
I(p) = information of a probability
Three properties.
- an event cannot have negative information
- more similar events carry less info
- more events provide more information
What is Entropy?
Is a source of stream of symbols from a finite set of symbols called the alphabet.
What is a Variable length code:
a mapping of strings of source symbols to strings, called “Code words”
1) binary
2) ASCII
3) morse
What are several desirable code properties?
- uniquely decodable - only one corresponding string
2, instantenous - only able to decode after the whole word is attained
Codes as Trees. Explain
- A tree is a graph where node = root
- each node is connected to a parent node (unique)
and also to a child node - A leaf term called for no child nodes
4.the edge connecting nodes are labelled with a different symbol in coding alphabet