- Prediction study design
- Types of Errors
- Cross validation
- The caret package
- Plotting for prediction
- Preprocessing
- Predicting with regression
- Predicting with trees
- Boosting
- Bagging
- Model blending
- Forecasting
Jeffrey Leek
Johns Hopkins Bloomberg School of Public Health
In general, Positive = identified and negative = rejected. Therefore:
Medical testing example:
library(caret)
library(kernlab)
data(spam)
inTrain <- createDataPartition(y = spam$type, p = 0.75, list = FALSE)
training <- spam[inTrain, ]
testing <- spam[-inTrain, ]
M <- abs(cor(training[, -58]))
diag(M) <- 0
which(M > 0.8, arr.ind = T)
## row col
## num415 34 32
## direct 40 32
## num857 32 34
## num857 32 40
http://webee.technion.ac.il/people/rmeir/BoostingTutorial.pdf