compare_results {musicatk} | R Documentation

## Compare two result files to find similar signatures

### Description

Compare two result files to find similar signatures

### Usage

    compare_results(
      result,
      other_result,
      threshold = 0.9,
      metric = "cosine",
      result_name = deparse(substitute(result)),
      other_result_name = deparse(substitute(other_result))
    )

### Arguments

`result` | A `musica_result` object.
`other_result` | A second `musica_result` object.
`threshold` | threshold for similarity
`metric` | One of `"cosine"` for cosine similarity or `"jsd"` for 1 minus the Jensen-Shannon Divergence. Default `"cosine"`.
`result_name` | title for plot of first result signatures
`other_result_name` | title for plot of second result signatures

### Value

Returns the comparisons

### Examples

    data(res)
    compare_results(res, res, threshold = 0.8)

[Package musicatk version 1.2.0 Index]