a044744884271f82465dfd2ddd04fe37870da51c,python/mxnet/ndarray/numpy/linalg.py,,lstsq,#Any#Any#Any#,74

Before Change


    if rcond is None:
        rcond = _np.finfo(a.dtype).eps
        new_default = True
    if rcond == "warn":
        rcond = -1
    x, residuals, rank, s = _npi.lstsq(a, b, rcond=rcond, new_default=new_default)
    return (x, residuals, rank, s)

After Change


    >>> m, c
    (1.0 -0.95) // may vary
    
    finfo_eps_32 = _np.finfo(_np.float32).eps
    finfo_eps_64 = _np.finfo(_np.float64).eps
    x, residuals, rank, s = _api_internal.lstsq(a, b, rcond, finfo_eps_32, finfo_eps_64)
    return (x, residuals, rank, s)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: apache/incubator-mxnet
Commit Name: a044744884271f82465dfd2ddd04fe37870da51c
Time: 2020-04-13
Author: 46704444+sjtuWangDing@users.noreply.github.com
File Name: python/mxnet/ndarray/numpy/linalg.py
Class Name:
Method Name: lstsq


Project Name: librosa/librosa
Commit Name: d9f36b1c8bb77f6829c51987ce310831730623ba
Time: 2019-12-27
Author: kogito@hotmail.fr
File Name: librosa/feature/inverse.py
Class Name:
Method Name: mfcc_to_mel


Project Name: mne-tools/mne-python
Commit Name: 544989c7ff9922e04bddad72c1b13156ce344ace
Time: 2019-02-15
Author: alexandre.gramfort@m4x.org
File Name: mne/rank.py
Class Name:
Method Name: _estimate_rank_from_s