SkillAgentSearch skills...

CoDi

Official code for "CoDi: Co-evolving Contrastive Diffusion Models for Mixed-type Tabular Synthesis", ICML 2023

Install / Use

/learn @ChaejeongLee/CoDi
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CoDi: Co-evolving Contrastive Diffusion Models for Mixed-type Tabular Synthesis

This code is the official implementation of "CoDi: Co-evolving Contrastive Diffusion Models for Mixed-type Tabular Synthesis". (https://arxiv.org/abs/2304.12654)

Requirements

Run the following to install requirements:

conda env create --file environment.yaml

Usage

  • Train and evaluate CoDi through main.py:
main.py:
  --data: tabular dataset
  --eval : train or eval
  --logdir: Working directory

Training

  • You can train our CoDi from scratch by run:
python main.py --data heart --logdir CoDi_exp

Evaluation

  • By run the following script, you can reproduce our experimental result: binary classification result of CoDi on Heart in Table 10.
python main.py --data heart --eval True --logdir exp_heart
View on GitHub
GitHub Stars37
CategoryDevelopment
Updated2mo ago
Forks9

Languages

Python

Security Score

75/100

Audited on Jan 12, 2026

No findings