Closed saichaitanyamolabanti closed 3 years ago
This was responded on the SDV Slack space, so it can be closed.
Reproducing the response here:
The CTGAN class does actually allow modeling discrete variables. For that you just need to specify their type as
categorical
. You can see a related question responded here: https://github.com/sdv-dev/SDV/issues/445
I have to use CTGANSynthesizer class because it treats discrete and continuous columns separately and while searching online i found constraints can only be included in CTGAN class which comes from SDV library. So, can anyone help me how to utilize Constraints in CTGANSynthesizer class which comes from ctgan library.
Were you able to solve this problem? Is the solution posted on github?
I have to use CTGANSynthesizer class because it treats discrete and continuous columns separately and while searching online i found constraints can only be included in CTGAN class which comes from SDV library. So, can anyone help me how to utilize Constraints in CTGANSynthesizer class which comes from ctgan library.