v0.1.3
About
Relying on TensorFlow and Keras as backends, pidgan is a Python package designed to simplify the implementation and training of GAN-based models intended for High Energy Physics (HEP) applications.
Available modules
🐛 Bug fixes
invertColumnTransformer
Problem. When the column indices passed to a transformer of the scikit-learn's
ColumnTransformer
aren't adjacent, this custom function has an unexpected behavior mixing the output columns.
Solution. The function has been rewritten from scratch trying to follow a logical procedure that should mitigate new issues with the inversion of theColumnTransformer
.
🧩 Minor changes
Since regularization terms applied to either generator or discriminator can be extremely data-dependent, if they are computed also during the test step, it can produce loss values significantly different from the ones resulting in the train step. Hence, the GAN algorithms
were updated so that the various _compute_*_loss
methods take an additional boolean argument, called test
, to avoid to compute any regularization terms during the test steps.
‼️ Note
This is the first release for Zenodo.