Skip to content

dsih-artpark/example

Repository files navigation

Example Repository for the Workshop on Experiment Tracking

This repository is a template for the workshop on experiment tracking. It is a simple example of how to use git to track experiments.

System Level Requirements

Usage

  1. Clone the repository
git clone https://github.com/dsih-artpark/example.git
  1. Install the dependencies using uv
uv sync
  1. 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 init

This 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_data

One 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.

  1. Run the experiments
uv run eda-baseline
uv run moran-spatial

Results

The plots will be saved in the plots/<experiment-name>/ directory.

About

Example Repository

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published