Automatic hierarchical dataset interpolation and disaggregation
Project description
Data completion tool
A module to create a dataset with a parent/children hierarchy (H-MECE) and permorm a completion algorithm (parent/children disaggregation and time interpolation). It is used to transform a sparse dataset into a complete dataset ready to be used in a model.
There are some plot functions to visualize the results of the completion algorithm keeping a trace of the aggregations and interpolations made to facilitate any revue of the dataset.
[TOC]
Set Up Your Environment
Linux
Install necessary dependencies:
sudo apt update
sudo apt install curl git
Install the package manager uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
Install Python 3.12 or higher:
uv python install 3.12
Windows
Install Git.
Install the package manager uv:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Install Python 3.12 or higher:
uv python install 3.12
Make sure Python is added to your system PATH during installation. If not, follow the uv documentation to add it manually.
Clone the Project
Clone the project to your local machine:
git clone https://gricad-gitlab.univ-grenoble-alpes.fr/isterre-dynamic-modeling/mater-project/data-completion-tool.git
Quick start
See the main_example python files to see how to use the dct package to complete a sparse dataset.
uv run python main_multi_aspects.py
If you want to change one of the main files, please create a new branch to test your new features (see Contributing)
🤝 Contributing
We welcome contributions to the Data providing project! To get started, please refer to the CONTRIBUTING file for detailed guidelines.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file data_completion_tool-0.1.0.tar.gz.
File metadata
- Download URL: data_completion_tool-0.1.0.tar.gz
- Upload date:
- Size: 83.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5472ab68905359b53ae034a99c7529e867b5659670183668dfd14c86f3147e73
|
|
| MD5 |
a8ef41511959884c1670bf14ae1ee334
|
|
| BLAKE2b-256 |
07268555b3db44569b6c856d1b34aa173f4154105108d8b2cade91f59f69adc9
|
File details
Details for the file data_completion_tool-0.1.0-py3-none-any.whl.
File metadata
- Download URL: data_completion_tool-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c816f838cd501b94f711b5c5a86120be013c14187fbb4de06c1296047965331
|
|
| MD5 |
0fc1c0aaea7b47727ca59447d60f7052
|
|
| BLAKE2b-256 |
d1bde7e9afd563bb1a910edf3906645e713501c5db020f1d7c429843ee9c938b
|