cross-similarity function
See original GitHub issueI’d love to have a version of librosa.segment.recurrence_matrix
that compares two arbitrary sequences. A lot of the code in the recurrence_matrix
function will extend to the two sequence case, happy to make a PR. Any suggestions on how such a function should work within the library?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Cosine similarity - Wikipedia
In data analysis, cosine similarity is a measure of similarity between two sequences of numbers. For defining it, the sequences are viewed as...
Read more >Cosine Similarity - an overview | ScienceDirect Topics
Cosine similarity measures the similarity between two vectors of an inner product space. It is measured by the cosine of the angle between...
Read more >Is there a loss function that measures the cross similarity ...
The previous answer is good, and it seems like you are computing pairwise cosine similarity, if it is the case, it's better to...
Read more >Similarity Check - Crossref
Similarity Check allows editors to upload a paper, and instantly produces a report highlighting potential matches and indicating if and how the paper...
Read more >Discovery of Cross-Similarity in Data Streams - ResearchGate
In this paper, we focus on the problem of finding partial similarity between data streams. Our solution relies on dynamic time warping (DTW) ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed by merging #904
The
NearestNeighbors
object is a data structure, not a classifier. If you have two arraysX1
andX2
, of durationsn
andm
respectively, the output ofcross_similarity
should have shape(n, m)
. The entries(i, j)
should correspond toX1[:, i]
being a nearest neighbor ofX2[:, j]
. So you should fit onX1
and predict onX2
, if that makes sense?