d7568fdd030839ef36c5f46eea8d772c459c742e,librosa/core/pitch.py,,pitch_tuning,#,95

Before Change


    // from the next tone up.
    residual[residual >= 0.5] -= 1.0

    bins = np.linspace(-0.5, 0.5, np.ceil(1./resolution), endpoint=False)

    counts, tuning = np.histogram(residual, bins)

After Change


    // from the next tone up.
    residual[residual >= 0.5] -= 1.0

    bins = np.linspace(-0.5, 0.5, int(np.ceil(1./resolution)), endpoint=False)

    counts, tuning = np.histogram(residual, bins)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 12

Non-data size: 3

Instances


Project Name: librosa/librosa
Commit Name: d7568fdd030839ef36c5f46eea8d772c459c742e
Time: 2017-02-02
Author: acelhj@naver.com
File Name: librosa/core/pitch.py
Class Name:
Method Name: pitch_tuning


Project Name: hachmannlab/chemml
Commit Name: 5958912a9107ad7423ce1395aa84a467f16e3eb6
Time: 2019-01-25
Author: mojtabah@buffalo.edu
File Name: chemml/search/genetic_algorithm.py
Class Name: GeneticAlgorithm
Method Name: search


Project Name: invesalius/invesalius3
Commit Name: 9d673a4694047ef68d9e5c9ba4c43e75f06bf2df
Time: 2017-05-30
Author: totonixsame@gmail.com
File Name: invesalius/data/imagedata_utils.py
Class Name:
Method Name: dcm2memmap


Project Name: suavecode/SUAVE
Commit Name: 92ffaf5bd5c47b2eae51778f58693f19d6a6e13a
Time: 2017-09-08
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Methods/Missions/Segments/Climb/Constant_Speed_Constant_Angle_Noise.py
Class Name:
Method Name: expand_state


Project Name: bearpaw/pytorch-pose
Commit Name: 6f1966e70eb75f8c3f15943f770c7a5780e2373b
Time: 2017-08-01
Author: platero.yang@gmail.com
File Name: pose/utils/imutils.py
Class Name:
Method Name: sample_with_heatmap


Project Name: google/unrestricted-adversarial-examples
Commit Name: f5248ea6ad2f44f7fa058d43a6c7cc62bf9edaa1
Time: 2018-09-19
Author: nottombrown@gmail.com
File Name: unrestricted-advex/unrestricted_advex/eval_kit.py
Class Name:
Method Name: evaluate_two_class_unambiguous_model


Project Name: khaotik/DaNet-Tensorflow
Commit Name: 5cf872829d38f4948f92bd8c6148ef996b89ac73
Time: 2017-08-06
Author: junkkhaotik@gmail.com
File Name: app/datasets/WSJ0/process.py
Class Name:
Method Name: load_file


Project Name: librosa/librosa
Commit Name: 0b72d380067a9da2e17a18be4f6df473ff00050b
Time: 2015-10-10
Author: zryuichi@gmail.com
File Name: librosa/filters.py
Class Name:
Method Name: constant_q


Project Name: LCAV/pyroomacoustics
Commit Name: cb3464e08385c2f6610483b8ea2553242b3a0fc9
Time: 2017-07-16
Author: fakufaku@gmail.com
File Name: pyroomacoustics/beamforming.py
Class Name:
Method Name: spiral_2D_array


Project Name: google/unrestricted-adversarial-examples
Commit Name: f5248ea6ad2f44f7fa058d43a6c7cc62bf9edaa1
Time: 2018-09-19
Author: nottombrown@gmail.com
File Name: unrestricted-advex/unrestricted_advex/mnist_baselines/mnist_utils.py
Class Name:
Method Name: two_class_iter


Project Name: PyMVPA/PyMVPA
Commit Name: 73109dbd4923fcb8b5db59e1b9f906109590fa32
Time: 2017-11-01
Author: debian@onerussian.com
File Name: mvpa2/tests/test_surfing_surface.py
Class Name: SurfingSurfaceTests
Method Name: set_nan_to_surface_vertices


Project Name: oddt/oddt
Commit Name: 33f5e0f95a3242ae9e7782222ef41095f5a8d888
Time: 2015-03-02
Author: maciek@wojcikowski.pl
File Name: oddt/metrics.py
Class Name:
Method Name: enrichment_factor