[FEA] Warm start stat aggregation
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- data, machine-learning
Research direction
Start with the Workflow.load_stats and Workflow.apply(..., record_stats=True) entry points, then trace how Categorify records categorical statistics. Define the warm-start behavior around previously loaded stats and newly observed category values. Done means new categories append after the existing N categories and receive indices beginning at N+1, with Categorify as the initial use case.
Written by the indexing model from the issue text.
Description
Iterative training schemes will usually involve the addition of new category values to previously preprocessed categorical features. It would be useful if a workflow could be warm started with previously compiled stats via Workflow.load_stats and then have subsequent calls to Worfklow.apply(..., record_stats=True) append those new categories such that they map to indices starting at the N+1th value (where N is the number of categories recorded in the previously compiled stats). Among other benefits, this will make the task of reinitializing embedding matrices much simpler, since it can be assumed that the first N rows can be replaced with their learned values.
I can also imagine schemes where warm-starting other stats like Normalization would be beneficial as well, but Categorify seems like the most critical use case to start with.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 149
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA-Merlin/NVTabular
-
[DOC] Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
NVIDIA-Merlin/NVTabular#1898 · 1 comment ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 25/100
NVIDIA-Merlin/NVTabular#1895 ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 25/100
NVIDIA-Merlin/NVTabular#1893 ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 20/100
NVIDIA-Merlin/NVTabular#1892 · 1 reaction ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 35/100
NVIDIA-Merlin/NVTabular#1891 ·
All issues in NVIDIA-Merlin/NVTabular
Similar issues
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100