Source code for ecgan.cli

"""Definition of ecgan CLI commands."""
import ecgan


[docs]def run_init(): """Initialize ecgan configuration.""" ecgan.init()
[docs]def run_preprocessing(): """Run preprocessing process.""" ecgan.preprocess()
[docs]def run_training(): """Run training process.""" ecgan.train()
[docs]def run_detection(): """Run anomaly detection.""" ecgan.detect()
[docs]def run_inverse(): """Run training of the inverse mapping.""" ecgan.inverse()