Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Categorical encodings, entropic approach

Open
#119 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Start by reviewing patsy’s existing categorical encoding support and the issue’s linked entropy example. Determine whether entropy-based encodings are already covered and, if not, define the expected encoding behavior and validation needed before implementation.

Written by the indexing model from the issue text.

Description

One of my favorite parts of patsy are the categorical encodings. That feature alone is worth using it. While playing with those options, I could not find encodings based on standard entropy calculations? Is that covered in there and I missed?

For an example of using entropy for categorical encodings, see this video: https://youtu.be/IPkRVpXtbdY?t=4m49s

Dominant language
Python
Stars
989
Forks
106
Avg merge
7d 34m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pydata/patsy

All issues in pydata/patsy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.