This contains the logic of how tidal create its algorithmic offline mixes, how it utilizes different machine learning models, alongside business rules to create different mixes for different use cases, included personalized mixes (like my mix, my new arrivals and daily discovery) and non-personalized like track radio and artist radio.
- Make sure you have pyenv and pyenv amd pyenv-virtualenv installed on your local environment.
- Install python 3.10.13 with pyenv
pyenv install 3.11.13
. - Set up a new virtual env
pyenv virtualenv 3.10.13 mixes
- Set local pyenv version
pyenv local mixes
- Activate the virtual pyenv using
pyenv activate mixes
- Upgrade the pip package installer
python -m pip install --upgrade pip
- Install poetry for package management
python -m pip install poetry==1.7.1
- Install dependencies from the lock file
poetry install --no-root