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

Add CLI for sdgx #43

Closed
wunder957 opened this issue Nov 16, 2023 · 0 comments · Fixed by #47
Closed

Add CLI for sdgx #43

wunder957 opened this issue Nov 16, 2023 · 0 comments · Fixed by #47
Assignees
Labels
enhancement New feature or request

Comments

@wunder957
Copy link
Contributor

Problem

We currently only provide Python code for interaction, it is more difficult for other languages to call sdgx code directly.

Proposed Solution

One possible approach is to add a CLI that enables the user to specify input and output paths for cleaned data, models.

Examples

$sdgx fit --model=CTGAN --table_path=/path/to/table.csv --output_path=/path/to/model  --param_path=/path/to/config.toml
$sdgx sample --model_path=/path/to/model --num_rows=1000 # Generate 1000 samples with model

Additional context

Since each model has a different sample and fit method, I thought it would be easier to add a --param_path and make it point to a file for configuration.

Perhaps we could introduce a plugin system so that we can not only easily add new models, but also support user plugins to add their own algorithms without modifying this project, and pulggy is a good choice.

@wunder957 wunder957 added the enhancement New feature or request label Nov 16, 2023
This was referenced Nov 16, 2023
@Guo-Yunzhe Guo-Yunzhe assigned Guo-Yunzhe and wunder957 and unassigned Guo-Yunzhe Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants