Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé
Classe « suppress_warnings »

Méthode numpy.testing.suppress_warnings.filter

Signature de la méthode filter

def filter(self, category=<class 'Warning'>, message='', module=None) 

Description

help(suppress_warnings.filter)

Add a new suppressing filter or apply it if the state is entered.

Parameters
----------
category : class, optional
    Warning class to filter
message : string, optional
    Regular expression matching the warning message.
module : module, optional
    Module to filter for. Note that the module (and its file)
    must match exactly and cannot be a submodule. This may make
    it unreliable for external modules.

Notes
-----
When added within a context, filters are only added inside
the context and will be forgotten when the context is exited.


Vous êtes un professionnel et vous avez besoin d'une formation ? Calcul scientifique
avec Python
Voir le programme détaillé