Preference Graphs ================== .. code-block:: bash pip install prefgraph # core library pip install "prefgraph[parquet]" # + Parquet file support pip install "prefgraph[datasets]" # + real-world dataset loaders See the :doc:`install` page for all extras and workflow options. .. raw:: html
When users make choices, we can represent their decisions as a preference graph. If someone chooses A over B, B over C, and then C over A, they have formed a cycle. These cycles could represent an inconsistency in their decision making. PrefGraph uses graph algorithms (like Tarjan's SCC) to detect these cycles. By identifying and counting these violations, we can score a user's consistency.