Code

Here is some code I have written that others also find useful.


Probabilistic Linear Discriminant Analysis (PLDA) [Link]

My Python implementation of the model in Ioffe (2006). I wrote it so that you can both (1) extract the features you would ordinarily want from plain linear discriminant analysis and (2) classify new data using the underlying probabilistic model. I also wrote unit, integration, and inference tests that you can run if you have concerns about the model breaking on your machine.


Google Colaboratory with Unlimited Google Drive Storage [Link]

If you work at an academic institution in the United States, you probably have unlimited Google Drive storage. I wrote a couple of helper functions so that you can read data from and write to your Google drive when you are using Google Colaboratory, without having to do so much directory tracking. pull_from_gdrive() and push_to_drive() are intended to be conceptually analogous to the pull and push commands in git.