For models created using the "spark"
engine, there are several things to consider.
fit()
is available; using fit_xy()
will generate an error. save()
), the model$fit
element of the parsnip object should be serialized via ml_save(object$fit)
and separately saved to disk. In a new session, the object can be reloaded and reattached to the parsnip object.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.