Or How I Learned to Stop Worrying About Entropy and Enjoy the Bomb
The unpredictability of information contained within an message
Q: What color cloud is first to show up
Side 1
Probability of flipping heads?
Probability of flipping heads and then tails?
Entropy and probability are directly connected.
Entropy of a fair coin toss?
0.5
In a data set, which characteristics give us the most information.
Parent
Children
0.918
0.874
0.043
-
=
FSelector in R will do this all for us.
data(iris) weights <- information.gain(Species~., iris) print(weights) subset <- cutoff.k(weights, 2) f <- as.simple.formula(subset, "Species") print(f)
By Matthew FancyPants Getch