Nothing
new_tab_pfn <- function(
fit,
levels,
training,
logging,
blueprint,
call = NULL
) {
cls <- c(
"tabpfn.regressor.TabPFNRegressor",
"tabpfn.classifier.TabPFNClassifier"
)
if (!inherits(fit, cls)) {
cli::cli_abort(
"The model fit object should have class {.cls {.or {cls}}}, not
{.cls {class(fit)}}.",
call = call
)
}
check_character(levels, allow_null = TRUE)
hardhat::new_model(
fit = fit,
levels = levels,
training = training,
logging = logging,
blueprint = blueprint,
class = "tab_pfn"
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.