Rank aggregation algorithms in the computer science field of computational social choice
- Released on Python Package Index (PyPI) for public download and install with pip (see Installation below)
- Experiments and tests have been factored out of the repository (now located at https://github.com/pdpiech/prefpy-experiments)
- Generalized method of moments algorithm for mixtures of Plackett-Luce models
- GMM algorithm implemented for OPRA (https://github.com/PrefPy/opra/)
- Implementation of EMM algorithm for mixtures of Plackett-Luce by Gormley & Murphy
- This is an initial version of the Python package form, further structural changes will be coming
- Module naming conventions will be changed; currently the algorithm files take the initials of the names of the papers from which they originate (e.g. "gmmra" for Generalized Method of Moments for Rank Aggregation)
- Mixture Model for Plackett-Luce EMM algorithm by Gormley & Murphy is forthcoming pending verification and testing of the method
- Random utility model algorithms (verification of the implentation needs to be completed)
- Use of MATLAB optimization in this package requires Python 3.4 due to lack of support yet for Python 3.5 by the MATLAB Engine
Install directly from PyPI using pip for Python 3.4 (or greater) with the command
pip install prefpy
Symlink install while developing to keep changes in the code instead by downloading from GitHub and run setup.py with the command
python3 setup.py develop