Permalink
Browse files

COSMIT removed unused imports

  • Loading branch information...
amueller committed Jan 23, 2012
1 parent 24477d4 commit 5c2a8696e3184fdb5e2ca5c55e61fe29ebd37fbb
@@ -20,7 +20,6 @@
from ..base import BaseEstimator
from ..base import RegressorMixin
-from ..base import ClassifierMixin
from ..base import TransformerMixin
from ..utils.extmath import safe_sparse_dot
from ..utils import array2d, as_float_array, safe_asarray
@@ -16,7 +16,7 @@
NeighborsBase, KNeighborsMixin,\
RadiusNeighborsMixin, SupervisedIntegerMixin
from ..base import ClassifierMixin
-from ..utils import atleast2d_or_csr, deprecated
+from ..utils import atleast2d_or_csr
class KNeighborsClassifier(NeighborsBase, KNeighborsMixin,
@@ -14,7 +14,7 @@
NeighborsBase, KNeighborsMixin, \
RadiusNeighborsMixin, SupervisedFloatMixin
from ..base import RegressorMixin
-from ..utils import atleast2d_or_csr, deprecated
+from ..utils import atleast2d_or_csr
class KNeighborsRegressor(NeighborsBase, KNeighborsMixin,
View
@@ -5,7 +5,7 @@
from . import libsvm, liblinear
from ..base import BaseEstimator
-from ..utils import array2d, atleast2d_or_csr
+from ..utils import atleast2d_or_csr
from ..utils.extmath import safe_sparse_dot
import warnings
View
@@ -1,14 +1,12 @@
from os.path import join
-import sys
import numpy
import warnings
def configuration(parent_package='', top_path=None):
from numpy.distutils.misc_util import Configuration
- from numpy.distutils.system_info import get_info, get_standard_file, \
- BlasNotFoundError
+ from numpy.distutils.system_info import get_info, BlasNotFoundError
config = Configuration('svm', parent_package, top_path)
@@ -1,9 +1,8 @@
import numpy as np
import scipy.sparse
-from ..base import BaseLibSVM, BaseLibLinear, LIBSVM_IMPL, _get_class_weight
+from ..base import BaseLibSVM, LIBSVM_IMPL, _get_class_weight
from . import libsvm
-from .. import liblinear
class SparseBaseLibSVM(BaseLibSVM):
View
@@ -4,7 +4,6 @@
# Authors: G. Varoquaux, A. Gramfort, A. Passos, O. Grisel
# License: BSD
-import warnings
import numpy as np
from scipy import linalg

0 comments on commit 5c2a869

Please sign in to comment.