scikit-learn/scikit-learn

Enable warnings on travis (and make sure they are reasonable)

Open

#10,158 opened on 2017年11月16日

GitHub で見る
 (26 comments) (0 reactions) (0 assignees)Python (27,020 forks)batch import
Build / CIhelp wantedmodule:test-suite

Repository metrics

Stars
 (66,084 stars)
PR merge metrics
 (平均マージ 10d) (30d で 90 merged PRs)

説明

We just disabled warnings on travis in #9840. I don't think we should do that. I've been a bit absent lately, but I think the current state of the warnings is pretty bad. Many of these seem recent changes that require cleanup.

  • catch and ignore all ConvergenceWarnings raised in sklearn.utils.estimator_checks done in https://github.com/scikit-learn/scikit-learn/pull/11151.
  • catch deprecations of min_impurity_split in tree and tree ensembles, make sure it's not used anywhere else.
  • catch deprecations of random_state in SVC tests, make sure it's not used anywhere else.

コントリビューターガイド