Skip to content
/ prefpy Public

Collection of Python scripts for preference aggregation, estimation, and generation. Currently under initial development

License

Notifications You must be signed in to change notification settings

PrefPy/prefpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrefPy

Rank aggregation algorithms in the computer science field of computational social choice

What's New

  • 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

Work In Progress

  • 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)

Installation

  • 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

About

Collection of Python scripts for preference aggregation, estimation, and generation. Currently under initial development

Resources

License

Stars

Watchers

Forks

Packages

No packages published