I am currently reading the book "Machine Learning with R"1 by Brent Lantz,
and also want to learn more about the caret2 package, so I decided to replicate
the SPAM/HAM classification example from the chapter 4 of the book using caret
instead of the e10713 package used in the text.
There are other differences apart from using a different R package:
instead of using as comparison the number of false positives, I decided
to use the sensitivity and specificity as criteria to evaluate the
prediction models. Also, I used the calculated models on a (different) second
dataset to test their validity and prediction performance.