bag_models | R Documentation |
bag_models(
fitted,
data,
score2weight = score2weight_min_invmean,
metric = fitted$metric,
weights_col = c("validation_score", "habitat_validation_score")[1],
score_threshold = 0.7,
weights_function = NULL,
out_dir
)
w_strech_maxmin_squared(x)
w_strech_max_squared(x)
score2weight_mean(x, col = "validation_score", score_threshold = 0.7)
score2weight_min_mean(x, col = "validation_score", score_threshold = 0.7)
score2weight_invmean(x, col = "validation_score", score_threshold = 0.7)
score2weight_min_invmean(x, col = "validation_score", score_threshold = 0.7)
data |
Input data (whole dataset) |
score2weight |
Function to set validation scores into weights, with two arguments:
x, the result of one model of the bag, and col, the column to be used for setting the
scores. See the argument |
weights_col |
Column to use for scores. One of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.