-
Notifications
You must be signed in to change notification settings - Fork 15
Added TabDDPM model implementation under Models/TabDDPMSiddharth-main #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Siddharth7269
wants to merge
101
commits into
siddharth
Choose a base branch
from
main
base: siddharth
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: pooyafo <80544904+pooyafo@users.noreply.github.com>
Signed-off-by: pooyafo <80544904+pooyafo@users.noreply.github.com>
Signed-off-by: pooyafo <80544904+pooyafo@users.noreply.github.com>
Signed-off-by: kalshana <168319665+kalshana@users.noreply.github.com>
Add Kamala Ctgan and Kamala Tabddpm modules
Added my code files for T1-2025
Moved Kamala folders into Models
Upload updated GANBLR model to Models folder
Added Muzamils MedGAN model to Models folder
Added yash-TabPFGen to Models/Yash-TABPFN
Updated folder structure and files
…load Added sachin-ganblrpp module in models folder
Signed-off-by: pasinduambegoda1 <142980744+pasinduambegoda1@users.noreply.github.com>
Add AshbinMedgan(UI) folder for MedGAN UI
…ions Add Khushi's TableGan and CTAB-GAN-Plus models
update CrGAN and MedGAN codes
Final code including data pipeline
Amila_Ganblr
Signed-off-by: ashbinbenoy91 <s223968166@deakin.edu.au>
Signed-off-by: ashbinbenoy91 <s223968166@deakin.edu.au>
Signed-off-by: ashbinbenoy91 <s223968166@deakin.edu.au>
Signed-off-by: ashbinbenoy91 <s223968166@deakin.edu.au>
commiting changes from main
CRGAN Implementations and Datasets for Adult, Credit and Nursery
Signed-off-by: viloshini89 <127585383+viloshini89@users.noreply.github.com>
Signed-off-by: viloshini89 <127585383+viloshini89@users.noreply.github.com>
Signed-off-by: viloshini89 <127585383+viloshini89@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This PR brings in my custom Tabular Denoising Diffusion Probabilistic Model (TabDDPM) implementation, organized in Models/TabDDPMSiddharth. It includes:
Core model code
tabddpm.py – the main diffusion class defining forward/backward processes
modules.py – neural network building blocks (MLP layers, embedding layers, etc.)
utils.py – data loaders, preprocessing, and helper functions
Training & evaluation
train_tabddpm.py – end-to-end training script with CLI arguments
evaluate_tabddpm.py – script to compute statistical and ML-based metrics on synthetic vs. real data
Example notebooks
demo_tabddpm_adult.ipynb – demo on the UCI Adult dataset
demo_tabddpm_car.ipynb – demo on the Car Evaluation dataset
Datasets & outputs
data/Adult.csv, data/car.csv, etc. – raw UCI CSVs
synthetic/ – generated synthetic datasets (e.g. Adult_synth.csv)
checkpoints/ – saved model weights for reproducibility
Configuration
config.yaml – default hyperparameters (learning rate, batch size, timesteps)
How to test / run:
Install dependencies (e.g. requirements.txt lists torch, pandas, numpy).
Train on a small dataset:
bash
Copy
Edit
python Models/TabDDPMSiddharth/train_tabddpm.py
--config Models/TabDDPMSiddharth/config.yaml
--data Models/TabDDPMSiddharth/data/Adult.csv
--epochs 50
Generate synthetic samples:
bash
Copy
Edit
python Models/TabDDPMSiddharth/evaluate_tabddpm.py
--checkpoint Models/TabDDPMSiddharth/checkpoints/last.pt
--output Models/TabDDPMSiddharth/synthetic/Adult_synth.csv
Review notebooks by opening demo_tabddpm_*.ipynb in Jupyter Lab.
Notes & Next Steps:
The raw CSVs are ~100 MB in total; consider moving to Git LFS or external storage.
We may refactor shared utilities (e.g. data loading) into a common Models/common directory.
Future enhancements: support conditional sampling, integration with the main benchmarking suite.
Please let me know if you’d like any restructuring or additional documentation!