jialinzhang commited on
Commit ·
1b3e124
1
Parent(s): 1255df0
Add syntheticFail n8
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/_tabbyflow_train.pyAdded+24
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/input_snapshot.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/public_gate/public_gate_report.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/public_gate/staged_input_manifest.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/run_config.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/runtime_result.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/public/staged_features.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/public/test.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/public/train.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/public/val.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/tabbyflow/adapter_report.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/tabbyflow/adapter_transforms_applied.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/tabbyflow/model_input_manifest.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_cat_test.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_cat_train.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_cat_val.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_num_test.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_num_train.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_num_val.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/info.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/real.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/staged_features.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/test.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/train.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/val.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/y_test.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/y_train.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/y_val.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/train_20260510_202721.logAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/.gitignoreAdded+174
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/LICENCEAdded+7
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/README.mdAdded+128
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_cat_test.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_cat_train.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_cat_val.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_num_test.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_num_train.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_num_val.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/info.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/real.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/staged_features.jsonAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/test.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/train.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/val.csvAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/y_test.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/y_train.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/y_val.npyAdded+3
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/download_dataset.pyAdded+49
- syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/ef_vfm/ckpt/pipeline_n8/adapter_efvfm/config.pklAdded+3
123456789101112131415161718192021222324
import os, shutil, subprocess, sysroot = r"/workspace/ef-vfm"name = r"pipeline_n8"src = r"/work/output-Benchmark-trainonly-v1/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8"os.makedirs(os.path.join(root, "data", name), exist_ok=True)dst_data = os.path.join(root, "data", name)dst_syn = os.path.join(root, "synthetic", name)shutil.rmtree(dst_data, ignore_errors=True)shutil.copytree(src, dst_data)os.makedirs(dst_syn, exist_ok=True)for fn in ("real.csv", "test.csv", "val.csv"): shutil.copy(os.path.join(src, fn), os.path.join(dst_syn, fn))os.chdir(root)os.environ["PYTHONPATH"] = root + os.pathsep + os.environ.get("PYTHONPATH", "")os.environ["EFVFM_SMOKE_STEPS"] = "100"os.environ["EFVFM_ADAPTER_TRAIN"] = "1"os.environ.setdefault("EFVFM_SAMPLE_BATCH_SIZE", "128")os.environ.setdefault("EFVFM_EVAL_NUM_SAMPLES", "512")subprocess.check_call([ sys.executable, "main.py", "--dataname", name, "--mode", "train", "--gpu", "0", "--no_wandb", "--exp_name", r"adapter_efvfm",])123version https://git-lfs.github.com/spec/v1oid sha256:ebe9f63cfb3f169aaf8fa47ca8b049619ce78956f8ba0c7ce6b4e7765f4398fbsize 1355123version https://git-lfs.github.com/spec/v1oid sha256:dfb74aca7aa78c323e23c11bb9d187d7d56f25ee841f5bae0fefa14a629c3452size 285716123version https://git-lfs.github.com/spec/v1oid sha256:8519e06ffb121f172dd7c62305bd4e1a7760c91ff0880271a3acb3f516497de0size 914123version https://git-lfs.github.com/spec/v1oid sha256:f19e8d14a85eafb62d0ee68c1d125d2af85ecc75e463e3b7255b43a4f7f00bbbsize 286542123version https://git-lfs.github.com/spec/v1oid sha256:632d5ac7867db61c52f4f6e668d68ced0023f7bc299ad350ad76e94dfcb659cbsize 1813123version https://git-lfs.github.com/spec/v1oid sha256:38c575ddea6e6f06349258c42df97deda2eae7626e7fdfa4606be804190fd27fsize 1104123version https://git-lfs.github.com/spec/v1oid sha256:023f2b4898b0902e78561e9f6519f9dcaca7b7c9edf33d6a8dfa995c2b505644size 57501123version https://git-lfs.github.com/spec/v1oid sha256:8746d2ff3a5c746a183a55abb2d10636ed95082118233f716c06de8b19652781size 574665123version https://git-lfs.github.com/spec/v1oid sha256:0e34a97ea3f111b7bed4108447805ffb0fdb2912937947b9ed8547d72f42f3c0size 4575725123version https://git-lfs.github.com/spec/v1oid sha256:ec46f42c0d9d9dc8d90b1c55b5315ff92529a66282df9266a3b1aff3b8b3e7b7size 548212123version https://git-lfs.github.com/spec/v1oid sha256:0f169ed5ccdf7dd83e9daaef65f798503a06398d44ac803282651ce62f0fe09csize 327123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:aff3c5d00e2a1323bfdd81c1dcedf45f17d9b3585ef87f48183533bb0da84c7dsize 286745123version https://git-lfs.github.com/spec/v1oid sha256:537aebd1e74a9adac7bf25d539694dec78897f7755544d1bc1936191c0e3c87csize 158128123version https://git-lfs.github.com/spec/v1oid sha256:839928f91678bd26922964d94126c53615a6710ad4a706db5e41e15df157c158size 1253128123version https://git-lfs.github.com/spec/v1oid sha256:73911974230f9023b671881e2726d8edf49693490650593a8ab7c28db66091c5size 156128123version https://git-lfs.github.com/spec/v1oid sha256:77e090670effdcad085a15728fcf5ea34c7273869109f823cab5403b0579d3d5size 295272123version https://git-lfs.github.com/spec/v1oid sha256:0ca4232362ee2ade4060882453968f006dd8bfaa69fa914adbece094879d6e2bsize 2340732123version https://git-lfs.github.com/spec/v1oid sha256:e065a039173c173e6613283bb64efff06a76982388b2b9d7191ad19274cd2b74size 291536123version https://git-lfs.github.com/spec/v1oid sha256:2268ee55fffa531c5c547e1c2992ee943fe8223d4a200a87344ca88cf6d4e5d0size 103288123version https://git-lfs.github.com/spec/v1oid sha256:0e34a97ea3f111b7bed4108447805ffb0fdb2912937947b9ed8547d72f42f3c0size 4575725123version https://git-lfs.github.com/spec/v1oid sha256:023f2b4898b0902e78561e9f6519f9dcaca7b7c9edf33d6a8dfa995c2b505644size 57501123version https://git-lfs.github.com/spec/v1oid sha256:8746d2ff3a5c746a183a55abb2d10636ed95082118233f716c06de8b19652781size 574665123version https://git-lfs.github.com/spec/v1oid sha256:0e34a97ea3f111b7bed4108447805ffb0fdb2912937947b9ed8547d72f42f3c0size 4575725123version https://git-lfs.github.com/spec/v1oid sha256:ec46f42c0d9d9dc8d90b1c55b5315ff92529a66282df9266a3b1aff3b8b3e7b7size 548212123version https://git-lfs.github.com/spec/v1oid sha256:67913c71a3d6e1791b3c68ff980ebeef888a4a46e3e882a12a99f684481fc4b9size 1392123version https://git-lfs.github.com/spec/v1oid sha256:d3255b6e0ad477ac4fe8904eafd995f2b8454541b3bc5144b272e6085606461csize 10152123version https://git-lfs.github.com/spec/v1oid sha256:7e2feed6eac5d97ca49e136c632a99091f7d1e3a34580ab4d594e96c7178fb34size 1376123version https://git-lfs.github.com/spec/v1oid sha256:5204488380f7608b0d0c05d56d2b5c534ad5ce89d42f7107e6038aecc590255csize 1175123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174# Byte-compiled / optimized / DLL files__pycache__/*.py[cod]*$py.class
# C extensions*.so
# Distribution / packaging.Pythonbuild/develop-eggs/dist/downloads/eggs/.eggs/lib/lib64/parts/sdist/var/wheels/share/python-wheels/*.egg-info/.installed.cfg*.eggMANIFEST
# PyInstaller# Usually these files are written by a python script from a template# before PyInstaller builds the exe, so as to inject date/other infos into it.*.manifest*.spec
# Installer logspip-log.txtpip-delete-this-directory.txt
# Unit test / coverage reportshtmlcov/.tox/.nox/.coverage.coverage.*.cachenosetests.xmlcoverage.xml*.cover*.py,cover.hypothesis/.pytest_cache/cover/
# Translations*.mo*.pot
# Django stuff:*.loglocal_settings.pydb.sqlite3db.sqlite3-journal
# Flask stuff:instance/.webassets-cache
# Scrapy stuff:.scrapy
# Sphinx documentationdocs/_build/
# PyBuilder.pybuilder/target/
# Jupyter Notebook.ipynb_checkpoints
# IPythonprofile_default/ipython_config.py
# pyenv# For a library or package, you might want to ignore these files since the code is# intended to run in multiple environments; otherwise, check them in:# .python-version
# pipenv# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.# However, in case of collaboration, if having platform-specific dependencies or dependencies# having no cross-platform support, pipenv may install dependencies that don't work, or not# install all needed dependencies.#Pipfile.lock
# poetry# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.# This is especially recommended for binary packages to ensure reproducibility, and is more# commonly ignored for libraries.# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control#poetry.lock
# pdm# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.#pdm.lock# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it# in version control.# https://pdm.fming.dev/latest/usage/project/#working-with-version-control.pdm.toml.pdm-python.pdm-build/
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm__pypackages__/
# Celery stuffcelerybeat-schedulecelerybeat.pid
# SageMath parsed files*.sage.py
# Environments.env.venvenv/venv/ENV/env.bak/venv.bak/
# Spyder project settings.spyderproject.spyproject
# Rope project settings.ropeproject
# mkdocs documentation/site
# mypy.mypy_cache/.dmypy.jsondmypy.json
# Pyre type checker.pyre/
# pytype static type analyzer.pytype/
# Cython debug symbolscython_debug/
# PyCharm# JetBrains specific template is maintained in a separate JetBrains.gitignore that can# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore# and can be added to the global gitignore or merged into this file. For a more nuclear# option (not recommended) you can uncomment the following to ignore the entire idea folder.#.idea/
.DS_Store# data/adultdata/beijingdata/defaultdata/magicdata/newsdata/shoppers
wandb/
*.DS_Store1234567Copyright 2024 Andrés Guzmán-Cordero
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128# Exponential Family Variational Flow Matching for Tabular Data Generation
<p align="center"> <a href="https://github.com/andresguzco/ef-vfm/blob/main/LICENSE.txt"> <img alt="MIT License" src="https://img.shields.io/badge/License-MIT-yellow.svg"> </a> <a href="https://openreview.net/pdf?id=kjtvCSkSsy"> <img alt="Openreview" src="https://img.shields.io/badge/review-OpenReview-blue"> </a> <a href="https://arxiv.org/pdf/2506.05940"> <img alt="Paper URL" src="https://img.shields.io/badge/cs.LG-2506.05940-B31B1B.svg"> </a></p>
<div align="center"> <img src="images/demo.jpg" alt="Model Logo" width="800" style="margin-left:'auto' margin-right:'auto' display:'block'"/> <p><em> Figure 1: Exponential Family Variational Flow Matching (EF-VFM) is a generative modeling framework designed for mixed continuousand discrete variables. By leveraging the exponential family and a mean-field assumption, EF-VFM efficiently matches the sufficientstatistics of the distributions via learned probability paths, ensuring state-of-the-art fidelity and diversity in synthetic data.</a></em></p></div>
This repository provides the prototypical implementation of EF-VFM: TabbyFlow (ICML, 2025).
## Latest Update
- [2025.09]:We are finally releasing our code! To speed the release and avoid compatibility isues, we removed the hyperparameter scripts we use to launch out experiments in our available cluster. Contact us if you have any questions!
## Introduction
EF-VFM uses the exponential family to jointly model different distributions with a single variational flow matching framework. Its key contributions are:
1) We propose Exponential Family Variational Flow Matching (EF-VFM), an extension of VFM that incorporates exponential family distributions that facilitates efficient training via moment matching.2) We establish a deep connection between VFM and a generalized flow matching objective through the lens of Bregman divergences, offering a theoretical foundation for learning probability paths over mixed data types.3) To demonstrate the effectiveness of EF-VFM, we introduce TabbyFlow, a model that achieves state-of-the-art performance on standard tabular benchmarks, improving both fidelity and diversity in synthetic data generation.
The schema of EF-VFM is presented in the figure above. For more details, please refer to [our paper](https://arxiv.org/pdf/2506.05940).
## Environment Setup
Create the main environment with [ef_vfm.yaml](ef_vfm.yaml). This environment will be used for all tasks except for the evaluation of additional data fidelity metrics (i.e., $\alpha$-precision and $\beta$-recall scores)
```conda env create -f ef_vfm.yaml```
Create another environment with [synthcity.yaml](synthcity.yaml) to evaluate additional data fidelity metrics
```conda env create -f synthcity.yaml```
## Datasets Preparation
### Using the datasets experimented in the paper
Download raw datasets:
```python download_dataset.py```
Process datasets:
```python process_dataset.py```
## Training TabbyFlow
To train an unconditional EF-VFM model across the entire table, run
```python main.py --dataname <NAME_OF_DATASET> --mode train --exp_name <EXP_NAME>```
where ```<NAME_OF_DATASET>``` is the name of the dataset you want to train on, and ```<EXP_NAME>``` is the name of your experiment.
Current Options of ```<NAME_OF_DATASET>``` are: adult, default, shoppers, magic, beijing, news
Wanb logging is enabled by default. To disable it and log locally, add the ```--no_wandb``` flag.
You must specify the experiment name, which will be used for logging and saving files, add ```--exp_name <your experiment name>```.
## Sampling and Evaluating TabbyFlow (Density, MLE, C2ST)
To sample synthetic tables from trained EF-VFM models and evaluate them, run
```python main.py --dataname <NAME_OF_DATASET> --mode test --report --no_wandb --exp_name <EXP_NAME>```
where ```<NAME_OF_DATASET>``` and ```<EXP_NAME>``` should be the same as those used in training.
This will sample 20 synthetic tables randomly. Meanwhile, it will evaluate the density, mle, and c2st scores for each sample and report their average and standard deviation. The results will be printed out in the terminal, and the samples and detailed evaluation results will be placed in ./eval/report_runs/<EXP_NAME>/<NAME_OF_DATASET>/.
## Evaluating on Additional Fidelity Metrics ($\alpha$-precision and $\beta$-recall scores)
To evaluate EF-VFM on the additional fidelity metrics ($\alpha$-precision and $\beta$-recall scores), you need to first make sure that you have already generated some samples by the previous commands. Then, you need to switch to the `synthcity` environment (as the synthcity packet used to compute those metrics conflicts with the main environment), by running
```conda activate synthcity```
Then, evaluate the metrics by running
```python eval/eval_quality.py --dataname <NAME_OF_DATASET>```
Similarly, the results will be printed out in the terminal and added to ./eval/report_runs/<EXP_NAME>/<NAME_OF_DATASET>/
## Evaluating Data Privacy (DCR score)
To evalute the privacy metric DCR score, you first need to retrain all the models, as the metric requires an equal split between the training and testing data (our initial splits employ a 90/10 ratio). To retrain with an equal split, run the training command but append `_dcr` to ```<NAME_OF_DATASET>```
```python main.py --dataname <NAME_OF_DATASET>_dcr --mode train```
Then, test the models on DCR with the same `_dcr` suffix
```python main.py --dataname <NAME_OF_DATASET>_dcr --mode test --report --no_wandb```
## License
This work is licensed under the MIT License.
## Acknowledgement
This repo is built upon the previous work TabDiff's [[codebase]](https://github.com/MinkaiXu/TabDiff). Many thanks to Juntong, Minkai, Harper and Hengrui!
## Citation
```@inproceedings{guzmancordero2025exponentialfamily,title={Exponential Family Variational Flow Matching for Tabular Data Generation},author={Andr\'es Guzm\'an-Cordero and Floor Eijkelboom and Jan-Willem van de Meent},booktitle={The Forty-Second International Conference on Machine Learning},year={2025},url={https://openreview.net/forum?id=kjtvCSkSsy}}```
## Contact
If you encounter any problem or you have any question regarding the paper, please contact [Andrés](andresguzco@gmail.com).123version https://git-lfs.github.com/spec/v1oid sha256:537aebd1e74a9adac7bf25d539694dec78897f7755544d1bc1936191c0e3c87csize 158128123version https://git-lfs.github.com/spec/v1oid sha256:839928f91678bd26922964d94126c53615a6710ad4a706db5e41e15df157c158size 1253128123version https://git-lfs.github.com/spec/v1oid sha256:73911974230f9023b671881e2726d8edf49693490650593a8ab7c28db66091c5size 156128123version https://git-lfs.github.com/spec/v1oid sha256:77e090670effdcad085a15728fcf5ea34c7273869109f823cab5403b0579d3d5size 295272123version https://git-lfs.github.com/spec/v1oid sha256:0ca4232362ee2ade4060882453968f006dd8bfaa69fa914adbece094879d6e2bsize 2340732123version https://git-lfs.github.com/spec/v1oid sha256:e065a039173c173e6613283bb64efff06a76982388b2b9d7191ad19274cd2b74size 291536123version https://git-lfs.github.com/spec/v1oid sha256:2268ee55fffa531c5c547e1c2992ee943fe8223d4a200a87344ca88cf6d4e5d0size 103288123version https://git-lfs.github.com/spec/v1oid sha256:0e34a97ea3f111b7bed4108447805ffb0fdb2912937947b9ed8547d72f42f3c0size 4575725123version https://git-lfs.github.com/spec/v1oid sha256:023f2b4898b0902e78561e9f6519f9dcaca7b7c9edf33d6a8dfa995c2b505644size 57501123version https://git-lfs.github.com/spec/v1oid sha256:8746d2ff3a5c746a183a55abb2d10636ed95082118233f716c06de8b19652781size 574665123version https://git-lfs.github.com/spec/v1oid sha256:0e34a97ea3f111b7bed4108447805ffb0fdb2912937947b9ed8547d72f42f3c0size 4575725123version https://git-lfs.github.com/spec/v1oid sha256:ec46f42c0d9d9dc8d90b1c55b5315ff92529a66282df9266a3b1aff3b8b3e7b7size 548212123version https://git-lfs.github.com/spec/v1oid sha256:67913c71a3d6e1791b3c68ff980ebeef888a4a46e3e882a12a99f684481fc4b9size 1392123version https://git-lfs.github.com/spec/v1oid sha256:d3255b6e0ad477ac4fe8904eafd995f2b8454541b3bc5144b272e6085606461csize 10152123version https://git-lfs.github.com/spec/v1oid sha256:7e2feed6eac5d97ca49e136c632a99091f7d1e3a34580ab4d594e96c7178fb34size 137612345678910111213141516171819202122232425262728293031323334353637383940414243444546474849import osfrom urllib import requestimport zipfile
DATA_DIR = 'data'
NAME_URL_DICT_UCI = { 'adult': 'https://archive.ics.uci.edu/static/public/2/adult.zip', 'default': 'https://archive.ics.uci.edu/static/public/350/default+of+credit+card+clients.zip', 'magic': 'https://archive.ics.uci.edu/static/public/159/magic+gamma+telescope.zip', 'shoppers': 'https://archive.ics.uci.edu/static/public/468/online+shoppers+purchasing+intention+dataset.zip', 'beijing': 'https://archive.ics.uci.edu/static/public/381/beijing+pm2+5+data.zip', 'news': 'https://archive.ics.uci.edu/static/public/332/online+news+popularity.zip', 'news_nocat': 'https://archive.ics.uci.edu/static/public/332/online+news+popularity.zip', 'adult_dcr': 'https://archive.ics.uci.edu/static/public/2/adult.zip', 'default_dcr': 'https://archive.ics.uci.edu/static/public/350/default+of+credit+card+clients.zip', 'magic_dcr': 'https://archive.ics.uci.edu/static/public/159/magic+gamma+telescope.zip', 'shoppers_dcr': 'https://archive.ics.uci.edu/static/public/468/online+shoppers+purchasing+intention+dataset.zip', 'beijing_dcr': 'https://archive.ics.uci.edu/static/public/381/beijing+pm2+5+data.zip', 'news_dcr': 'https://archive.ics.uci.edu/static/public/332/online+news+popularity.zip',}
def unzip_file(zip_filepath, dest_path): with zipfile.ZipFile(zip_filepath, 'r') as zip_ref: zip_ref.extractall(dest_path)
def download_from_uci(name):
print(f'Start processing dataset {name} from UCI.') save_dir = f'{DATA_DIR}/{name}' if not os.path.exists(save_dir): os.makedirs(save_dir)
url = NAME_URL_DICT_UCI[name] request.urlretrieve(url, f'{save_dir}/{name}.zip') print(f'Finish downloading dataset from {url}, data has been saved to {save_dir}.') unzip_file(f'{save_dir}/{name}.zip', save_dir) print(f'Finish unzipping {name}.') else: print('Aready downloaded.')
if __name__ == '__main__': for name in NAME_URL_DICT_UCI.keys(): download_from_uci(name) 123version https://git-lfs.github.com/spec/v1oid sha256:1a488dbd3fd3a663a734fef43f63836accdfb57be21507bac06d755a8919a77asize 1179syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/_tabbyflow_train.pyAdded+24
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/input_snapshot.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/public_gate/public_gate_report.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/public_gate/staged_input_manifest.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/run_config.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/runtime_result.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/public/staged_features.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/public/test.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/public/train.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/public/val.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/tabbyflow/adapter_report.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/tabbyflow/adapter_transforms_applied.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/staged/tabbyflow/model_input_manifest.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_cat_test.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_cat_train.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_cat_val.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_num_test.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_num_train.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/X_num_val.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/info.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/real.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/staged_features.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/test.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/train.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/val.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/y_test.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/y_train.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/tabular_bundle/pipeline_n8/y_val.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_202719/train_20260510_202721.logAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/.gitignoreAdded+174
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/LICENCEAdded+7
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/README.mdAdded+128
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_cat_test.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_cat_train.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_cat_val.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_num_test.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_num_train.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/X_num_val.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/info.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/real.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/staged_features.jsonAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/test.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/train.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/val.csvAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/y_test.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/y_train.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/data/pipeline_n8/y_val.npyAdded+3
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/download_dataset.pyAdded+49
syntheticFail/n8/tabbyflow/tabbyflow-n8-20260510_205006/_efvfm_runtime/ef_vfm/ckpt/pipeline_n8/adapter_efvfm/config.pklAdded+3