sdf_residuals.ml_model_generalized_linear_regression

0th

Percentile

Model Residuals

This generic method returns a Spark DataFrame with model residuals added as a column to the model training data.

Usage
# S3 method for ml_model_generalized_linear_regression
sdf_residuals(object,
  type = c("deviance", "pearson", "working", "response"), ...)

# S3 method for ml_model_linear_regression sdf_residuals(object, ...)

sdf_residuals(object, ...)

Arguments
object

Spark ML model object.

type

type of residuals which should be returned.

...

additional arguments

Aliases
  • sdf_residuals.ml_model_generalized_linear_regression
  • sdf_residuals.ml_model_linear_regression
  • sdf_residuals
Documentation reproduced from package sparklyr, version 1.0.3, License: Apache License 2.0 | file LICENSE

Community examples

Looks like there are no examples yet.