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 18, 2024
1 parent c867708 commit 1c63099
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,18 @@ 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,
having 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/

## 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 1c63099

Please sign in to comment.