See mnist_demo/mnist_demo.ipynb.
Option 1: pip install
without dependencies.
Use this after installing necessary dependencies.
pip install https://github.com/RaviSoji/plda/tarball/master
Option 2: conda install
with all dependencies.
This requires conda
.
-
Via
git
:git clone https://github.com/RaviSoji/plda.git conda env create -f plda/environment.yml -n myenv
-
Alternatively, via
wget
:wget https://raw.githubusercontent.com/RaviSoji/plda/master/environment.yml conda env create -f environment.yml -n myenv
- To uninstall
plda
only:pip uninstall plda
. - To remove the
myenv
conda environment:conda env remove -n myenv
.
See tests/README.md.
Paper Citation
More thanks!
@seandickert and @matiaslindgren pushed for and implemented the same-different discrimination and the pip install, respectively!
Disclaimers
- Parameters are estimated via empirical Bayes.
- I wrote this code while working on an Explainable Artificial Intelligence (XAI) project at the CoDaS Laboratory, so it keeps parameters in memory that are unnecessary for simple classification problems. It's intended to be readable to researchers.