pydata / pydata/patsy

Pickle Support

Open
#114 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Great and useful library- thank you for this!

I am using Patsy for splines and applying a fit spline to new data is tedious and inefficient because there doesn't seem to be pickle support. So when new data is scored, you need to load the training data and fit the splines anew and hold them in memory.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the spline-fitting and new-data scoring workflow described in the issue, then inspect Patsy's relevant serialization behavior and tests. Done means a fitted spline can be pickled, restored, and used to score new data without reloading the training data or refitting.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.