Skip to content

Commit 9a36c23

Browse files
committed
Remove __future__ import
1 parent 2d2f51b commit 9a36c23

78 files changed

Lines changed: 0 additions & 142 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sklearn/_build_utils/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
# author: Andy Mueller, Gael Varoquaux
55
# license: BSD
66

7-
from __future__ import division, print_function, absolute_import
8-
97
import os
108

119
from distutils.version import LooseVersion

sklearn/calibration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#
88
# License: BSD 3 clause
99

10-
from __future__ import division
1110
import warnings
1211
from inspect import signature
1312

sklearn/cluster/birch.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr>
33
# Joel Nothman <joel.nothman@gmail.com>
44
# License: BSD 3 clause
5-
from __future__ import division
6-
75
import warnings
86
import numpy as np
97
from scipy import sparse

sklearn/cluster/k_means_.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# Robert Layton <robertlayton@gmail.com>
1212
# License: BSD 3 clause
1313

14-
from __future__ import division
1514
import warnings
1615

1716
import numpy as np

sklearn/cluster/optics_.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
License: BSD 3 clause
1111
"""
1212

13-
from __future__ import division
1413
import warnings
1514
import numpy as np
1615

sklearn/cluster/tests/test_optics.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Authors: Shane Grigsby <refuge@rocktalus.com>
22
# Amy X. Zhang <axz@mit.edu>
33
# License: BSD 3 clause
4-
5-
from __future__ import print_function, division
64
import numpy as np
75
import pytest
86

sklearn/cluster/tests/test_spectral.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"""Testing for Spectral Clustering methods"""
2-
from __future__ import division
3-
42
import numpy as np
53
from scipy import sparse
64

sklearn/compose/_column_transformer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
# Author: Andreas Mueller
77
# Joris Van den Bossche
88
# License: BSD
9-
from __future__ import division
10-
119
from itertools import chain
1210

1311
import numpy as np

sklearn/covariance/empirical_covariance_.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# License: BSD 3 clause
1111

1212
# avoid division truncation
13-
from __future__ import division
1413
import warnings
1514
import numpy as np
1615
from scipy import linalg

sklearn/covariance/robust_covariance.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
# Author: Virgile Fritsch <virgile.fritsch@inria.fr>
88
#
99
# License: BSD 3 clause
10-
from __future__ import division
11-
1210
import warnings
1311
import numbers
1412
import numpy as np

0 commit comments

Comments
 (0)