8a3410a83519dbd1ac80c96783dc207185258c51,Orange/widgets/evaluate/owcalibrationplot.py,,gaussian_smoother,#Any#Any#Any#,209

Before Change


        W = a * numpy.exp(-gamma * ((xs - x) ** 2))
        return numpy.average(y, weights=W)

    return numpy.frompyfunc(smoother, 1, 1)


def main():
    import sip

After Change


        W = a * numpy.exp(-gamma * ((xs - x) ** 2))
        return numpy.average(y, weights=W)

    return numpy.vectorize(smoother, otypes=[numpy.float])


def main():
    import sip
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 8a3410a83519dbd1ac80c96783dc207185258c51
Time: 2017-06-14
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owcalibrationplot.py
Class Name:
Method Name: gaussian_smoother


Project Name: geomstats/geomstats
Commit Name: 299f945f93c1f5f6707abbb93405d006a2108fc7
Time: 2020-04-20
Author: ninamio78@gmail.com
File Name: geomstats/_backend/pytorch/linalg.py
Class Name:
Method Name: qr


Project Name: matplotlib/matplotlib
Commit Name: 34b8eb46e5de6b760bc131e461755042716e259d
Time: 2018-02-07
Author: story645@gmail.com
File Name: lib/matplotlib/category.py
Class Name: StrCategoryConverter
Method Name: convert