Interrupt code breaks sometimes
- 主要言語
- Python
- スター
- 2.7k
- フォーク
- 1k
- 平均マージ
- 7日 14時間
- マージ済み PR(30日)
- 2
説明
## 🐛 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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、提供された scikit-learn QuantileTransformer の例と大規模なデータセットを使って問題を再現し、その後、より小さい n_quantiles の値で中断時の動作を比較します。長時間実行される変換の進行中に kernel を中断できれば完了ですが、この issue では更新対象のリポジトリファイルやテストは特定されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, scikit-learn
- 領域
- machine-learning
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100