Reader small image

You're reading from  Learning Predictive Analytics with R

Product typeBook
Published inSep 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781782169352
Edition1st Edition
Languages
Right arrow
Author (1)
Eric Mayor
Eric Mayor
author image
Eric Mayor

Eric Mayor is a senior researcher and lecturer at the University of Neuchatel, Switzerland. He is an enthusiastic user of open source and proprietary predictive analytics software packages, such as R, Rapidminer, and Weka. He analyzes data on a daily basis and is keen to share his knowledge in a simple way.
Read more about Eric Mayor

Right arrow

Caret – a unified framework for classification


As we have seen, there are a number of differences between algorithms. For instance, some use the formula notation and some the matrix notation. The caret package uses a similar notation for all the algorithms it supports. Further, it contains tools that perform sampling operations, such as generating training and testing data with the same characteristics (stratified sampling), the use of boosting of bagging with several algorithms, and cross-validation samples. Examples of cross-validation include, for instance, the use of 10 subsamples, of which one is iteratively used as testing data and the rest as training data (or the leave-one-out cross-validation, where one observation is iteratively used as testing data and the rest as training data). Other features are included as well, such as examining the performance of the classification, as we have done previously. The caret package will be further discussed in Chapter 14, Cross-validation and...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Predictive Analytics with R
Published in: Sep 2015Publisher: PacktISBN-13: 9781782169352

Author (1)

author image
Eric Mayor

Eric Mayor is a senior researcher and lecturer at the University of Neuchatel, Switzerland. He is an enthusiastic user of open source and proprietary predictive analytics software packages, such as R, Rapidminer, and Weka. He analyzes data on a daily basis and is keen to share his knowledge in a simple way.
Read more about Eric Mayor