Research for drone trajectory prediction.
- Implement a "true" test of model accuracy that integrates the velocity prediction to find position.
- Implement model hyperparameter configuration.
The dependencies of this project are managed with uv and python virtual environments.
Install uv (if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | shInstall dependencies and activate virtual environment.
uv sync
source .venv/bin/activateAll the data is stored in the data directory.
Think of this as a "staging area" where we can convert all the data into a consistent format.
It also by default stores all intermediate steps.
TLDR: Run the get data script to get data.
python src/get_data.pyInside the data/scripts directory, you will find 4 scripts, each corresponding to a different dataset.
The data preprocessing is run in the notebook at the root of the project directory.
When creating folds, we must be careful to not incure data leakage between folds. Thus, we split the data into folds by files.
python src/datasets.py data/velocity/max_norm --shuffle --seed 42
Replace data/velocity/max_norm with data/position/max_norm for position data.
To train, call the main python file.
python -m src.main <name of run> -s <json file of split> -f <0-indexed split> -c <json configuration>