Learn R Programming

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

caret (version 4.83)

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.83

License

GPL-2

Maintainer

Max Kuhn

Last Published

April 1st, 2011

Functions in caret (4.83)

plotClassProbs

Plot Predicted Probabilities in Classification Models
plsda

Partial Least Squares and Sparse Partial Least Squares Discriminant Analysis
createDataPartition

Data Splitting functions
resampleSummary

Summary of resampled performance estimates
lattice.rfe

Lattice functions for plotting resampling results of recursive feature selection
cars

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

Determine highly correlated variables
bag.default

A General Framework For Bagging
BoxCoxTrans.default

Box-Cox Transformations
applyProcessing

Data Processing on Predictor Variables (Deprecated)
prcomp.resamples

Principal Components Analysis of Resampling Results
normalize2Reference

Quantile Normalize Columns of a Matrix Based on a Reference Distribution
format.bagEarth

Format 'bagEarth' objects
print.train

Print Method for the train Class
trainControl

Control parameters for train
caretFuncs

Backwards Feature Selection Helper Functions
varImp

Calculation of variable importance for regression and classification models
train

Fit Predictive Models over Different Tuning Parameters
knn3

k-Nearest Neighbour Classification
knnreg

k-Nearest Neighbour Regression
predict.train

Extract predictions and class probabilities from train objects
plot.train

Plot Method for the train Class
oil

Fatty acid composition of commercial oils
segmentationData

Cell Body Segmentation
predict.knn3

Predictions from k-Nearest Neighbors
confusionMatrix

Create a confusion matrix
print.confusionMatrix

Print method for confusionMatrix
oneSE

Selecting tuning Parameters
roc

Compute the points for an ROC curve
dummyVars

Create A Full Set of Dummy Variables
caretSBF

Selection By Filtering (SBF) Helper Functions
modelLookup

Descriptions Of Models Available in train()
resamples

Collation and Visualization of Resampling Results
sbf

Selection By Filtering (SBF)
caret-internal

Internal Functions
diff.resamples

Inferential Assessments About Model Performance
spatialSign

Compute the multivariate spatial sign
GermanCredit

German Credit Data
Alternate Affy Gene Expression Summary Methods.

Generate Expression Values from Probes
dotplot.diff.resamples

Lattice Functions for Visualizing Resampling Differences
bagEarth

Bagged Earth
icr.formula

Independent Component Regression
filterVarImp

Calculation of filter-based variable importance
postResample

Calculates performance across resamples
sensitivity

Calculate sensitivity, specificity and predictive values
normalize.AffyBatch.normalize2Reference

Quantile Normalization to a Reference Distribution
nearZeroVar

Identification of near zero variance predictors
BloodBrain

Blood Brain Barrier Data
plot.varImp.train

Plotting variable importance measures
mdrr

Multidrug Resistance Reversal (MDRR) Agent Data
preProcess

Pre-Processing of Predictors
aucRoc

Compute the area under an ROC curve
dotPlot

Create a dotplot of variable importance values
findLinearCombos

Determine linear combinations in a matrix
pottery

Pottery from Pre-Classical Sites in Italy
pcaNNet.default

Neural Networks with a Principal Component Step
nullModel

Fit a simple, non-informative model
predictors

List predictors used in the model
as.table.confusionMatrix

Save Confusion Table Results
rfeControl

Controlling the Feature Selection Algorithms
xyplot.resamples

Lattice Functions for Visualizing Resampling Results
featurePlot

Wrapper for Lattice Plotting of Predictor Variables
rfe

Backwards Feature Selection
maxDissim

Maximum Dissimilarity Sampling
tecator

Fat, Water and Protein Content of Meat Samples
summary.bagEarth

Summarize a bagged earth or FDA fit
bagFDA

Bagged FDA
predict.knnreg

Predictions from k-Nearest Neighbors Regression Model
resampleHist

Plot the resampling distribution of the model statistics
sbfControl

Control Object for Selection By Filtering (SBF)
plotObsVsPred

Plot Observed versus Predicted Results in Regression and Classification Models
classDist

Compute and predict the distances to class centroids
createGrid

Tuning Parameter Grid
dhfr

Dihydrofolate Reductase Inhibitors Data
cox2

COX-2 Activity Data
panel.needle

Needle Plot Lattice Panel
histogram.train

Lattice functions for plotting resampling results
predict.bagEarth

Predicted values based on bagged Earth and FDA models