Skip to content

Commit

Permalink
Add metric learning to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Polochon-street committed Sep 19, 2024
1 parent c867708 commit 04c7a28
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,19 @@ in a sqlite database seamlessly.
See [blissify](https://crates.io/crates/blissify) for a reference
implementation.

If you want to experiment with e.g. distance metrics, taking a look at
the [mahalanobis distance](https://docs.rs/bliss-audio/latest/bliss_audio/playlist/fn.mahalanobis_distance.html) function is a good idea. It allows customizing the distance metric,
putting more emphasis on certain parts of the features, e.g. making the tempo
twice as prominent as the timbral features.

It is also possible to perform metric learning, i.e. making playlists tailored
to your specific tastes by learning a distance metric for the mahalanobis distance
using the code in the [metric learning](https://github.com/Polochon-street/bliss-metric-learning/)
repository. [blissify-rs](https://github.com/Polochon-street/blissify-rs/)
is made to work with it, but it should be fairly straightforward to implement
it for other uses. The metric learning repo also contains a bit more context
on what metric learning is.

## Cross-compilation

To cross-compile bliss-rs from linux to x86_64 windows, install the
Expand Down
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ ask questions if you want to tackle an item.
- Improve bliss-python somehow / use it in a small demo project maybe?
A blissify in python?
- Investigate what type SAMPLE_RATE is in Aubio - maybe u16 is enough
- Have some presets like "upbeat music" "melancholic music", etc

## Done
- Split out ffmpeg (see https://github.com/Polochon-street/bliss-rs/issues/63 and https://users.rust-lang.org/t/proper-way-to-abstract-a-third-party-provider/107076/8)
Expand Down

0 comments on commit 04c7a28

Please sign in to comment.