Top "R-caret" questions

caret is an R package for classification and regression training.

Variable importance using the caret package (error); RandomForest algorithm

I am trying to obtain the variable importance of a rf model in any way. This is the approach I …

r random-forest r-caret
Tuning XGboost parameters In R

I am trying to tune parameters using the caret package in R but get a Error in train.default(x = …

r r-caret xgboost
support vector machine train caret error kernlab class probability calculations failed; returning NAs

i have some data and Y variable is a factor - Good or Bad. I am building a Support vector …

r testing r-caret
Caret train method complains Something is wrong; all the RMSE metric values are missing

On numerous occasions I've been getting this error when trying to fit a gbm or rpart model. Finally I was …

r machine-learning r-caret rpart gbm
How to preProcess features when some of them are factors?

My question is related to this one regarding categorical data (factors in R terms) when using the Caret package. I …

r r-caret
R understanding {caret} train(tuneLength = ) and SVM methods from {kernlab}

Trying to better understand how train(tuneLength = ) works in {caret}. My confusion happened when trying to understand some of the …

r svm r-caret
Caret package - defining Positive result

While using Caret package for machine learning, I am struck with Caret's default "Positive" outcome picking i.e the first …

r r-caret
Logistic Regression Tuning Parameter Grid in R Caret Package?

I am trying to fit a logistic regression model in R using the caret package. I have done the following: …

r logistic-regression r-caret hyperparameters
Error: nrow(x) == n is not TRUE when using Train in Caret

I have a training set that looks like Name Day Area X Y Month Night ATTACK Monday LA -122.41 37.78 8 0 VEHICLE …

r dataframe neural-network r-caret
caret - random-forests not working: "Something is wrong; all the Accuracy metric values are missing:"

Related to these: getting this error in Caret https://github.com/topepo/caret/issues/160 I'm getting this error: Something is …

r random-forest r-caret