0537b722ea3bd3740ebb53226214cd67d92f2913,tslearn/metrics.py,,itakura_mask,#Any#Any#Any#,391
Before Change
lower_bound[0] = min_slope * numpy.arange(sz2)
lower_bound[1] = ((sz1 - 1) - max_slope * (sz2 - 1)
+ max_slope * numpy.arange(sz2))
lower_bound = numpy.round(lower_bound, 2)
lower_bound = numpy.ceil(numpy.max(lower_bound, axis=0))
upper_bound = numpy.empty((2, sz2))
upper_bound[0] = max_slope * numpy.arange(sz2)
After Change
+ max_slope * numpy.arange(sz2))
lower_bound_ = numpy.empty(sz2)
for i in prange(sz2):
lower_bound_[i] = max(round(lower_bound[0, i], 2),
round(lower_bound[1, i], 2))
lower_bound_ = numpy.ceil(lower_bound_)
upper_bound = numpy.empty((2, sz2))
upper_bound[0] = max_slope * numpy.arange(sz2)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: rtavenar/tslearn
Commit Name: 0537b722ea3bd3740ebb53226214cd67d92f2913
Time: 2019-05-28
Author: johann.faouzi@icm-institute.org
File Name: tslearn/metrics.py
Class Name:
Method Name: itakura_mask
Project Name: interactiveaudiolab/nussl
Commit Name: b82419f321b3b52841065e00d1f50945d7e8a2ee
Time: 2020-03-16
Author: prem@u.northwestern.edu
File Name: nussl/separation/primitive/hpss.py
Class Name: HPSS
Method Name: run
Project Name: bokeh/bokeh
Commit Name: 5fcb0a09c968c82073f2326a68ec7001d03bea82
Time: 2015-09-07
Author: nroth@dealnews.com
File Name: bokeh/charts/stats.py
Class Name: Bins
Method Name: calc_num_bins
Project Name: etal/cnvkit
Commit Name: 29db4abdbeb839340ac5b0caf934ebda93892934
Time: 2017-02-24
Author: eric.talevich@gmail.com
File Name: scripts/coverage_bin_size.py
Class Name:
Method Name: print_table