This repository is a template for the workshop on experiment tracking. It is a simple example of how to use git to track experiments.
- git (https://git-scm.com/)
- uv (https://docs.astral.sh/uv/)
- Python (https://www.python.org/ (Optional, uv will install it for you))
- Clone the repository
git clone https://github.com/dsih-artpark/example.git- Install the dependencies using uv
uv sync- Get the data
Before you do, ensure you have the dataio client configured. To do this, have your dataio API key handy. Then run:
uv run dataio initThis will automatically create an .env file in the root of the repository.
Note
The .env file is used to store the dataio API key. It is not committed to the repository.
Once this is done, you can run the script to fetch the data:
uv run get_dataOne data file, the karnataka_districts.geojson, needs to be manually obtained from Sneha or Adish. Once done, you can configure it in the config.yaml file, in the files section of the relevant experiment.
Note
This is a one-time setup. And don't worry about data being replicated across experiments. The script is set up to only download the data once, and then use the local copy for all experiments.
- Run the experiments
uv run eda-baselineuv run moran-spatialThe plots will be saved in the plots/<experiment-name>/ directory.