Learn R Programming

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

caret (version 5.02-011)

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

5.02-011

License

GPL-2

Maintainer

Max Kuhn

Last Published

September 19th, 2011

Functions in caret (5.02-011)

caretFuncs

Backwards Feature Selection Helper Functions
normalize2Reference

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

Collation and Visualization of Resampling Results
featurePlot

Wrapper for Lattice Plotting of Predictor Variables
bagFDA

Bagged FDA
dotPlot

Create a dotplot of variable importance values
dhfr

Dihydrofolate Reductase Inhibitors Data
histogram.train

Lattice functions for plotting resampling results
BoxCoxTrans.default

Box-Cox Transformations
bagEarth

Bagged Earth
cars

Kelly Blue Book resale data for 2005 model year GM cars
predict.train

Extract predictions and class probabilities from train objects
GermanCredit

German Credit Data
filterVarImp

Calculation of filter-based variable importance
Alternate Affy Gene Expression Summary Methods.

Generate Expression Values from Probes
bag.default

A General Framework For Bagging
avNNet.default

Neural Networks Using Model Averaging
diff.resamples

Inferential Assessments About Model Performance
predict.bagEarth

Predicted values based on bagged Earth and FDA models
nullModel

Fit a simple, non-informative model
pcaNNet.default

Neural Networks with a Principal Component Step
mdrr

Multidrug Resistance Reversal (MDRR) Agent Data
createDataPartition

Data Splitting functions
plotClassProbs

Plot Predicted Probabilities in Classification Models
dummyVars

Create A Full Set of Dummy Variables
classDist

Compute and predict the distances to class centroids
dotplot.diff.resamples

Lattice Functions for Visualizing Resampling Differences
BloodBrain

Blood Brain Barrier Data
lattice.rfe

Lattice functions for plotting resampling results of recursive feature selection
as.table.confusionMatrix

Save Confusion Table Results
lift

Lift Plot
icr.formula

Independent Component Regression
nearZeroVar

Identification of near zero variance predictors
panel.needle

Needle Plot Lattice Panel
caret-internal

Internal Functions
findCorrelation

Determine highly correlated variables
normalize.AffyBatch.normalize2Reference

Quantile Normalization to a Reference Distribution
format.bagEarth

Format 'bagEarth' objects
caretSBF

Selection By Filtering (SBF) Helper Functions
xyplot.resamples

Lattice Functions for Visualizing Resampling Results
findLinearCombos

Determine linear combinations in a matrix
resampleHist

Plot the resampling distribution of the model statistics
rfe

Backwards Feature Selection
modelLookup

Descriptions Of Models Available in train()
roc

Compute the points for an ROC curve
predict.knnreg

Predictions from k-Nearest Neighbors Regression Model
sensitivity

Calculate sensitivity, specificity and predictive values
cox2

COX-2 Activity Data
segmentationData

Cell Body Segmentation
plotObsVsPred

Plot Observed versus Predicted Results in Regression and Classification Models
train

Fit Predictive Models over Different Tuning Parameters
knn3

k-Nearest Neighbour Classification
trainControl

Control parameters for train
maxDissim

Maximum Dissimilarity Sampling
preProcess

Pre-Processing of Predictors
sbf

Selection By Filtering (SBF)
knnreg

k-Nearest Neighbour Regression
confusionMatrix.train

Estimate a Resampled Confusion Matrix
plsda

Partial Least Squares and Sparse Partial Least Squares Discriminant Analysis
print.train

Print Method for the train Class
plot.varImp.train

Plotting variable importance measures
postResample

Calculates performance across resamples
tecator

Fat, Water and Protein Content of Meat Samples
rfeControl

Controlling the Feature Selection Algorithms
varImp

Calculation of variable importance for regression and classification models
resampleSummary

Summary of resampled performance estimates
prcomp.resamples

Principal Components Analysis of Resampling Results
pottery

Pottery from Pre-Classical Sites in Italy
oneSE

Selecting tuning Parameters
predict.knn3

Predictions from k-Nearest Neighbors
print.confusionMatrix

Print method for confusionMatrix
confusionMatrix

Create a confusion matrix
aucRoc

Compute the area under an ROC curve
createGrid

Tuning Parameter Grid
oil

Fatty acid composition of commercial oils
sbfControl

Control Object for Selection By Filtering (SBF)
plot.train

Plot Method for the train Class
spatialSign

Compute the multivariate spatial sign
predictors

List predictors used in the model
summary.bagEarth

Summarize a bagged earth or FDA fit