Learn R Programming

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

caret (version 4.65)

Classification and Regression Training

Description

Misc functions for training and plotting classification and regression models

Copy Link

Version

Install

install.packages('caret')

Monthly Downloads

158,845

Version

4.65

License

GPL-2

Maintainer

Max Kuhn

Last Published

October 9th, 2010

Functions in caret (4.65)

rfe

Backwards Feature Selection
knn3

k-Nearest Neighbour Classification
maxDissim

Maximum Dissimilarity Sampling
train

Fit Predictive Models over Different Tuning Parameters
format.bagEarth

Format 'bagEarth' objects
tecator

Fat, Water and Protein Content of Meat Samples
spatialSign

Compute the multivariate spatial sign
cars

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

German Credit Data
as.table.confusionMatrix

Save Confusion Table Results
mdrr

Multidrug Resistance Reversal (MDRR) Agent Data
findLinearCombos

Determine linear combinations in a matrix
confusionMatrix

Create a confusion matrix
dotplot.diff.resamples

Lattice Functions for Visualizing Resampling Differences
icr.formula

Independent Component Regression
plsda

Partial Least Squares and Sparse Partial Least Squares Discriminant Analysis
caretSBF

Selection By Filtering (SBF) Helper Functions
plotClassProbs

Plot Predicted Probabilities in Classification Models
plotObsVsPred

Plot Observed versus Predicted Results in Regression and Classification Models
trainControl

Control parameters for train
plot.train

Plot Method for the train Class
sensitivity

Calculate sensitivity, specificity and predictive values
featurePlot

Wrapper for Lattice Plotting of Predictor Variables
postResample

Calculates performance across resamples
predict.knnreg

Predictions from k-Nearest Neighbors Regression Model
cox2

COX-2 Activity Data
predict.train

Extract predictions and class probabilities from train objects
BloodBrain

Blood Brain Barrier Data
dotPlot

Create a dotplot of variable importance values
findCorrelation

Determine highly correlated variables
diff.resamples

Inferential Assessments About Model Performance
histogram.train

Lattice functions for plotting resampling results
knnreg

k-Nearest Neighbour Regression
modelLookup

Descriptions Of Models Available in train()
normalize2Reference

Quantile Normalize Columns of a Matrix Based on a Reference Distribution
predict.knn3

Predictions from k-Nearest Neighbors
predict.bagEarth

Predicted values based on bagged Earth and FDA models
nearZeroVar

Identification of near zero variance predictors
pottery

Pottery from Pre-Classical Sites in Italy
sbfControl

Control Object for Selection By Filtering (SBF)
oneSE

Selecting tuning Parameters
sbf

Selection By Filtering (SBF)
summary.bagEarth

Summarize a bagged earth or FDA fit
oil

Fatty acid composition of commercial oils
plot.varImp.train

Plotting variable importance measures
pcaNNet.default

Neural Networks with a Principal Component Step
resampleSummary

Summary of resampled performance estimates
panel.needle

Needle Plot Lattice Panel
bag.default

A General Framework For Bagging
aucRoc

Compute the area under an ROC curve
resampleHist

Plot the resampling distribution of the model statistics
classDist

Compute and predict the distances to class centroids
rfeControl

Controlling the Feature Selection Algorithms
prcomp.resamples

Principal Components Analysis of Resampling Results
caret-internal

Internal Functions
Alternate Affy Gene Expression Summary Methods.

Generate Expression Values from Probes
createDataPartition

Data Splitting functions
predictors

List predictors used in the model
preProcess

Pre-Processing of Predictors
resamples

Collation and Visualization of Resampling Results
nullModel

Fit a simple, non-informative model
applyProcessing

Data Processing on Predictor Variables (Deprecated)
createGrid

Tuning Parameter Grid
lattice.rfe

Lattice functions for plotting resampling results of recursive feature selection
xyplot.resamples

Lattice Functions for Visualizing Resampling Results
caretFuncs

Backwards Feature Selection Helper Functions
filterVarImp

Calculation of filter-based variable importance
varImp

Calculation of variable importance for regression and classification models
roc

Compute the points for an ROC curve
bagFDA

Bagged FDA
normalize.AffyBatch.normalize2Reference

Quantile Normalization to a Reference Distribution
dhfr

Dihydrofolate Reductase Inhibitors Data
bagEarth

Bagged Earth
print.confusionMatrix

Print method for confusionMatrix
print.train

Print Method for the train Class