extract_fit_summary: S3 method to get fitted model summary info depending on...

View source: R/extract_summary.R

extract_fit_summaryR Documentation

S3 method to get fitted model summary info depending on engine

Description

S3 method to get fitted model summary info depending on engine

Usage

extract_fit_summary(object, ...)

Arguments

object

a fitted cluster_spec object

...

other arguments passed to methods

Value

A list with various summary elements

Examples

kmeans_spec <- k_means(k = 5) %>%
  set_engine_celery("stats")

kmeans_fit <- fit(kmeans_spec, ~., mtcars)

kmeans_fit %>%
  extract_fit_summary()

kbodwin/celery documentation built on March 26, 2022, 12:33 a.m.