Learn R Programming

⚠️There's a newer version (7.0-1) of this package.Take me there.

caret (version 4.78)

Classification and Regression Training

Description

Misc functions for training and plotting classification and regression models

Copy Link

Version

Install

install.packages('caret')

Monthly Downloads

138,220

Version

4.78

License

GPL-2

Maintainer

Max Kuhn

Last Published

February 9th, 2011

Functions in caret (4.78)

findCorrelation

Determine highly correlated variables
as.table.confusionMatrix

Save Confusion Table Results
maxDissim

Maximum Dissimilarity Sampling
BloodBrain

Blood Brain Barrier Data
bagFDA

Bagged FDA
confusionMatrix

Create a confusion matrix
BoxCoxTrans.default

Box-Cox Transformations
panel.needle

Needle Plot Lattice Panel
modelLookup

Descriptions Of Models Available in train()
plsda

Partial Least Squares and Sparse Partial Least Squares Discriminant Analysis
varImp

Calculation of variable importance for regression and classification models
prcomp.resamples

Principal Components Analysis of Resampling Results
normalize2Reference

Quantile Normalize Columns of a Matrix Based on a Reference Distribution
plotObsVsPred

Plot Observed versus Predicted Results in Regression and Classification Models
train

Fit Predictive Models over Different Tuning Parameters
normalize.AffyBatch.normalize2Reference

Quantile Normalization to a Reference Distribution
createDataPartition

Data Splitting functions
cox2

COX-2 Activity Data
cars

Kelly Blue Book resale data for 2005 model year GM cars
oneSE

Selecting tuning Parameters
predict.bagEarth

Predicted values based on bagged Earth and FDA models
resampleHist

Plot the resampling distribution of the model statistics
print.train

Print Method for the train Class
classDist

Compute and predict the distances to class centroids
histogram.train

Lattice functions for plotting resampling results
sensitivity

Calculate sensitivity, specificity and predictive values
dhfr

Dihydrofolate Reductase Inhibitors Data
filterVarImp

Calculation of filter-based variable importance
applyProcessing

Data Processing on Predictor Variables (Deprecated)
format.bagEarth

Format 'bagEarth' objects
mdrr

Multidrug Resistance Reversal (MDRR) Agent Data
diff.resamples

Inferential Assessments About Model Performance
nearZeroVar

Identification of near zero variance predictors
predict.knn3

Predictions from k-Nearest Neighbors
aucRoc

Compute the area under an ROC curve
dotplot.diff.resamples

Lattice Functions for Visualizing Resampling Differences
caretFuncs

Backwards Feature Selection Helper Functions
icr.formula

Independent Component Regression
nullModel

Fit a simple, non-informative model
roc

Compute the points for an ROC curve
featurePlot

Wrapper for Lattice Plotting of Predictor Variables
lattice.rfe

Lattice functions for plotting resampling results of recursive feature selection
GermanCredit

German Credit Data
plotClassProbs

Plot Predicted Probabilities in Classification Models
spatialSign

Compute the multivariate spatial sign
sbfControl

Control Object for Selection By Filtering (SBF)
knnreg

k-Nearest Neighbour Regression
predictors

List predictors used in the model
predict.train

Extract predictions and class probabilities from train objects
summary.bagEarth

Summarize a bagged earth or FDA fit
createGrid

Tuning Parameter Grid
plot.varImp.train

Plotting variable importance measures
resamples

Collation and Visualization of Resampling Results
rfe

Backwards Feature Selection
pcaNNet.default

Neural Networks with a Principal Component Step
pottery

Pottery from Pre-Classical Sites in Italy
predict.knnreg

Predictions from k-Nearest Neighbors Regression Model
sbf

Selection By Filtering (SBF)
dotPlot

Create a dotplot of variable importance values
segmentationData

Cell Body Segmentation
plot.train

Plot Method for the train Class
xyplot.resamples

Lattice Functions for Visualizing Resampling Results
tecator

Fat, Water and Protein Content of Meat Samples
resampleSummary

Summary of resampled performance estimates
bag.default

A General Framework For Bagging
oil

Fatty acid composition of commercial oils
postResample

Calculates performance across resamples
rfeControl

Controlling the Feature Selection Algorithms
preProcess

Pre-Processing of Predictors
caretSBF

Selection By Filtering (SBF) Helper Functions
knn3

k-Nearest Neighbour Classification
print.confusionMatrix

Print method for confusionMatrix
trainControl

Control parameters for train
caret-internal

Internal Functions
dummyVars

Create A Full Set of Dummy Variables
bagEarth

Bagged Earth
findLinearCombos

Determine linear combinations in a matrix
Alternate Affy Gene Expression Summary Methods.

Generate Expression Values from Probes