Contents Menu Expand Light mode Dark mode Auto light/dark mode
skpref 0.0.1 documentation
skpref 0.0.1 documentation

Contents:

  • Welcome to skpref
  • Models in the package
  • Novelties in skpref to the scikit-learn user
  • Types of relations that can be modelled in skpref (11/01/2022)
  • Module documentation
  • Jupyter Notebook Examples
    • Bradley Terry example notebook
    • Reading in the data
    • Setting up the tasks
    • Fitting a Logistic Regression
    • Reduction to logistic regression with covariates
    • Bradley Terry model with salary covariate
    • Example using GridSearchCV()
    • We will demonstrate skpref on discrete choice data
    • Changing the format of the tables for skpref
    • Using only a subset of the available features
    • Fit a logistic regression
    • Fit a Bradley-Terry model without covariates
    • Fitting a Bradley-Terry model with covariates
    • Evaluation methods

Jupyter Notebook Examples¶

Pairwise Comparison example using NBA data¶

Source notebook for NBA

  • Bradley Terry example notebook
  • Reading in the data
  • Setting up the tasks
  • Fitting a Logistic Regression
    • Fitting a Bradley Terry model
    • Augmenting the models with covariates
  • Reduction to logistic regression with covariates
  • Bradley Terry model with salary covariate
  • Example using GridSearchCV()

Discrete Choice reduction to Bradley terry example using swissmetro data¶

Source notebook for swissmetro

  • We will demonstrate skpref on discrete choice data
  • Changing the format of the tables for skpref
  • Using only a subset of the available features
  • Fit a logistic regression
  • Fit a Bradley-Terry model without covariates
    • The Luce method (the default setting when aggregating a Bradley-Terry model)
    • The independent transitive aggregation method
  • Fitting a Bradley-Terry model with covariates
    • Fit Bradley-Terry model with GridSearch
  • Evaluation methods
Next
Bradley Terry example notebook
Previous
Module documentation
Copyright © 2022, István Papp, Franz Király, Ioanna Manolopoulou, Karlson Pfannschmidt, Pritha Gupta | Created using Sphinx and @pradyunsg's Furo theme. | Show Source
Contents
  • Jupyter Notebook Examples
    • Pairwise Comparison example using NBA data
    • Discrete Choice reduction to Bradley terry example using swissmetro data