Learn R Programming

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

caret (version 3.21)

Classification and Regression Training

Description

Misc functions for training and plotting classification and regression models

Copy Link

Version

Install

install.packages('caret')

Monthly Downloads

208,749

Version

3.21

License

GPL-2

Maintainer

Last Published

March 21st, 2023

Functions in caret (3.21)

extractPrediction

Extract predictions and class probabilities from train objects
plotClassProbs

Plot Predicted Probabilities in Classification Models
normalize2Reference

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

Format 'bagEarth' objects
findLinearCombos

Determine linear combinations in a matrix
sensitivity

Calculate Sensitivity, Specificity and predictive values
knn3

k-Nearest Neighbour Classification
oneSE

Selecting tuning Parameters
tecator

Fat, Water and Protein Content of Maat Samples
predict.knn3

Predictions from k-Nearest Neighbors
bagFDA

Bagged FDA
Alternate Affy Gene Expression Summary Methods.

Generate Expression Values from Probes
createDataPartition

Data Splitting functions
bagEarth

Bagged Earth
featurePlot

Wrapper for Lattice Plotting of Predictor Variables
findCorrelation

Determine highly correlated variables
plot.varImp.train

Plotting variable importance measures
resampleSummary

Summary of resampled performance estimates
filterVarImp

Calculation of filter-based variable importance
postResample

Calculates performance across resamples
trainControl

Control parameters for train
aucRoc

Compute the area under an ROC curve
confusionMatrix

Create a confusion matrix
panel.needle

Needle Plot Lattice Panel
nearZeroVar

Identification of near zero variance predictors
varImp

Calculation of variable importance for regression and classification models
normalize.AffyBatch.normalize2Reference

Quantile Normalization to a Reference Distribution
predict.bagEarth

Predicted values based on bagged Earth and FDA models
dotPlot

Create a dotplot of variable importance values
maxDissim

Maximum Dissimilarity Sampling
pottery

Pottery from Pre-Classical Sites in Italy
plotObsVsPred

Plot Observed versus Predicted Results in Regression and Classification Models
spatialSign

Compute the multivariate spatial sign
print.train

Print Method for the train Class
train

Fit Predictive Models over Different Tuning Parameters
preProcess

Pre-Processing of Predictors
plot.train

Plot Method for the train Class
print.confusionMatrix

Print method for confusionMatrix
BloodBrain

Blood Brain Barrier Data
caret-internal

Internal Functions
createGrid

Tuning Parameter Grid
plsda

Partial Least Squares Discriminant Analysis
oil

Fatty acid composition of commercial oils
cox2

COX-2 Activity Data
resampleHist

Plot the resampling distribution of the model statistics
summary.bagEarth

Summarize a bagged earth or FDA fit
mdrr

Multidrug Resistance Reversal (MDRR) Agent Data
applyProcessing

Data Processing on Predictor Variables (Deprecated)
roc

Compute the points for an ROC curve