Skip to content

Commit 484af27

Browse files
author
Guillaume Lemaitre
committed
Set the warnings filters
1 parent 9a9a808 commit 484af27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

imblearn/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
from six import string_types
2121

2222

23+
warnings.simplefilter('always', category=UserWarning)
24+
25+
2326
class SamplerMixin(six.with_metaclass(ABCMeta, BaseEstimator)):
2427

2528
"""Mixin class for samplers with abstact method.

0 commit comments

Comments
 (0)