get_ref_scores | R Documentation |
Create reference scores of same writer and different writer scores from a dataframe of cluster fill rates.
get_ref_scores(rforest, df, seed = NULL, downsample_diff_pairs = FALSE)
rforest |
A ranger random forest created with
|
df |
A dataframe of cluster fill rates created with
|
seed |
Optional. An integer to set the seed for the random number generator to make the results reproducible. |
downsample_diff_pairs |
If TRUE, the different writer pairs are down-sampled to equal the number of same writer pairs. If FALSE, all different writer pairs are used. |
A list of scores
get_ref_scores(rforest = random_forest, df = validation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.