Top "R-caret" questions

caret is an R package for classification and regression training.

Using Caret Package but Getting Error in library(e1071)

Here are my codes, pretty standard but I am getting the error msg: library(caret) set.seed(32343) modelFit = train(type~.,…

r r-caret
Error in ConfusionMatrix the data and reference factors must have the same number of levels

I've trained a tree model with R caret. I'm now trying to generate a confusion matrix and keep getting the …

r machine-learning classification r-caret
Creating folds for k-fold CV in R using Caret

I'm trying to make a k-fold CV for several classification methods/hiperparameters using the data available at http://archive.ics.…

r cross-validation r-caret
Applying k-fold Cross Validation model using caret package

Let me start by saying that I have read many posts on Cross Validation and it seems there is much …

r cross-validation r-caret rpart
How to compute ROC and AUC under ROC after training using caret in R?

I have used caret package's train function with 10-fold cross validation. I also have got class probabilities for predicted classes …

r random-forest r-caret roc
Error when I try to predict class probabilities in R - caret

I've build a model using caret. When the training was completed I got the following warning: Warning message: In train.…

r predict r-caret
Warning message: "missing values in resampled performance measures" in caret train() using rpart

I am using the caret package to train a model with "rpart" package; tr = train(y ~ ., data = trainingDATA, method = "rpart") …

r rpart r-caret
SVM with cross validation in R using caret

I was told to use the caret package in order to perform Support Vector Machine regression with 10 fold cross validation …

r svm r-caret
ROC curve from training data in caret

Using the R package caret, how can I generate a ROC curve based on the cross-validation results of the train() …

r r-caret roc
Dependency issue while installing caret package in R

I am trying to install R package caret Which gives me ERROR: dependencies ‘ggplot2’, ‘reshape2’, ‘BradleyTerry2’ are not available for …

r r-caret