2609d52df05be04ff1f964fcb2af156493570636,nt/speech_enhancement/mask_estimation.py,,quantile_mask,#Any#Any#Any#,114
Before Change
power = (observations * observations.conj())
sorted_power = np.sort(power, axis=None)[::-1]
lorenz_function = np.cumsum(sorted_power) / np.sum(sorted_power)
threshold = np.min(sorted_power[lorenz_function < lorenz_fraction])
mask = power > threshold
mask = 0.5 + weight * (mask - 0.5)
return mask
// TODO: Split characteristic does not work for certain cases (i.e. high_cut=199
// when the stft size is 400)
After Change
def quantile_mask(observations, lorenz_fraction=0.98, weight=0.999):
raise NotImplementedError(
"This function is gone. "
"See "nt.speech_enhancement.mask_module.lorenz_mask" "
"for a replacement."
)
def estimate_IBM(
X, N,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: fgnt/pb_bss
Commit Name: 2609d52df05be04ff1f964fcb2af156493570636
Time: 2016-08-22
Author: mail@lukas-drude.de
File Name: nt/speech_enhancement/mask_estimation.py
Class Name:
Method Name: quantile_mask
Project Name: SheffieldML/GPy
Commit Name: 96f189113ac037bbb709535c9c75997571c225f6
Time: 2013-10-15
Author: alan.daniel.saul@gmail.com
File Name: GPy/likelihoods/noise_models/gaussian_noise.py
Class Name: Gaussian
Method Name: _nlog_mass
Project Name: tensorflow/cleverhans
Commit Name: 1ff8c3da9838d71d3c5fbe91dcef50b160f5660c
Time: 2019-06-27
Author: papernot@google.com
File Name: cleverhans/future/jax/attacks/fast_gradient_method.py
Class Name:
Method Name: fast_gradient_method