Learn R Programming

sparklyr (version 1.8.4)

ml_naive_bayes_tidiers: Tidying methods for Spark ML Naive Bayes

Description

These methods summarize the results of Spark ML models into tidy forms.

Usage

# S3 method for ml_model_naive_bayes
tidy(x, ...)

# S3 method for ml_model_naive_bayes augment(x, newdata = NULL, ...)

# S3 method for ml_model_naive_bayes glance(x, ...)

Arguments

x

a Spark ML model.

...

extra arguments (not used.)

newdata

a tbl_spark of new data to use for prediction.