topepo / caret

caret (Classification And Regression Training) R package that contains misc functions for training and plotting classification and regression models
http://topepo.github.io/caret/index.html
1.62k stars 632 forks source link

Error encountering with XGBoost GPU. #1368

Open ArpitGaurTools opened 5 months ago

ArpitGaurTools commented 5 months ago

I am using caret to optimize hyper parameters in XGBoost 2.0. Whenever I activate my gpu I encounter the following error:

Something is wrong; all the RMSE metric values are missing: RMSE Rsquared MAE
Min. : NA Min. : NA Min. : NA
1st Qu.: NA 1st Qu.: NA 1st Qu.: NA
Median : NA Median : NA Median : NA
Mean :NaN Mean :NaN Mean :NaN
3rd Qu.: NA 3rd Qu.: NA 3rd Qu.: NA
Max. : NA Max. : NA Max. : NA
NA's :1000 NA's :1000 NA's :1000
Error: Stopping In addition: Warning message: In nominalTrainWorkflow(x = x, y = y, wts = weights, info = trainInfo, : There were missing values in resampled performance measures.

I wonder if someone can help me understand what I am doing wrong?