isClassifierAndValidate | R Documentation |
Validate the model type from a train
object.
For classification, validates that the model can predict probabilities, and,
if stacked predictions are requested, that classProbs = TRUE.
isClassifierAndValidate(object, validate_for_stacking = TRUE)
object |
a |
validate_for_stacking |
a logical indicating whether to validate the object for stacked predictions |
a logical. TRUE if classifier, otherwise FALSE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.