Skip to main content

Classifiers and Regularizers

Difficulty level

This tutorial covers the implementation of logistic regression, a special case of GLMs used to model binary outcomes. In this tutorial, we will decode a mouse's left/right decisions from spike train data.

Topics covered in this lesson
  • Logistic regression, how it is derived within the GLM theory, and how it is implemented in scikit-learn
  • Apply logistic regression to decode choies from neural responses
  • Regularization, including the different approaches and the influence of hyperparameters