From 04c7a28d6fc1909feb1a83141f16f003e1d2b1df Mon Sep 17 00:00:00 2001 From: Polochon_street Date: Wed, 18 Sep 2024 22:29:48 +0200 Subject: [PATCH] Add metric learning to the readme --- README.md | 13 +++++++++++++ TODO.md | 1 + 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 9af09a1..eacc6d5 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/TODO.md b/TODO.md index ab896cf..1a09700 100644 --- a/TODO.md +++ b/TODO.md @@ -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)