This is the source code for the bachelor thesis: "The Stein Mixture Variational Autoencoder: A study of treating generation in VAEs as a posterior predictive"
Name: Kevin Mark Lock Supervisor: Thomas Hamelryck Help from: Ola Rønning Date: 12/06/2026
The project is primarily built on JAX and NumPyro together with the contributed SteinVI library, which was slighly edited in src/CustomModules/stein_impl_source.py
- Four experiments are found in
Experiments/Final Experiments, which are those referenced in the thesis. They are jupyter notebooks, that use the different methods architectures described in the thesis. Older (potentially not working anymore) experiments can be found inExperiments/Old - The architecturees worked on in
src/CustomModules/architectures.pyThis file contains classes for a range of probabilistic architectures worked on.
To acces custom modules and changes to libraries everywhere in the codebase, we put everything in a CustomModoules folder.
Run pip install -e . to get it it working.