View source: R/metric-helpers.R
prep_data_dist | R Documentation |
Prepares data and distance matrices for metric calculation
prep_data_dist(object, new_data = NULL, dists = NULL, dist_fun = Rfast::Dist)
object |
A fitted |
new_data |
A dataset to calculate predictions on. If |
dists |
A distance matrix for the data. If |
dist_fun |
A custom distance functions. |
A list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.