We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 108caa9 commit 6b46df1Copy full SHA for 6b46df1
2 files changed
libmultilabel/linear/preprocessor.py
@@ -1,5 +1,6 @@
1
from __future__ import annotations
2
3
+import csv
4
import logging
5
import re
6
from array import array
@@ -12,8 +13,6 @@
12
13
from sklearn.feature_extraction.text import TfidfVectorizer
14
from sklearn.preprocessing import MultiLabelBinarizer
15
-import csv
16
-
17
__all__ = ['Preprocessor']
18
19
libmultilabel/nn/data_utils.py
@@ -1,3 +1,4 @@
import gc
import warnings
@@ -13,8 +14,6 @@
from torchtext.vocab import build_vocab_from_iterator, pretrained_aliases
from tqdm import tqdm
transformers.logging.set_verbosity_error()
warnings.simplefilter(action='ignore', category=FutureWarning)
20
0 commit comments