We provide a setup script that clones the TCPD repository and installs the dependencies.
./setup.shWe use uv to manage the dependencies through the pyproject.toml file. You can install the dependencies by running:
# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install the dependencies
uv syncWe use the datasets from the TCPD repository, which should be downloaded into the home directory. You don't need to run it again if you have already run the setup script.
git clone [email protected]:alan-turing-institute/TCPD.gitWe provide a notebook to run the benchmarks using the ruptures library in notebooks/ruptures_benchmarks.ipynb.