Understand TimeGAN project structure and components
masterThe codebase is organized into several functional modules:
data_loading.py: Handles preprocessing of raw time-series data (e.g., Google stock data) and generation of synthetic Sine data.timegan.py: The core implementation that uses original time-series data to train the model and generate synthetic data.main_timegan.py: The entry point that orchestrates training and reports discriminative/predictive scores along with PCA and t-SNE analysis.utils.py: Contains utility functions used by both the core model and the metrics.Metrics/directory: Contains evaluation logic:visualization_metrics.py: Performs PCA and t-SNE analysis to compare original vs. synthetic data.discriminative_metrics.py: Uses a Post-hoc RNN to attempt to classify data as original or synthetic.predictive_metrics.py: Uses a Post-hoc RNN to perform one-step ahead prediction (last feature).