Uploaded image for project: 'AcousticBrainz'
  1. AcousticBrainz
  2. AB-412

Compute recording similarity metrics on database

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None

      Description

      In order to implement annoy indices to query for similarity in AcousticBrainz, we first need to compute metrics that will measure similarity for each recording. We can do this with the following changes: 

      • Make migrations to include similarity table, metrics table, and similarity_stats table - similarity table will hold columns with the computed metric for each id in the lowlevel table.  Metrics table will hold metadata about each metric, and similarity_stats table will include the mean and standard deviation of each computed metric on the entire set of recordings.
      • Add a module containing the metric classes.
      • Use a cli script to compute the metrics incrementally on the entire database.

        Attachments

          Activity

            People

            Assignee:
            aidanlw17 Aidan Lawford-Wickham
            Reporter:
            aidanlw17 Aidan Lawford-Wickham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package