Skip to content
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

Parameter delta is unavailable in PATEGan #240

Open
gsel9 opened this issue Nov 16, 2023 · 0 comments
Open

Parameter delta is unavailable in PATEGan #240

gsel9 opened this issue Nov 16, 2023 · 0 comments

Comments

@gsel9
Copy link
Contributor

gsel9 commented Nov 16, 2023

Description

Modifying the parameter delta in PATEGan is not possible by passing kwargs to generators.get. The only way I can reach and modify this parameter is via the model attribute but I guess this means breaking the encapsulation.

How to Reproduce

generators = Plugins()
pategan = generators.get("pategan")
pategan.delta # ERROR: 'PATEGANPlugin' object has no attribute 'delta

Expected Behavior

generators = Plugins()
generators.get("pategan", **{"delta": 123})
pategan.delta # Expect delta = 123

System Information

  • Mac OS Venture
  • Python 3.11.5
  • Synthcity version: 0.2.4

Additional Context

As a side note, it appears that this parameter is named dp_delta in the documentation while the actual attribute is delta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant