The python codes of paper "AUTOENCODERS TRAINED WITH RELEVANT INFORMATION: BLENDING SHANNON AND WIENER’S PERSPECTIVES"
- Install an Anaconda environment (recommended).
- From the environment, update Theano:
pip install Theano==0.8.0
- Install Keras:
pip install keras==0.3.3
- Install Seya:
pip install git+https://github.com/EderSantana/Seya.git
- Install agnez:
pip install git+https://github.com/AgnezIO/agnez.git
- Install seaborn:
pip install seaborn
- Install hdf5:
pip install h5py
- We upload demos which we train autoencoder architecture with Pri and c-loss funciton.
- We train four digitals: '0','1','4','5' with four Gaussian prior and visualize the bottleneck layer, which is shown in 'C-Pri-AE-four Gaussian prior demo'. We also add source noise when training, add channel noise when testing and calculate mean square error which is shown in 'C-Pri-AE-ten Gaussian prior demo'. The weights which we have already trained are in 'noise_Gaussian4_pri model' and 'noise_Gaussian10_pri model'
- The implementation of principle of relevant information(Pri) function shown in the equation(11) is in 'regularization.py'
- The codes of C-loss objective funciton are in 'objectives.py'