Coder Social home page Coder Social logo

nicolasshu / rs_plda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ravisoji/plda

0.0 0.0 0.0 20.1 MB

Probabilistic Linear Discriminant Analysis & classification, written in Python.

Home Page: https://ravisoji.com

License: Apache License 2.0

Python 51.42% Jupyter Notebook 48.58%

rs_plda's Introduction

Probabilistic Linear Discriminant Analysis

Demo with MNIST Handwritten Digits Data

See mnist_demo/mnist_demo.ipynb.

Install instructions

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

Uninstall instructions

  • To uninstall plda only: pip uninstall plda.
  • To remove the myenv conda environment: conda env remove -n myenv.

Testing the software

See tests/README.md.

Credit and disclaimers

Paper Citation

Ioffe S. (2006) Probabilistic Linear Discriminant Analysis. In: Leonardis A., Bischof H., Pinz A. (eds) Computer Vision โ€“ ECCV 2006. ECCV 2006.

More thanks!

@seandickert and @matiaslindgren pushed for and implemented the same-different discrimination and the pip install, respectively!

Disclaimers

  1. Parameters are estimated via empirical Bayes.
  2. 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.