Interrupt code breaks sometimes
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python, scikit-learn
- Domain
- machine-learning
Research direction
Start by reproducing the issue with the provided scikit-learn QuantileTransformer example and a large dataset, then compare interruption behavior with a smaller n_quantiles value. Done means the kernel can be interrupted while the long-running transformation is in progress, but the issue does not identify a repository file or test to update.
Written by the indexing model from the issue text.
Description
🐛 Bug
When running certain code it becomes impossible to interrupt the kernel until that code completes.
To Reproduce
import sklearn
# get large dataset on the order of 1e6 or 1e7
df = ...
sklearn.preprocessing.QuantileTransformer(subsample=1e7, n_quantiles=1e6).fit_transform(df)
Expected behavior
It should interrupt!
Additional context
That's just an example, I've seen it plenty of times over the last few weeks, usually for commands I'd expect to take a while but that I want to stop midway to tweak something. That just seemed like an easy to replicate example. Oddly enough, the QuantileTransformer will interrupt just fine when n_quantiles is an order of magnitude smaller.
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 1k
- Avg merge
- 7h 38m
- Merged PRs (30d)
- 9
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
- 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 Kaggle/docker-python
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Kaggle/docker-python#1482 · 2 reactions ·
Maintainers usually reply within 1 day
-
loraOpen
Difficulty 5/5 Over a week Newbie friendliness 20/100
Kaggle/docker-python#1564 ·
Maintainers usually reply within 1 day
-
bug help wanted
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Kaggle/docker-python#1563 ·
Maintainers usually reply within 1 day
-
ذOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
Kaggle/docker-python#1555 ·
Maintainers usually reply within 1 day
-
Pytorch CUDA P100 GPU IncompatibilityPossibly taken @shivansh193 claimed this 76 days ago. Openbug help wanted
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Kaggle/docker-python#1546 · 4 comments · 2 reactions ·
Maintainers usually reply within 1 day
All issues in Kaggle/docker-python
Similar issues
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 74/100
BrainLesion/BraTS#200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
OpenHands/extensions#970 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
rl-institut/enetra#91 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
huggingface/datasets#9100 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/garak#2486 · 1 comment ·
Maintainers usually reply within 2 days