Best function to compare caret model objects
问题 I have a number of caret model objects using the same data and tuning parameters. For a sanity check I want to see if each method gives me the same model object. (This is all part of a broader plan to run parallel processing and ensure my models are the same.) For example, below, I train 2 different models and want to compare. When I compare the caret objects it returns FALSE. > library(caret) > > set.seed(0) > myControl <- trainControl(method='cv', index=createFolds(iris$Species)) > > set