Repository navigation
Conversation
+ refactor parameter checking in every build_network() method using a new function named _check_params()
…efactor_ae_models
…esidual-recurrent-networks
…ay and time axis setting
… Fixs + refectors Fix rnn cell type checking Fix error when dropout intermediate is given as list Disable first residual between input layer and first rnn cell when not using an explicit list
… into mp/residual-recurrent-networks
…esidual-recurrent-networks
…eon-toolkit/aeon into mp/rnn_type_enum
…eon-toolkit/aeon into mp/fix_abgru_and_bgru_to_rnn
…eon-toolkit/aeon into mp/rnn_type_enum
…encoder rename ae abgru to aeDeTSEC and fix its implementation to correspond to its paper improve multi_rec training by only having one model call for every loss calculation (avoiding having one call per loss) add enum for autoencoder latent space type fix missing constructor parameter: latent_space_dim or latent_space_type that are in the doc but not in the constuctor of deepClusterer ... make ae reshapes using conv1D kernel_size1 optional if shapes already match latent space dim improved overall code quality fix dtype bug in ba_petitjean.py add predict_encoder and predict_decoder in base clusterer (predicting latent proj + reconstructing) remove mse loss from metrics as it is a duplicate of "loss" by default
… into mp/fix_abgru_and_bgru_to_rnn
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Thank you for contributing to
|
… into mp/fix_abgru_and_bgru_to_rnn
Reference Issues/PRs
#3897
What does this implement/fix? Explain your changes.
This PR refactors the deep-learning clustering infrastructure to reduce code duplication, improve consistency, and make the autoencoder implementations more extensible.
Changes
Shared deep-learning infrastructure
predict_encodergives the latent space representation of an inputpredict_decoderallows getting the reconstructed time series from a latent space representationget_encoder_modelto get the encoder as tf.keras.Modelget_decoder_modelto get the decoder as tf.keras.Modelget_autoencoder_modelto get the whole architecture as tf.keras.Modelget_encoder_decoder_modelsto get the tuple: (encoder, decoder) as tf.keras.ModelLatent-space representations
temporal_latent_spacewith enum parameterlatent_space_type:LATENT_SPACE.FLATdefault behaviour as beforeLATENT_SPACE.TIMEequivalent totemporal_latent_space=trueLATENT_SPACE.REPEATEDthe new RepeatVector-based latent spaceRecurrent autoencoders
AERecurrentNetworkandAERecurrentClusterer(replacingAEBiGRU).RNN_TYPE.Old AEBiGruNetwork is the exact equivalent of :
DeTSEC
AEABiGRUtoAEDeTSECNetworkandAEDeTSECClusterer.Fixes and improvements
ba_petitjean.py.Conv1Dtransformations when the input and output shapes already match.Does your contribution introduce a new dependency? If yes, which one?
No
Any other comments?
PR checklist
For all contributions
For new estimators and functions
__maintainer__at the top of relevant files and want to be contacted regarding its maintenance. Unmaintained files may be removed. This is for the full file, and you should not add yourself if you are just making minor changes or do not want to help maintain its contents.For developers with write access