Predict class of new data using a Tidy Naive Bayes classifier model

# S3 method for tidy_naive_bayes
predict(model, newdata = NULL, type = c("class",
  "prob"))