View source: R/compare_results.R
compare_results | R Documentation |
Compare two result files to find similar signatures
compare_results(
musica,
model_id,
other_model_id,
modality = "SBS96",
result_name = "result",
other_musica = NULL,
other_result_name = "result",
threshold = 0.9,
metric = "cosine",
result_rename = deparse(substitute(model_id)),
other_result_rename = deparse(substitute(other_model_id)),
decimals = 2,
same_scale = FALSE
)
musica |
A |
model_id |
The name of the first model to compare. |
other_model_id |
The name of the second model to compare. |
modality |
Modality of results being compared. Default |
result_name |
Name of the result list entry for the first result to
compare. Default |
other_musica |
A second |
other_result_name |
Name of the result list entry for the second result
to compare. Default |
threshold |
threshold for similarity |
metric |
One of |
result_rename |
title for plot of first result signatures |
other_result_rename |
title for plot of second result signatures |
decimals |
Specifies rounding for similarity metric displayed. Default
|
same_scale |
If |
Returns the comparisons
data(res)
compare_results(res,
model_id = "res", other_model_id = "res",
modality = "SBS96", threshold = 0.8
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.