Preprocessed edge profile dataset.
Provides:
- Coating edge profile data.
- Process variables corresponding to each edge profile.
- Example notebooks
This repository provides scripts to preprocess each version of raw dataset and notebooks to visualize the preprocessed data.
You need:
git- Python runtime with
pip
Run the following commands to clone the repository and install the necessary requirements.
git clone git@github.com:heavyedge/profile-dataset.git
cd profile-dataset
pip install -r requirements.txtRun the following commands to download the raw dataset in the _data directory.
export PROFILES_V1_GDRIVE="..."
export CA_V1_GDRIVE="..."
./setup.shThe preprocessed data built by this project can be acquired by downloading it directly from the dataset repository. Alternatively, you can perform the preprocessing yourself if you have downloaded the raw dataset.
Either approach creates the preprocessed data in the datasets directory.
You need:
Run the following command:
hf download heavyedge/profiles --repo-type dataset --local-dir datasetsYou need:
make
Run the following command:
make datasetsEach datasets/v* directory stores preprocessed profiles from the corresponding major version of raw profile dataset.
The preprocessed data are visualized as notebooks in the examples directory.
The notebook outputs are stripped before being stored in this repository. To check their outputs, you must acquire the built example notebooks.
You can either download the built notebooks from the GitHub release artifacts, or build the notebooks yourself if you have acquired the preprocessed data.
You need:
make
pip install -r examples/requirements.txt
make examplespip install -r requirements.txt -r examples/requirements.txt
make testsConfigure the local git filter (run once after cloning):
nbstripout --install --attributes .gitattributes
git config filter.nbstripout.clean "nbstripout"
git config filter.nbstripout.smudge cat
git config filter.nbstripout.required trueSetting the HEAVYEDGE_TEST_MODE environment variable to 1 builds only a small subset of data for testing purposes.
HEAVYEDGE_TEST_MODE=1 makeThe Dockerfile is provided to facilitate data distribution without sharing secrets.
After downloading the raw dataset and building the preprocessed data and examples, build the image with one of the following targets:
base(default)- Includes the preprocessed dataset (
datasets). - Includes the built examples (
examples). - Includes non-hidden source files.
- Includes the preprocessed dataset (
dev- Includes the raw dataset (
_data). - Includes the preprocessed dataset (
datasets). - Includes the built examples (
examples). - Includes all source files.
- Includes the raw dataset (
This repository follows semantic versioning with Python version specifiers:
N.N.N[{a|b|rc}N][.postN][.devN]
- Major version is raised when the dataset API is changed in a backwards-incompatible way.
- Minor version is raised when new dataset is added.
- Patch version is raised when bugs are fixed.
NOTE: The major version is raised only when the dataset is changed in a backward-incompatible way. When new data is added, minor version is raised with new
datasets/v*directory.