lnccbrown / lnccbrown/HSSM

plot_model_cartoon: kind="kde" with NDT-boundary-corrected kernels

Open
#1,126 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
124
Forks
24
Avg merge
19h 32m
Merged PRs (30d)
60

Description

Deliberately excluded from #1124: a Gaussian KDE on the per-side |rt| support smears predictive mass into rt < ndt — where the model assigns exactly zero — on the very plot whose point is displaying the NDT/boundary geometry. Doing it right needs boundary-corrected KDE (e.g. reflection at a per-draw ndt), which is new statistical machinery rather than a port of #1123's `kind="kde"`. Until then the cartoon intentionally has no `kind` parameter, so adding one later is backward compatible.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the plot_model_cartoon work described here with issues #1124 and #1123, especially the existing kind="kde" behavior. Investigate how per-draw ndt and per-side |rt| support are represented. Done means adding boundary-corrected KDE support without smearing mass below ndt, while preserving the cartoon's current behavior when no kind is supplied.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.