View source: R/utils_prediction.R
predict_class_train | R Documentation |
a helper function extracting the predictions for the train, cross-validation
and test data set from a classification or regression caretx
model.
predict_class_train(class_model)
predict_reg_train(reg_model)
predict_class_cv(class_model)
predict_reg_cv(reg_model)
predict_class_test(class_model, newdata)
predict_reg_test(reg_model, newdata)
class_model |
a |
reg_model |
a |
newdata |
a data frame with test data. |
a predx
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.