Skip to content

Commit c02db3d

Browse files
author
Guillaume Lemaitre
committed
Remove unecessary import
1 parent 5c0d42f commit c02db3d

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

examples/under-sampling/plot_instance_hardness_threshold.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"""
99

1010
print(__doc__)
11-
import numpy as np
1211

1312
import matplotlib.pyplot as plt
1413
import seaborn as sns

unbalanced_dataset/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Module which provides helper methods.
1919
"""
2020

21-
from .version import _check_module_dependencies, __version__
21+
from .version import _check_module_dependencies
2222

2323
_check_module_dependencies()
2424

unbalanced_dataset/base_sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from collections import Counter
1313

14-
from sklearn.base import BaseEstimator, TransformerMixin
14+
from sklearn.base import BaseEstimator
1515
from sklearn.utils import check_X_y
1616
from sklearn.externals import six
1717

unbalanced_dataset/over_sampling/smote.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
from sklearn.utils import check_X_y
1010
from sklearn.utils import check_array
11-
from sklearn.neighbors import LSHForest
1211
from sklearn.neighbors import NearestNeighbors
1312
from sklearn.svm import SVC
1413

0 commit comments

Comments
 (0)