Tidying methods for Spark ML Logistic Regression
R/tidiers_ml_logistic_regression.R
ml_logistic_regression_tidiers
Description
These methods summarize the results of Spark ML models into tidy forms.
Usage
## S3 method for class 'ml_model_logistic_regression'
tidy(x, ...)
## S3 method for class 'ml_model_logistic_regression'
augment(x, newdata = NULL, ...)
## S3 method for class '`_ml_model_logistic_regression`'
augment(x, new_data = NULL, ...)
## S3 method for class 'ml_model_logistic_regression'
glance(x, ...)
Arguments
Arguments | Description |
---|---|
x | a Spark ML model. |
… | extra arguments (not used.) |
newdata | a tbl_spark of new data to use for prediction. |
new_data | a tbl_spark of new data to use for prediction. |