alteryx / alteryx/evalml

Either fix warnings, or suppress only inside evalml code rather than globally

Offen
#1,368 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @asniyaz Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
850
Forks
96
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

#### Background
We have [some code in our main `__init__.py`](https://github.com/alteryx/evalml/blob/main/evalml/__init__.py#L16) which suppresses warnings from `skopt`, as well as `FutureWarning`/`DeprecationWarning` and [one warning we started getting recently from pandas.](https://github.com/alteryx/evalml/blob/main/evalml/__init__.py#L22)

#### Problem
As a user of evalml, I want to use evalml in my software application, without evalml changing any global state like what warnings do or don't appear in the system. Maybe I want to see `FutureWarning`/`DeprecationWarning` or that pandas warning for my codebase.

#### Proposal
Let's try removing these warning suppressions and see what happens. Its possible later versions have cleared up the `skopt` warnings. We may want to take action based on some of the `FutureWarning`/`DeprecationWarning` issues which come up.

As for the pandas warning, that feels ok to leave in place. The question I have there is, where in our codebase is that warning being emitted? Can we change the way we use pandas instead to avoid that warning?

@christopherbunn @thehomebrewnerd FYI this is RE our conversation on #1358

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.