c29092d6994a43ea19a82e91c0331e8b7d6e7d36,sklearn/utils/fixes.py,,,#,36

Before Change


sp_version = _parse_version(scipy.__version__)


if sp_version >= (1, 4):
    from scipy.sparse.linalg import lobpcg
else:
    // Backport of lobpcg functionality from scipy 1.4.0, can be removed

After Change


sp_version = parse_version(scipy.__version__)


if sp_version >= parse_version("1.4"):
    from scipy.sparse.linalg import lobpcg
else:
    // Backport of lobpcg functionality from scipy 1.4.0, can be removed
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


Project Name: scikit-learn/scikit-learn
Commit Name: c29092d6994a43ea19a82e91c0331e8b7d6e7d36
Time: 2020-06-24
Author: hs-nazuna@users.noreply.github.com
File Name: sklearn/utils/fixes.py
Class Name:
Method Name:


Project Name: MolSSI/QCEngine
Commit Name: 3d17cfdc216a91fbdf481a8c9d40c70b5bdcd22e
Time: 2018-05-18
Author: malorian@me.com
File Name: qcengine/psi_compute.py
Class Name:
Method Name: run_psi4


Project Name: scikit-learn/scikit-learn
Commit Name: c29092d6994a43ea19a82e91c0331e8b7d6e7d36
Time: 2020-06-24
Author: hs-nazuna@users.noreply.github.com
File Name: sklearn/utils/tests/test_estimator_checks.py
Class Name:
Method Name: test_not_an_array_array_function


Project Name: scikit-learn/scikit-learn
Commit Name: c29092d6994a43ea19a82e91c0331e8b7d6e7d36
Time: 2020-06-24
Author: hs-nazuna@users.noreply.github.com
File Name: sklearn/utils/fixes.py
Class Name:
Method Name: _astype_copy_false


Project Name: scikit-learn/scikit-learn
Commit Name: c29092d6994a43ea19a82e91c0331e8b7d6e7d36
Time: 2020-06-24
Author: hs-nazuna@users.noreply.github.com
File Name: sklearn/utils/fixes.py
Class Name:
Method Name: _take_along_axis