alteryx / alteryx/evalml

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

Ouverte
#1,368 0 commentaires 0 réactions 1 personne assignée Réclamée par @asniyaz Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
850
Forks
96
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

#### 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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.