R-Caret equivalent of Scikit-Learn DummyClassifier?

Which R-Caret method can be used to generate random classification guesses and determine if they are correctly classified? I've used DummyClassifier as a model comparison in the past, but I'd like to stick with Caret here.

+3
scikit-learn r caret r-caret


source to share


1 answer


You can use the function sample()

to do what's nice because it allows you to control how the distribution of "classifications" should look.



0


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics