Error in train.default(x, y, weights = w, …) : final tuning parameters could not be determined
I am very new at machine learning and am attempting the forest cover prediction competition on Kaggle , but I am getting hung up pretty early on. I get the following error when I run the code below. Error in train.default(x, y, weights = w, ...) : final tuning parameters could not be determined In addition: There were 50 or more warnings (use warnings() to see the first 50) # Load the libraries library(ggplot2); library(caret); library(AppliedPredictiveModeling) library(pROC) library(Amelia) set.seed(1234) # Load the forest cover dataset from the csv file rawdata <- read.csv("train.csv"