Learn R Programming

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

caret (version 4.91)

Classification and Regression Training

Description

Misc functions for training and plotting classification and regression models

Copy Link

Version

Install

install.packages('caret')

Monthly Downloads

163,965

Version

4.91

License

GPL-2

Maintainer

Max Kuhn

Last Published

June 9th, 2011

Functions in caret (4.91)

as.table.confusionMatrix

Save Confusion Table Results
postResample

Calculates performance across resamples
format.bagEarth

Format 'bagEarth' objects
normalize2Reference

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

Wrapper for Lattice Plotting of Predictor Variables
predict.knnreg

Predictions from k-Nearest Neighbors Regression Model
plotObsVsPred

Plot Observed versus Predicted Results in Regression and Classification Models
prcomp.resamples

Principal Components Analysis of Resampling Results
bag.default

A General Framework For Bagging
filterVarImp

Calculation of filter-based variable importance
resamples

Collation and Visualization of Resampling Results
findLinearCombos

Determine linear combinations in a matrix
resampleSummary

Summary of resampled performance estimates
predict.knn3

Predictions from k-Nearest Neighbors
plsda

Partial Least Squares and Sparse Partial Least Squares Discriminant Analysis
predictors

List predictors used in the model
Alternate Affy Gene Expression Summary Methods.

Generate Expression Values from Probes
bagFDA

Bagged FDA
dotPlot

Create a dotplot of variable importance values
plotClassProbs

Plot Predicted Probabilities in Classification Models
nullModel

Fit a simple, non-informative model
predict.bagEarth

Predicted values based on bagged Earth and FDA models
predict.train

Extract predictions and class probabilities from train objects
lattice.rfe

Lattice functions for plotting resampling results of recursive feature selection
preProcess

Pre-Processing of Predictors
maxDissim

Maximum Dissimilarity Sampling
pottery

Pottery from Pre-Classical Sites in Italy
bagEarth

Bagged Earth
dummyVars

Create A Full Set of Dummy Variables
GermanCredit

German Credit Data
findCorrelation

Determine highly correlated variables
applyProcessing

Data Processing on Predictor Variables (Deprecated)
roc

Compute the points for an ROC curve
classDist

Compute and predict the distances to class centroids
modelLookup

Descriptions Of Models Available in train()
plot.train

Plot Method for the train Class
oil

Fatty acid composition of commercial oils
cox2

COX-2 Activity Data
print.confusionMatrix

Print method for confusionMatrix
train

Fit Predictive Models over Different Tuning Parameters
cars

Kelly Blue Book resale data for 2005 model year GM cars
xyplot.resamples

Lattice Functions for Visualizing Resampling Results
caretFuncs

Backwards Feature Selection Helper Functions
varImp

Calculation of variable importance for regression and classification models
BloodBrain

Blood Brain Barrier Data
caret-internal

Internal Functions
mdrr

Multidrug Resistance Reversal (MDRR) Agent Data
diff.resamples

Inferential Assessments About Model Performance
BoxCoxTrans.default

Box-Cox Transformations
createDataPartition

Data Splitting functions
panel.needle

Needle Plot Lattice Panel
aucRoc

Compute the area under an ROC curve
plot.varImp.train

Plotting variable importance measures
pcaNNet.default

Neural Networks with a Principal Component Step
icr.formula

Independent Component Regression
knnreg

k-Nearest Neighbour Regression
knn3

k-Nearest Neighbour Classification
sensitivity

Calculate sensitivity, specificity and predictive values
confusionMatrix

Create a confusion matrix
createGrid

Tuning Parameter Grid
oneSE

Selecting tuning Parameters
histogram.train

Lattice functions for plotting resampling results
rfe

Backwards Feature Selection
segmentationData

Cell Body Segmentation
summary.bagEarth

Summarize a bagged earth or FDA fit
sbf

Selection By Filtering (SBF)
caretSBF

Selection By Filtering (SBF) Helper Functions
rfeControl

Controlling the Feature Selection Algorithms
trainControl

Control parameters for train
tecator

Fat, Water and Protein Content of Meat Samples
spatialSign

Compute the multivariate spatial sign
dhfr

Dihydrofolate Reductase Inhibitors Data
dotplot.diff.resamples

Lattice Functions for Visualizing Resampling Differences
nearZeroVar

Identification of near zero variance predictors
normalize.AffyBatch.normalize2Reference

Quantile Normalization to a Reference Distribution
print.train

Print Method for the train Class
resampleHist

Plot the resampling distribution of the model statistics
sbfControl

Control Object for Selection By Filtering (SBF)