dmey / synthia

📈 🐍 Multidimensional synthetic data generation with Copula and fPCA models in Python
https://dmey.github.io/synthia
MIT License
57 stars 9 forks source link

Add support for handling discrete quantities #9

Closed dmey closed 4 years ago

dmey commented 4 years ago

Introduces the option to specify and model discrete quantities as follows:

# Assuming  an xarray datasets ds with X1 discrete and and X2 continuous 
generator.fit(ds, copula=syn.VineCopula(controls=ctrl), is_discrete={'X1': True, 'X2': False})

This option is only supported for vine copulas