Skip to content

QTIM-Lab/Disentanglement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Disentanglement: Confounder-Agonistic (POT-AID/Contrastive) Baselines

Code for domain-invariant and confounder-invariant feature learning.

  • Works for any confounder ("batch", "scanner", "site", "modality" etc.): just make sure your meta CSVs contain both label (the task) and confounder columns.
  • Includes:
    • POT-AID (Partial Orthogonalization + Adversarial Invariant Disentangling)
    • Contrastive Disentanglement (HSIC + Supervised Contrastive)

Data organization

  • Place all .npy and meta .csv files in a directory (features/ by default).
  • Each meta CSV must have columns:
    • label: class/task label
    • confounder: the variable you want to remove/invariantize

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages